body {
    font-family: 'Vazir', 'Inter', sans-serif;
    line-height: 1.8;
    font-size: 16px;
    color: #1e293b;
}

.navbar-brand img {
    height: 60px;
    object-fit: contain;
}

.navbar-brand span {
    color: #003c70;
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.request-section {
    background: linear-gradient(to right, #f8f9fa, #fff);
}

.form-wrapper {
    border-left: 4px solid #003c70;
}

.ground-box {
    display: flex;
    min-height: 400px;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    background: linear-gradient(to bottom right, #003c70, #007bff);
}

.carousel img {
    height: 100%;
    max-height: 480px;
    object-fit: cover;
    border-radius: 12px;
}

@media (max-width: 992px) {
    .form-wrapper {
        border-left: none;
        border-top: 4px solid #0d6efd;
    }

    .carousel img {
        max-height: 320px;
    }
}

/* Typography */
.hero-title {
    font-size: 1.8rem;
    font-weight: 500;
}

.hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.hero-card, .hero-media {
    display: flex;
    flex-direction: column;
}

.hero-media .ratio {
    height: 100%;
}

/* Sections */
.services-section, .why-section, .process-section, .brands-section, .cta-banner {
    background: #f8fafc;
}

.brands-section {
    height: 200px;
!important;
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    position: relative;
}

.section-heading::before,
.section-heading::after {
    content: "";
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, #003c70, #22c7b7);
    opacity: 0.6;
}


.section-title {
    color: #003c70;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.5rem;
}


.section-subtitle {
    color: #5f6b7a;
    max-width: 720px;
    margin: 0 auto;
}

@media (max-width: 992px) {
    .section-title {
        font-size: 1.6rem;
    }
}

/* Cards */
.service-card, .why-card, .process-card, .cta-card {
    background: #fff !important;
    border: 1px solid #eef2f7;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.service-card:hover, .why-card:hover, .process-card:hover, .cta-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    border-color: #e3ebf3;
}

.service-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #003c70 0%, #22c7b7 100%);
    box-shadow: 0 6px 16px rgba(34, 199, 183, 0.25);
}

.service-icon {
    font-size: 26px;
    color: #fff;
}

.why-icon {
    color: #003c70 !important;
    font-size: 26px;
}

.badge-soft-teal {
    background: rgba(34, 199, 183, 0.12);
    color: #0b3e54;
    border: 1px solid rgba(34, 199, 183, 0.28);
}

.service-card .link-primary {
    color: #003c70;
}

.service-card .link-primary:hover {
    color: #022c50;
    text-decoration: underline;
}

/* More link */
.more-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 40px;
    line-height: 40px;
    cursor: pointer;
    font-weight: 200;
    text-decoration: none;
    border: 2px solid #003c70;
    color: #0d6efd;
}

.more-link:hover {
    color: #003c70;
    border-color: transparent !important;
}

/* Process steps */
.process-step .process-badge {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, #003c70 0%, #22c7b7 100%);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 6px 16px rgba(34, 199, 183, 0.25);
}


.btn-primary {
    background: #22c7b7;
    border: none !important;
    color: #fff;
    font-weight: 600;
    border-radius: 0.75rem;
    padding: 0.6rem 1.4rem;
    transition: all 0.25s ease;
    box-shadow: 0 4px 10px rgba(34, 199, 183, 0.25);
}

.btn-primary:hover {
    background: #33d6c6; /* روشن‌تر از رنگ اصلی */
    box-shadow: 0 8px 20px rgba(51, 214, 198, 0.35);
    transform: translateY(-2px) scale(1.03);
}

.btn-primary:active {
    background: #1ca89c;
    transform: scale(0.97);
    box-shadow: 0 3px 8px rgba(28, 168, 156, 0.25);
}

.btn-outline-primary {
    background: #ffffff;
    color: #003c70;
    border: 2px solid #22c7b7;
    font-weight: 600;
    border-radius: 0.75rem;
    padding: 0.6rem 1.4rem;
    transition: all 0.25s ease;
}

.btn-outline-primary:hover {
    background: #ffffff; /* خیلی لطیف و روشن */
    border-color: #003c70;
    color: #003c70;
    box-shadow: 0 6px 18px rgba(34, 199, 183, 0.25);
    transform: translateY(-2px);
}

.btn-outline-primary:active {
    background: #d0f8f5;
    transform: scale(0.97);
}

.section-subtitle {
    color: #5f6b7a;
    max-width: 720px;
    margin: 0 auto;
}

.h2-lg {
    font-size: 2rem;
}

/* ~32px دسکتاپ */

/* 🌐 لینک‌ها و شبکه اجتماعی */
.footer-link {
    color: #000;
    text-decoration: none;
    display: block;
    margin-bottom: .5rem;
    transition: .3s;
}

.footer-link:hover {
    color: #0d6efd;
    padding-left: 5px;
}

.social-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    font-size: 1.2rem;
    transition: .3s ease;
}

.social-icon:hover {
    color: #fff;
    transform: scale(1.1);
}

/* 🏢 کارت شرکت */
.company-card {
    border-color: #e6eef6 !important;
    background: #fff;
}

.company-card:hover {
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.08);
}

.company-logo {
    width: 60px;
    height: 60px;
    border-radius: 15px;
}

.company-logo.placeholder {
    display: grid;
    place-items: center;
    background: #f1f5f9;
    color: #64748b;
    font-weight: 800;
}

/* 📌 تجربه کاری (تایم‌لاین) */
.experiences {
    position: relative;
}

.exp-line {
    border: 1px solid #eef2f7 !important;
    background: #f8fafc;
    position: relative;
}

.exp-line::before {
    content: "";
    position: absolute;
    right: 18px;
    top: -12px;
    bottom: -12px;
    width: 2px;
    background: linear-gradient(180deg, #003c70 0%, rgba(34, 199, 183, .6) 100%);
    opacity: .12;
    border-radius: 2px;
}

.exp-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, #003c70 0%, #22c7b7 100%);
    box-shadow: 0 0 0 4px rgba(34, 199, 183, .15);
}

/* 📂 پروژه */
.project-mini {
    border-color: #eef2f7 !important;
    background: #fff;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}

.project-mini:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, .07);
    border-color: #e3ebf3 !important;
}

/* 🏷️ Badge نرم */
.badge-soft-teal {
    background: rgba(34, 199, 183, .12);
    color: #0b3e54;
    border: 1px solid rgba(34, 199, 183, .28);
}

/* 📰 بخش فید */
.experience-section, .feed-section {
    background: #f8fafc !important;
}

.service-section, .feed-section {
    background: #f8fafc !important;
}

.post-card {
    border: 1px solid #e6eef6;
    transition: box-shadow .2s ease, transform .2s ease;
}

.post-card:hover {
    box-shadow: 0 12px 28px rgba(0, 0, 0, .08);
    transform: translateY(-2px);
}

.post-card .btn-light:hover {
    background: #f1f5f9;
}

/* 🔍 سرچ بار */
.search-wrap {
    background: #fff;
    border: 1px solid #e6eef6;
    backdrop-filter: saturate(140%) blur(2px);
    border-radius: 20px;
}

@media (max-width: 768px) {
    .search-wrap {
        border-radius: 16px;
    }
}

.search-input {
    background: #f8fafc;
    border: 1px solid #e8eff6;
    transition: border-color .2s, box-shadow .2s, background .2s;
}

.search-input:focus-within {
    background: #fff;
    border-color: #bcd3e8;
    box-shadow: 0 8px 22px rgba(0, 60, 112, .08);
}

.search-input .search-ico {
    color: #7a8a9a;
}

.search-input input::placeholder {
    color: #9aa7b3;
}

.btn-clear {
    color: #8b99a6;
    padding: .25rem .5rem;
    border: 0;
    background: transparent;
}

.btn-clear:hover {
    color: #003c70;
}

/* تاریخ */
.date-chip {
    background: #f8fafc;
    border: 1px solid #e8eff6;
}

.date-chip:focus-within {
    background: #fff;
    border-color: #bcd3e8;
    box-shadow: 0 8px 22px rgba(0, 60, 112, .08);
}

/* دکمه‌ها */
.btn-outline-primary {
    color: #003c70;
    border-color: #bcd3e8;
}

.btn-filter {
    background: #003c70;
    color: #fff;
    border: 1px solid #003c70;
    border-radius: 10rem;
    padding: .5rem .9rem;
    font-weight: 600;
}

.btn-filter:hover {
    opacity: .95;
}

.btn-reset {
    background: #fff;
    color: #003c70;
    border: 1px solid #cfe0ef;
    border-radius: 10rem;
    padding: .5rem .9rem;
    font-weight: 600;
}

.btn-reset:hover {
    background: #f2f7fb;
}

/* 🤝 همکاری */
.collab-hero {
    background: #f8fafc;
}

.path-ico {
    width: 44px;
    height: 44px;
    display: inline-grid;
    place-items: center;
    border-radius: 12px;
    background: #f1f6fb;
    color: #003c70;
    font-size: 18px;
}

.step-badge {
    width: 36px;
    height: 36px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    background: #003c70;
    color: #fff;
    margin: 0 auto 8px;
    font-weight: 700;
}

.form-card .form-label {
    color: #4d5b69;
}

.form-card .form-control, .form-card .form-select {
    background: #f8fafc;
    border: 1px solid #e8eff6;
}

.form-card .form-control:focus, .form-card .form-select:focus {
    background: #fff;
    border-color: #bcd3e8;
    box-shadow: 0 8px 22px rgba(0, 60, 112, .08);
}

.bg-light-subtle {
    background: #f6f9fc;
}

/* ⏳ تایم‌لاین ساده */
.timeline {
    position: relative;
    padding: .25rem 0;
}

.timeline::before {
    content: "";
    position: absolute;
    inset: 0 50% 0 auto;
    width: 2px;
    background: #e6eef6;
}

.tl-item {
    position: relative;
    padding: .75rem 0;
}

.tl-dot {
    position: absolute;
    right: calc(50% - 6px);
    top: 14px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #003c70;
    box-shadow: 0 0 0 4px #f8fafc;
}

.tl-content {
    background: #fff;
    border: 1px solid #e6eef6;
    border-radius: 16px;
    padding: .9rem 1rem;
    margin-right: calc(50% + 16px);
}

@media (max-width: 992px) {
    .timeline::before {
        right: 12px;
    }

    .tl-dot {
        right: 6px;
    }

    .tl-content {
        margin-right: 28px;
    }
}

.hero-media img {
    border-radius: 0 !important; /* حذف هرگونه گردی */
}

.navbar .nav-link.active {
    color: #003c70 !important; /* رنگ برند */
    font-weight: 700; /* بولدتر بشه */
    position: relative; /* برای خط زیر */
    transition: all 0.3s ease;
}

/* خط زیر آیتم فعال */
.navbar .nav-link.active::after {
    content: "";
    position: absolute;
    bottom: -6px; /* فاصله از متن */
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #003c70, #22c7b7);
    border-radius: 2px;
}

.brand-logo-wrap {
    justify-content: center;
    align-items: center;
    background: #fff;
    text-align: center;
    padding: 12px;
}

.brand-logo {
    max-height: 60px; /* سایز لوگوها */
    opacity: 0.7;
    filter: grayscale(100%); /* حرفه‌ای‌تر میشه */
    transition: filter 0.3s ease;
}

.brand-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.05);
}

.service-card {
    border-color: #e6eef6 !important;
    background: #fff;
}

.availability-card {
    background: #fff;
    border: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease-in-out;
}

.availability-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

.availability-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 40px;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

/* افکت پالس */
.availability-badge::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    transform: translate(-50%, -50%);
    background: inherit;
    opacity: 0.6;
    z-index: -1;
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.4);
        opacity: 0;
    }
}

/* حالت‌ها */
.status-available {
    background: linear-gradient(135deg, #16a34a, #22c55e);
}

.status-busy {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
}

.status-sleep {
    background: linear-gradient(135deg, #64748b, #94a3b8);
}

.status-travel {
    background: linear-gradient(135deg, #0ea5e9, #38bdf8);
}

.status-off {
    background: linear-gradient(135deg, #dc2626, #ef4444);
}

.availability-icon {
    font-size: 1.2rem; /* اندازه مناسب */
    margin-left: 8px;
    transition: all 0.3s ease-in-out;
}

/* آماده همکاری */
.status-available.availability-icon {
    color: #16a34a;
    text-shadow: 0 0 8px rgba(22, 163, 74, 0.6);
}

/* مشغول */
.status-busy.availability-icon {
    color: #f59e0b;
    text-shadow: 0 0 8px rgba(245, 158, 11, 0.6);
}

/* استراحت */
.status-sleep.availability-icon {
    color: #64748b;
    text-shadow: 0 0 8px rgba(100, 116, 139, 0.5);
}

/* سفر */
.status-travel.availability-icon {
    color: #0ea5e9;
    text-shadow: 0 0 8px rgba(14, 165, 233, 0.5);
}

/* عدم دسترسی */
.status-off.availability-icon {
    color: #dc2626;
    text-shadow: 0 0 8px rgba(220, 38, 38, 0.6);
}

/* افکت هاور */
.availability-icon:hover {
    transform: scale(1.2) rotate(5deg);
}

.post-metrics {
    font-size: 0.85rem;
    color: #333;
}

.action-btn {
    padding: 6px 12px;
    display: flex;
    gap: 6px;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-weight: 200;
    text-decoration: none;
    border: 2px solid #003c70;
    transition: all 0.2s;
}

.action-btn.view-btn {
    cursor: default !important;
}

.action-btn.like-btn {
    background: transparent!important;
}

.action-btn.like-btn i {
    color: #adb5bd;
}

.action-btn.view-btn i {
    color: #adb5bd;
}


.action-btn.comment-btn i {
    color: #adb5bd;
}

.action-btn.share-btn i {
    color: #003c70;
}

.action-btn.like-btn:hover i {
    transition: 0.2s;
}

.action-btn.like-btn:hover {
    border-color: transparent;
    color: white !important;
    background-color: #dc3545 !important;

}


.action-btn.share-btn:hover {
    border-color: transparent;

}

.action-btn.comment-btn:hover {
    border-color: transparent;
}

.action-btn.like-btn.liked {
    color: white !important;
    background-color: #dc3545 !important;
    border-color: transparent;

}


.vision-card {
    scroll-snap-align: center; /* مرکز چین شدن کارت‌ها */
    transition: transform 0.3s ease-in-out; /* انیمیشن برای حس بهتر */
    flex: 0 0 80%; /* هر کارت دقیقاً اندازه کل عرض صفحه */
    padding: 2rem;
    box-sizing: border-box;
}

.vision-card:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: 2px solid #003c70 !important
}

.code-card {
    transition: all 0.3s ease;
}

.code-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

pre {
    background: rgba(255, 255, 255, 0.05);
    padding: 10px;
    border-radius: 10px;
    overflow-x: auto;
    font-size: 0.9rem;
}

.skeleton .placeholder {
    background-color: #e6e6e6;
    height: 1rem;
    border-radius: 4px;
}

.like-btn i.text-danger {
    color: #e63946 !important;
    transition: 0.2s;
}

.tag-link {
    color: #003c70 ;
    padding: 6px 12px;
    display: inline-flex; /* flex اما اندازه‌ش به محتوای داخل */
    gap: 6px;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-weight: 400;
    text-decoration: none;
    border: 2px solid #003c70 ;
    transition: all 0.2s;
}


.tag-link:hover {
    color: #003c70;
    background: transparent!important;
    border: none ;

}


.tag-link.active {
    color: white!important;
    background: #003c70;
    border: none ;

}


.tag-link.active:hover {
    color: #003c70!important;
    background: transparent;
    border: none ;

}

.post-popup {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1050;
}

.post-popup .popup-content {
    background: #fff;
    max-height: 90vh;
    overflow: hidden;
}

.post-popup .popup-media {
    flex: 1;
    max-width: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.post-popup .popup-details {
    flex-shrink: 0;
    overflow-y: auto;
}

/* fade-in cards */
.fade-in {
    opacity: 0;
    transform: translateY(10px);
    animation: fadeUp .4s ease forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* popup animation */
#postPopup {
    opacity: 0;
    transition: opacity .3s ease;
}

#postPopup.show {
    opacity: 1;
}

/* toast animation */
#toast {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    padding: .6rem 1.2rem;
    border-radius: .75rem;
    opacity: 0;
    z-index: 9999 !important;
    transform: translateY(20px);
    transition: all .3s ease;
}

#toast.show {
    opacity: 1;
    transform: translateY(0);
}

#commentPopup {
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity .3s ease;
    backdrop-filter: blur(3px);
}

#commentPopup.show {
    opacity: 1;
}

#commentPopup .popup-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
}

#commentPopup .popup-box {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    animation: slideUp .3s ease forwards;
}

@keyframes slideUp {
    from {
        transform: translateY(40px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.comment-item {
    background: #f8fafc;
    transition: background .2s;
}

.comment-item:hover {
    background: #eef9f8;
}

.reply-btn {
    color: #22c7b7 !important;
}

#toast.show {
    opacity: 1;
}

.tags-list {
    display: flex;
    flex-wrap: wrap; /* اجازه بده وقتی عرض کم شد برن خط بعد */
}

.tag-btn {
    padding: 6px 12px;
    display: inline-flex; /* flex اما اندازه‌ش به محتوای داخل */
    gap: 6px;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-weight: 400;
    text-decoration: none !important;
    border: 2px solid #003c70 !important;
    color: #003c70 !important;
    transition: all 0.2s;
}


.tag-btn:hover {
    border-color: transparent !important;
}

.tag-pill {
    padding: 6px 6px;
    display: inline-flex; /* flex اما اندازه‌ش به محتوای داخل */
    gap: 3px;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-weight: 400;
    text-decoration: none !important;
    color: #003c70 !important;
    transition: all 0.2s;
}
