        :root {
            --primary-color: #336699;
            --secondary-color: #34495E;
            --accent-color: #3498DB;
            --light-bg: #ECF0F1;
        }
        
        * {
            font-family: 'Vazir', sans-serif;
        }
        
        body {
			margin: 0;
			min-height: 100vh;
			font-family: Vazir, Tahoma, sans-serif;
			background: radial-gradient(circle at top, #f8fbff 0%, #f1f5f9 45%, #eaf0f7 100%);
			overflow-x: hidden;
			position: relative;
		}
        
        /* Navbar */
        .navbar {
            background-color: var(--primary-color) !important;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }
        
        .navbar-brand {
            font-weight: bold;
            font-size: 1.5rem;
            color: #fff !important;
        }
        
        .nav-link {
            color: #fff !important;
            margin: 0 10px;
            transition: color 0.3s;
        }
        
        .nav-link:hover {
            color: var(--accent-color) !important;
        }
		
		.navbar .nav-link.active {
			color: #ffffff !important;
			font-weight: 700;
			border-bottom: 2px solid #ffffff;
		}
        
        /* Hero Section */
		#heroSlider .carousel-item img {
		  height: 50vh;       /* ارتفاع دلخواه، کم یا زیادش کن */
		  object-fit: cover;  /* برای جلوگیری از کش اومدن تصویر */
		  width: 100%;
		}

		@media (max-width: 768px) {
		  #heroSlider .carousel-item img {
			height: 35vh;
		  }
		}
		
		#heroSlider .carousel-item {
		  position: relative;
		}

		#heroSlider .carousel-caption-custom {
		  position: absolute;
		  /* Change left to right */
		  right: 10%; 
		  top: 50%;
		  transform: translateY(-50%);
		  z-index: 10;
		  color: #fff;
		  max-width: 600px;
		  /* Align text to the right if you want the text itself right-aligned */
		  text-align: right; 
		  animation: fadeInUp 1s ease-in-out 0.5s forwards;
		  opacity: 0; 
		}
		#heroSlider .carousel-caption-custom h2 {
		  font-size: 3rem;
		  font-weight: 700;
		  margin-bottom: 10px;
		  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
		}

		#heroSlider .carousel-caption-custom p {
		  font-size: 1.2rem;
		  line-height: 1.7;
		  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
		}

		@keyframes fadeInUp {
		  from {
			opacity: 0;
			transform: translateY(20px);
		  }
		  to {
			opacity: 1;
			transform: translateY(-50%);
		  }
		}

		@media (max-width: 768px) {
		  #heroSlider .carousel-caption-custom {
			left: 50%;
			top: 55%;
			transform: translate(-50%, -50%);
			text-align: center;
			width: 90%;
		  }

		  #heroSlider .carousel-caption-custom h2 {
			font-size: 1.8rem;
		  }

		  #heroSlider .carousel-caption-custom p {
			font-size: 1rem;
		  }
		}

		.footer-social {
    margin-top: 20px;
}

.footer-social-title {
    color: #fff;
    font-size: 15px;
    margin-bottom: 12px;
    font-weight: 600;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.social-link {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    transition: all 0.3s ease;
    font-size: 18px;
}

.social-link:hover {
    transform: translateY(-4px);
    color: #fff;
    box-shadow: 0 8px 18px rgba(0,0,0,0.25);
}

/* رنگ اختصاصی هر شبکه */
.social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    border-color: transparent;
}

.social-link.linkedin:hover {
    background: #0a66c2;
    border-color: #0a66c2;
}

.social-link.telegram:hover {
    background: #229ED9;
    border-color: #229ED9;
}

.social-link.whatsapp:hover {
    background: #25D366;
    border-color: #25D366;
}
/* افکت اختصاصی هاور برای بله */
.social-link.bale:hover {
    background: linear-gradient(45deg, #2d2d6f, #3ddaa5);;
    border-color: transparent;
}
.social-link.bale img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    display: block;
}

/* تراز وسط کردن SVG داخل دکمه */
.social-link svg {
    fill: currentColor;
    display: inline-block;
    vertical-align: middle;
    transition: fill 0.3s ease;
}

        .hero {
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
            color: white;
            padding: 100px 0;
            text-align: center;
        }
        
        .hero h1 {
            font-size: 3rem;
            font-weight: bold;
            margin-bottom: 20px;
        }
        
        .hero p {
            font-size: 1.3rem;
            margin-bottom: 30px;
        }
		
		.clients-section {
    background: #f8f9fa;
    overflow: hidden;
}

.clients-slider {
    overflow: hidden;
    width: 100%;
    position: relative;
    direction: ltr;
    padding-top: 40px;
}

.clients-track {
    display: flex;
    width: max-content;
    animation: clients-scroll 150s linear infinite;
    will-change: transform;
}

.clients-track:hover {
    animation-play-state: paused;
}

.client-item {
    position: relative;
    flex: 0 0 auto;
    width: 180px;
    margin: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-item img {
    max-width: 100%;
    max-height: 120px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.client-item img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.client-item::after {
    content: attr(data-name);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 10px;
    background: rgba(33, 37, 41, 0.95);
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    line-height: 1.4;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: 0.25s ease;
    pointer-events: none;
    z-index: 20;
}

.client-item::before {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: -2px;
    border-width: 6px;
    border-style: solid;
    border-color: rgba(33, 37, 41, 0.95) transparent transparent transparent;
    opacity: 0;
    visibility: hidden;
    transition: 0.25s ease;
    z-index: 20;
}

.client-item:hover::after,
.client-item:hover::before {
    opacity: 1;
    visibility: visible;
}

@keyframes clients-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}



	.about-banner {
		max-height: 20px;         /* height of gray strip */
		display: flex;
		align-items: center;       /* vertical center */
		justify-content: center;   /* horizontal center */
		padding: 40px;
	}

	.about-banner .section-title {
		margin-bottom: 0;
	}

	.about-banner h4 {
		margin: 0;
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 10px;
	}
	
	.footer-map-container {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-map-container iframe {
    display: block;
    filter: grayscale(10%) contrast(1.1); /* کمی فیلتر برای هماهنگی با تم سرمه‌ای فوتر */
    transition: filter 0.3s ease;
}

.footer-map-container iframe:hover {
    filter: none; /* در حالت هاور رنگ نقشه کاملاً طبیعی می‌شود */
}

/* هماهنگی آیکون‌های اطلاعات تماس */
footer p i {
    font-size: 1.1rem;
    vertical-align: middle;
    margin-left: 5px; /* فاصله برای زبان فارسی (راست‌چین) */
}


		


        
        .btn-custom {
            background-color: var(--accent-color);
            color: white;
            padding: 12px 30px;
            border-radius: 5px;
            border: none;
            font-size: 1.1rem;
            transition: transform 0.3s;
        }
        
        .btn-custom:hover {
            transform: translateY(-3px);
            background-color: #2980B9;
        }
        
        /* Section Styles */
        section {
            padding: 80px 0;
        }
        
        .section-title {
            text-align: center;
            margin-bottom: 50px;
            color: var(--primary-color);
        }
        
        .section-title h2 {
            font-size: 2.5rem;
            font-weight: bold;
            margin-bottom: 15px;
        }
        
        .section-title p {
            color: #7F8C8D;
            font-size: 1.1rem;
        }
        
        /* Cards */
        .card {
            border: none;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            transition: transform 0.3s;
            height: 100%;
        }
        
        .card:hover {
            transform: translateY(-10px);
        }
        
        .card-icon {
            font-size: 3rem;
            color: var(--accent-color);
            margin-bottom: 20px;
        }
        
        .card-title {
            color: var(--primary-color);
            font-weight: bold;
        }
        
        /* About Section */
        .about-bg {
            background-color: var(--light-bg);
        }
        
        /* Software Section */
        .software-item {
            text-align: center;
            padding: 30px;
            background: white;
            border-radius: 10px;
            margin-bottom: 20px;
        }
        
        .software-item i {
            font-size: 3rem;
            color: var(--secondary-color);
        }
        
        /* Contact Form */
        .form-control {
            border-radius: 5px;
            padding: 12px;
            border: 1px solid #ddd;
        }
        
        .form-control:focus {
            border-color: var(--accent-color);
            box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
        }
        
        /* Footer */
        footer {
            background-color: var(--primary-color);
            color: white;
            padding: 40px 0 20px;
        }
        
        footer a {
            color: white;
            text-decoration: none;
        }
        
        footer a:hover {
            color: var(--accent-color);
        }
        
        .social-icons a {
            font-size: 1.5rem;
            margin: 0 10px;
        }

/* ============================
   ABOUT PAGE - PAGE HEADER
============================ */
.page-header {
    background: linear-gradient(135deg, #1e5799 0%, #2989d8 50%, #207cca 100%);
	color: #fff;
    padding: 15px 0;
    text-align: center;
    position: relative;
 }
 .page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
 }
.page-header::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
}

.page-header p {
    font-size: 1.05rem;
    opacity: 0.9;
    margin-bottom: 0;
}



/* ============================
   LEAD TEXT
============================ */
.lead-text {
    font-size: 1.1rem;
    line-height: 2.1;
    color: #444;
    text-align: justify;
    background: #f8f9fb;
    border-right: 4px solid #2d6cb5;
    padding: 25px 30px;
    border-radius: 10px;
}

/* ============================
   ABOUT CARDS
============================ */
.about-box {
    background: #fff;
    border-radius: 14px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid #eef0f4;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.about-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.09);
}

.about-box h4 {
    font-weight: 700;
    font-size: 1.2rem;
    color: #1a3b63;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f2f5;
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-box h4 i {
    font-size: 1.4rem;
}

.about-box p {
    color: #555;
    line-height: 2;
    text-align: justify;
    margin-bottom: 14px;
}

/* ============================
   ABOUT LIST
============================ */
.about-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
    color: #444;
    line-height: 1.8;
}

.about-list li:last-child {
    border-bottom: none;
}

.about-list li i {
    color: #2d6cb5;
    font-size: 1.1rem;
    margin-top: 3px;
    flex-shrink: 0;
}

/* ============================
   GALLERY
============================ */
.gallery-thumb {
    width: 100%;
    height: 140px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.gallery-thumb:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}

/* ============================
   LOGO COMPARE
============================ */
.logo-compare {
    max-height: 120px;
    object-fit: contain;
    padding: 15px;
    background: #f8f9fb;
    border-radius: 12px;
    border: 1px solid #eef0f4;
}

/* ============================
   MANAGEMENT CARD
============================ */
.management-card {
    max-width: 320px;
}

.management-photo {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 4px solid #f0f2f5;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* ============================
   RESPONSIVE TWEAKS
============================ */
@media (max-width: 768px) {
    .page-header h1 { font-size: 1.7rem; }
    .about-box { padding: 22px; }
    .lead-text { padding: 18px 20px; font-size: 1rem; }
}

.employer-card-wrapper {
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* وقتی کارتی پیدا نمی‌شود، علاوه بر display، شفافیت آن هم کم شود */
.employer-card-wrapper[style*="display: none"] {
    opacity: 0;
    transform: scale(0.9);
}

.alert {
    border-radius: 16px;
    padding: 16px 18px;
    font-size: 0.98rem;
    line-height: 2;
}

.alert ul {
    margin-bottom: 0;
}

.alert li {
    margin-bottom: 4px;
}

/* استایل کادر قرمز برای فیلدهای دارای خطا */
.form-control.input-error {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

/* استایل پیام متنی خطا زیر فیلد */
.error-text {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 5px;
    display: block;
    text-align: right;
}
/* فونت فارسی برای پنجره‌های SweetAlert */
        .swal2-popup {
            font-family: Vazir, sans-serif !important;
            border-radius: 16px !important;
        }

.tech-network-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

/* هاله‌های نوری بزرگ‌تر در پس‌زمینه برای افزایش بعد */
.tech-network-bg::before {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    top: -150px;
    left: -120px;
    border-radius: 50%;
    background: rgba(13, 110, 253, 0.09);
    filter: blur(100px);
}

.tech-network-bg::after {
    content: "";
    position: absolute;
    width: 700px;
    height: 700px;
    bottom: -200px;
    right: -120px;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.08);
    filter: blur(110px);
}

/* =========================
   NETWORK CLUSTERS
========================= */
.network-cluster {
    position: absolute;
    width: 500px;
    height: 750px;
}

.left-cluster {
    top: 2%;
    left: -80px;
    animation: driftLeft 26s ease-in-out infinite alternate;
}

.right-cluster {
    bottom: 2%;
    right: -80px;
    animation: driftRight 30s ease-in-out infinite alternate;
}

/* =========================
   SVG GRAPHICS & COHESION
========================= */
.net-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

/* خطوط اصلی شبکه */
.net-path {
    fill: none;
    stroke: rgba(13, 110, 253, 0.13);
    stroke-width: 1.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 6 6;
    animation: dashOffset 40s linear infinite;
}

/* خطوط متقاطع ثانویه */
.net-path.alt {
    stroke: rgba(99, 102, 241, 0.11);
    stroke-width: 1;
    stroke-dasharray: 2 6;
}

/* خطوط نازک و فرعی برای افزایش جزئیات */
.net-path.sub {
    stroke: rgba(15, 23, 42, 0.05);
    stroke-width: 0.8;
    stroke-dasharray: 1 4;
}

/* گره‌ها (قرار گرفته دقیقاً روی مفاصل) */
.joint-node {
    fill: #0d6efd;
    opacity: 0.38;
    filter: drop-shadow(0 0 5px rgba(13, 110, 253, 0.4));
    transform-origin: center;
}

.joint-node.accent {
    fill: #6366f1;
    opacity: 0.45;
    filter: drop-shadow(0 0 6px rgba(99, 102, 241, 0.5));
}

.joint-node.small {
    opacity: 0.25;
}

/* حلقه‌های پالس در نقاط کلیدی */
.pulse-ring {
    fill: none;
    stroke: rgba(13, 110, 253, 0.22);
    stroke-width: 0.8;
    transform-origin: center;
    animation: svgPulse 5s ease-in-out infinite;
}

.pulse-ring.alt {
    stroke: rgba(99, 102, 241, 0.18);
}

/* =========================
   FLOATING PARTICLES
========================= */
.floating-particle {
    position: absolute;
    width: 3.5px;
    height: 3.5px;
    background: rgba(13, 110, 253, 0.22);
    border-radius: 50%;
    animation: floatParticle 10s linear infinite;
}

.p1 { top: 15%; left: 10%; animation-delay: 0s; }
.p2 { top: 40%; left: 85%; animation-delay: 2.5s; }
.p3 { top: 70%; left: 20%; animation-delay: 5s; }
.p4 { top: 85%; left: 75%; animation-delay: 7.5s; }

/* =========================
   ANIMATIONS
========================= */
@keyframes dashOffset {
    to {
        stroke-dashoffset: -1000;
    }
}

@keyframes svgPulse {
    0% {
        transform: scale(0.6);
        opacity: 0.8;
    }
    100% {
        transform: scale(2.2);
        opacity: 0;
    }
}

@keyframes driftLeft {
    0% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(25px, 35px) rotate(2deg); }
    100% { transform: translate(-15px, 60px) rotate(-1.5deg); }
}

@keyframes driftRight {
    0% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-25px, -35px) rotate(-3deg); }
    100% { transform: translate(10px, -50px) rotate(1.5deg); }
}

@keyframes floatParticle {
    0%, 100% { transform: translateY(0) translateX(0); opacity: 0.10; }
    50% { transform: translateY(-25px) translateX(12px); opacity: 0.40; }
}

.contact-card,
        .form-card {
            background: #fff;
            border: 1px solid #eef2f6;
            border-radius: 16px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.05);
        }

        .contact-item {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            padding: 14px 0;
            border-bottom: 1px solid #f1f3f5;
        }

        .contact-item:last-child {
            border-bottom: 0;
        }

        .contact-icon {
            width: 42px;
            height: 42px;
            border-radius: 50%;
            background: #e9f3ff;
            color: #207cca;
            display: flex;
            align-items: center;
            justify-content: center;
            flex: 0 0 42px;
            font-size: 1.1rem;
        }

        .contact-item h6 {
            margin: 0 0 4px;
            font-weight: 700;
            color: #2d3748;
        }

        .contact-item p {
            margin: 0;
            color: #555;
            line-height: 1.9;
        }

        .form-label {
            font-weight: 600;
            color: #2d3748;
        }

        .form-control,
        .form-select {
            border-radius: 12px;
            padding: 0.8rem 1rem;
            border: 1px solid #dfe6ee;
        }

        .form-control:focus {
            border-color: #207cca;
            box-shadow: 0 0 0 0.15rem rgba(32, 124, 202, 0.15);
        }

        .btn-primary-custom {
            background: #207cca;
            border: none;
            border-radius: 12px;
            padding: 0.85rem 1.4rem;
            font-weight: 600;
        }

        .btn-primary-custom:hover {
            background: #1b68aa;
        }

        .btn-reset-custom {
            background: #f1f3f5;
            border: 1px solid #dfe6ee;
            border-radius: 12px;
            padding: 0.85rem 1.4rem;
            font-weight: 600;
            color: #333;
        }

        .btn-reset-custom:hover {
            background: #e9ecef;
        }

        .captcha-box {
            display: flex;
            align-items: center;
            gap: 10px;
            flex-wrap: wrap;
        }

        .captcha-code {
            min-width: 120px;
            padding: 0.9rem 1rem;
            background: #f8f9fa;
            border: 1px dashed #cfd8e3;
            border-radius: 12px;
            text-align: center;
            font-size: 1.15rem;
            font-weight: 700;
            letter-spacing: 2px;
            color: #207cca;
            user-select: none;
        }

        .breadcrumb {
            margin-bottom: 0;
        }

        /* استایل‌های خطای فیلدها */
        .form-control.input-error {
            border-color: #dc3545 !important;
            box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
        }

        .error-text {
            color: #dc3545;
            font-size: 0.85rem;
            margin-top: 5px;
            display: block;
            text-align: right;
        }
.employer-card {
            background: #ffffff;
            border: 1px solid #eef2f6;
            border-radius: 12px;
            padding: 20px;
            height: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
            box-shadow: 0 2px 5px rgba(0,0,0,0.02);
            min-height: 160px;
        }
        
        .employer-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
            border-color: #207cca;
        }

        .employer-logo-wrapper {
            width: 100%;
            height: 80px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 12px;
        }

        .employer-logo-wrapper img {
            max-width: 85%;
            max-height: 100%;
            object-fit: contain;
            filter: grayscale(20%);
            transition: all 0.3s ease;
        }

        .employer-card:hover .employer-logo-wrapper img {
            filter: grayscale(0%);
            transform: scale(1.05);
        }

        .employer-title {
            font-size: 0.85rem;
            font-weight: 600;
            color: #4a5568;
            text-align: center;
            margin-top: auto;
            line-height: 1.5;
        }

        /* استایل باکس جستجو */
        .search-container {
            margin-top: -30px;
            position: relative;
            z-index: 10;
        }
        .search-input {
            border-radius: 30px;
            padding: 15px 25px;
            font-size: 1.05rem;
            border: none;
            box-shadow: 0 10px 30px rgba(0,0,0,0.07);
            transition: all 0.3s ease;
        }
        .search-input:focus {
            box-shadow: 0 10px 30px rgba(32, 124, 202, 0.2);
            border: 1px solid #207cca;
        }

.software-intro {
    max-width: 900px;
    margin: 30px auto;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    text-align: justify;
    line-height: 2;
}

.software-list {
    max-width: 1200px; /* افزایش عرض کانتینر اصلی برای قرارگیری راحت‌تر دو کارت در یک ردیف */
    margin: 0 auto 60px auto;
}

.software-item {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.07);
    transition: all 0.3s ease;
    border-right: 4px solid #667eea;
    overflow: hidden; /* برای جلوگیری از بیرون زدن لبه‌های گرد تصویر */
    height: 100%; /* برای هم‌تراز شدن ارتفاع کارت‌ها در یک ردیف */
    display: flex;
    flex-direction: column;
}

.software-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 22px rgba(0,0,0,0.12);
    border-right-color: #764ba2;
}

/* استایل تصویر محصول داخل کارت */
.software-img-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: #f1f3f9;
    position: relative;
}

.software-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.software-item:hover .software-img-wrapper img {
    transform: scale(1.05);
}

.software-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.software-item h3 {
    color: #4a3f8f;
    font-size: 1.1rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.software-item p {
    color: #555;
    text-align: justify;
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 0.9rem;
    flex-grow: 1; /* باعث می‌شود دکمه ادامه مطلب همیشه در پایین کارت تراز شود */
}

.read-more-link {
    display: inline-block;
    color: #667eea;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
    margin-top: auto; /* کشیدن دکمه به پایین‌ترین نقطه کارت */
}

.read-more-link:hover {
    color: #764ba2;
    text-decoration: underline;
}

.detail-card, .spec-sidebar {
            background: #fff;
            border-radius: 16px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.05);
        }
        .detail-card {
            padding: 35px;
        }
        .spec-sidebar {
            padding: 25px;
        }
        .detail-title {
            color: #4a3f8f;
            font-weight: 700;
            font-size: 1.8rem;
            border-bottom: 2px solid #eaeaea;
            padding-bottom: 15px;
            margin-bottom: 25px;
        }
        .detail-intro {
            font-size: 1.05rem;
            line-height: 2.1;
            color: #444;
            text-align: justify;
            margin-bottom: 30px;
        }
        .feature-item,
        .section-item {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            margin-bottom: 12px;
            color: #555;
            line-height: 1.9;
        }
        .feature-icon {
            color: #667eea;
            font-size: 1.1rem;
            margin-top: 4px;
            flex-shrink: 0;
        }
        .section-box {
            border: 1px solid #edf0f5;
            border-radius: 14px;
            padding: 20px;
            margin-bottom: 20px;
            background: #fcfcff;
        }
        .section-title {
            font-size: 1.1rem;
            font-weight: 700;
            color: #4a3f8f;
            margin-bottom: 15px;
        }
        .spec-item {
            display: flex;
            justify-content: space-between;
            gap: 10px;
            padding: 12px 0;
            border-bottom: 1px dashed #eee;
            font-size: 0.92rem;
        }
        .spec-item:last-child {
            border-bottom: none;
        }
        .spec-label {
            color: #888;
        }
        .spec-value {
            color: #333;
            font-weight: 600;
            text-align: left;
        }
        .sidebar-gallery-title {
            color: #4a3f8f;
            font-weight: 700;
            font-size: 1.05rem;
        }
        .screenshot-thumbnail {
            width: 100%;
            height: 90px;
            object-fit: cover;
            border-radius: 8px;
            border: 2px solid #f1f3f9;
            cursor: pointer;
            transition: .2s ease;
        }
        .screenshot-thumbnail:hover {
            transform: scale(1.04);
            box-shadow: 0 6px 18px rgba(0,0,0,.14);
        }
        @media (max-width: 991px) {
            .spec-sidebar {
                margin-top: 25px;
            }
        }

 .event-card {
            background: #fff;
            border: 1px solid #e8edf3;
            border-radius: 18px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.05);
            overflow: hidden;
            transition: all .25s ease;
            height: 100%;
        }

        .event-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 18px 36px rgba(0,0,0,0.08);
        }

        .event-image {
    height: 160px;
	width: 100%;			
    object-fit: cover;
	}

	.event-body {
		padding: 1rem;
	}

	.event-title {
		font-size: 1rem;
		line-height: 1.7;
		min-height: auto;
		margin-bottom: .75rem;
	}

	.event-meta {
		font-size: .82rem;
		line-height: 1.7;
	}

	.event-summary {
		font-size: .9rem;
		line-height: 1.8;
		min-height: auto;
		margin-bottom: 1rem !important;

		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}


        .badge-soft {
            display: inline-block;
            background: #e8f2ff;
            color: #207cca;
            border-radius: 999px;
            padding: .4rem .8rem;
            font-size: .82rem;
            font-weight: 700;
        }

        .btn-detail {
            background: #207cca;
            color: #fff;
            border: none;
            border-radius: 12px;
            padding: .75rem 1rem;
            font-weight: 600;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            transition: .2s ease;
        }

        .btn-detail:hover {
            background: #185f9d;
            color: #fff;
        }

        .side-box {
            background: #fff;
            border: 1px solid #e8edf3;
            border-radius: 18px;
            box-shadow: 0 10px 24px rgba(0,0,0,0.04);
        }

        .side-box h5 {
            font-weight: 800;
            margin-bottom: 1rem;
        }

        .event-list-item {
            border-bottom: 1px solid #eef2f7;
            padding: 12px 0;
        }

        .event-list-item:last-child {
            border-bottom: none;
        }

        .event-list-item a {
            text-decoration: none;
            color: #0f172a;
            font-weight: 600;
            line-height: 1.8;
        }

        .event-list-item a:hover {
            color: #207cca;
        }

.search-box {
            position: relative;
        }
        .search-box input {
            border-radius: 12px;
            padding-left: 45px;
            border: 1px solid #dfe6ee;
        }
        .search-box .btn-search {
            position: absolute;
            left: 5px;
            top: 50%;
            transform: translateY(-50%);
            border: none;
            background: none;
            color: #207cca;
            font-size: 1.2rem;
        }
        .sidebar-card {
            background: #fff;
            border: 1px solid #eef2f6;
            border-radius: 16px;
            padding: 1.5rem;
            box-shadow: 0 8px 24px rgba(0,0,0,0.03);
        }
        .sidebar-title {
            font-size: 1.1rem;
            font-weight: 700;
            color: #2d3748;
            border-bottom: 2px solid #207cca;
            padding-bottom: 8px;
        }
        .sidebar-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        .sidebar-list-item {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            padding: 12px 0;
            border-bottom: 1px dashed #eef2f6;
        }
        .sidebar-list-item:last-child {
            border-bottom: none;
        }
        .sidebar-list-item a {
            text-decoration: none;
            color: #4a5568;
            font-size: 0.92rem;
            font-weight: 600;
            line-height: 1.7;
            transition: color 0.2s ease;
        }
        .sidebar-list-item a:hover {
            color: #207cca;
        }
        .sidebar-list-item .date-lbl {
            font-size: 0.78rem;
            color: #a0aec0;
            display: block;
            margin-top: 3px;
        }
.sidebar-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        .sidebar-list-item {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            padding: 12px 0;
            border-bottom: 1px dashed #eef2f6;
        }
        .sidebar-list-item:last-child {
            border-bottom: none;
        }
        .sidebar-list-item a {
            text-decoration: none;
            color: #4a5568;
            font-size: 0.92rem;
            font-weight: 600;
            line-height: 1.7;
            transition: color 0.2s ease;
        }
        .sidebar-list-item a:hover {
            color: #207cca;
        }
        .sidebar-list-item .date-lbl {
            font-size: 0.78rem;
            color: #a0aec0;
            display: block;
            margin-top: 3px;
        }
        
        /* استایل‌های اختصاصی جزئیات رویداد */
        .event-detail-wrapper {
            background: #fff;
            border: 1px solid #eef2f6;
            border-radius: 20px;
            padding: 2rem;
            box-shadow: 0 10px 30px rgba(0,0,0,0.03);
        }
        .main-event-image {
            width: 100%;
            max-height: 450px;
            object-fit: cover;
            border-radius: 16px;
            margin-bottom: 1.5rem;
        }
        .detail-meta-item {
            font-size: 0.9rem;
            color: #4a5568;
            background: #f8fafc;
            padding: 10px 15px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .detail-content {
            font-size: 1rem;
            line-height: 2;
            color: #2d3748;
            text-align: justify;
        }
        .gallery-thumb {
            width: 100%;
            height: 120px;
            object-fit: cover;
            border-radius: 10px;
            cursor: pointer;
            transition: transform 0.2s;
        }
        .gallery-thumb:hover {
            transform: scale(1.05);
        }
.custom-navbar{
    background: #2f6ea5; /* same blue style */
    white-space: nowrap;
}

.custom-navbar .navbar-brand{
    font-size: 1rem;
    font-weight: 700;
    white-space: nowrap;
}

.custom-navbar .navbar-nav{
    gap: 4px;
}

.custom-navbar .nav-link{
    font-size: 0.92rem;
    padding: 0.45rem 0.7rem;
    white-space: nowrap;
}

.crm-link{
    background: #f5c518;   /* yellow */
    color: #000 !important;
    border-radius: 999px;
    padding: 0.45rem 1rem !important;
    font-weight: 700;
    transition: 0.2s;
}

.crm-link:hover{
    background: #ffda3a;
    color: #000 !important;
}

.crm-link.active{
    background: #ffcc00;
    color: #000 !important;
}

/* Prevent wrapping on large screens */
@media (min-width: 992px){
    .custom-navbar .navbar-collapse{
        flex-wrap: nowrap;
    }

    .custom-navbar .navbar-nav{
        flex-wrap: nowrap;
    }
}
.crm-login-container {
            max-width: 460px;
            margin: 2% auto;
        }
        .crm-card {
            background: #fff;
            border: 1px solid #eef2f6;
            border-radius: 20px;
            box-shadow: 0 15px 35px rgba(0,0,0,0.05);
            overflow: hidden;
        }
        .crm-header {
            background: linear-gradient(135deg, #207cca 0%, #175a96 100%);
            color: #fff;
            padding: 2.5rem 1.5rem;
            text-align: center;
        }
        .crm-captcha-box {
            background: #f1f5f9;
            color: #1e293b;
            font-size: 1.3rem;
            font-weight: 800;
            letter-spacing: 6px;
            text-align: center;
            border-radius: 12px;
            padding: 8px;
            border: 1px dashed #cbd5e1;
            user-select: none;
            display: flex;
            align-items: center;
            justify-content: center;
            height: 48px;
        }
        .form-control-lg {
            border-radius: 12px;
            font-size: 0.95rem;
        }
        .btn-login {
            background: #207cca;
            border: none;
            color: #fff;
            border-radius: 12px;
            padding: 12px;
            font-weight: 700;
            transition: all 0.3s;
        }
        .btn-login:hover {
            background: #175a96;
        }
        .btn-refresh-captcha {
            height: 48px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

.crm-navbar {
        background: linear-gradient(135deg, #123c69 0%, #207cca 100%);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
        z-index: 1030;
    }

    .crm-navbar .navbar-brand {
        color: #fff;
        font-weight: 800;
        font-size: 1rem;
        white-space: nowrap;
    }

    .crm-navbar .navbar-brand:hover {
        color: #fff;
    }

    .crm-navbar .nav-link {
        color: rgba(255, 255, 255, 0.82);
        font-weight: 600;
        font-size: 0.9rem;
        border-radius: 12px;
        padding: 0.55rem 0.85rem;
        transition: all 0.25s ease;
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .crm-navbar .nav-link:hover {
        color: #fff;
        background: rgba(255, 255, 255, 0.12);
    }

    .crm-navbar .nav-link.active {
        color: #123c69;
        background: #207ac7;
        box-shadow: 0 5px 15px rgba(255, 255, 255, 0.18);
    }

    .crm-user-box {
        color: #fff;
        background: rgba(255, 255, 255, 0.12);
        border: 1px solid rgba(255, 255, 255, 0.18);
        border-radius: 14px;
        padding: 0.45rem 0.75rem;
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 0.85rem;
        white-space: nowrap;
    }

    .crm-user-avatar {
        width: 32px;
        height: 32px;
        background: #fff;
        color: #207cca;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 800;
    }

    .crm-ticket-btn {
        position: relative;
        color: #fff;
        background: rgba(255, 255, 255, 0.13);
        border: 1px solid rgba(255, 255, 255, 0.18);
        border-radius: 14px;
        padding: 0.55rem 0.75rem;
        text-decoration: none;
        display: flex;
        align-items: center;
        gap: 7px;
        transition: all 0.25s ease;
        white-space: nowrap;
    }

    .crm-ticket-btn:hover {
        color: #123c69;
        background: #fff;
    }

    .crm-ticket-badge {
    position: absolute;
    top: -7px;
    left: -7px;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: #dc3545;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    animation: pulseBadge 1s infinite;
}

@keyframes pulseBadge {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7);
    }
    70% {
        transform: scale(1.08);
        box-shadow: 0 0 0 8px rgba(220, 53, 69, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
    }
}


    .crm-logout-btn {
        color: #fff;
        border: 1px solid rgba(255, 255, 255, 0.4);
        border-radius: 14px;
        padding: 0.52rem 0.85rem;
        text-decoration: none;
        display: flex;
        align-items: center;
        gap: 6px;
        transition: all 0.25s ease;
        font-weight: 600;
        white-space: nowrap;
    }

    .crm-logout-btn:hover {
        background: #dc3545;
        border-color: #dc3545;
        color: #fff;
    }

    .crm-mobile-actions {
        gap: 8px;
    }

    @media (max-width: 991px) {
        .crm-navbar .navbar-collapse {
            padding-top: 1rem;
        }

        .crm-navbar .navbar-nav {
            gap: 6px;
        }

        .crm-navbar .nav-link {
            justify-content: flex-start;
        }

        .crm-mobile-actions {
            margin-top: 1rem;
            flex-direction: column;
            align-items: stretch !important;
        }

        .crm-user-box,
        .crm-ticket-btn,
        .crm-logout-btn {
            justify-content: center;
            width: 100%;
        }
    }
.blink-badge {
    animation: blinkBadge 1s infinite;
}

@keyframes blinkBadge {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.35;
        transform: scale(1.12);
    }
}




.profile-info-card {
            background: #fff;
            border-radius: 18px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.08);
        }

        .profile-box {
            display: flex;
            align-items: center;
            gap: 14px;
            padding: 16px 0;
            border-bottom: 1px solid #eef1f4;
        }

        .profile-box:last-child {
            border-bottom: none;
        }

        .profile-icon {
            width: 52px;
            height: 52px;
            border-radius: 14px;
            background: linear-gradient(135deg, #207cca, #38b6ff);
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-size: 1.2rem;
            flex-shrink: 0;
        }

        .profile-box h6 {
            margin-bottom: 4px;
            font-weight: 700;
            color: #1f2d3d;
        }

        .profile-box p {
            margin-bottom: 0;
            color: #6c757d;
            font-size: 0.95rem;
            word-break: break-word;
        }

        .profile-info-card h4 {
            color: #1f2d3d;
        }


        .btn-primary-custom {
            background: linear-gradient(135deg, #207cca, #0d6efd);
            color: #fff;
            border: none;
            padding: 11px 22px;
            border-radius: 12px;
            font-weight: 600;
            transition: all 0.25s ease;
        }

        .btn-primary-custom:hover {
            color: #fff;
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(13, 110, 253, 0.22);
        }

        .profile-avatar {
            width: 88px;
            height: 88px;
            border-radius: 50%;
            background: linear-gradient(135deg, #207cca, #38b6ff);
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-size: 2rem;
            margin: 0 auto 18px;
            box-shadow: 0 10px 25px rgba(32, 124, 202, 0.22);
        }

        .username-view {
            direction: ltr;
            text-align: left;
        }

.user-table-card {
            border-radius: 15px;
            overflow: hidden;
            background: #fff;
            box-shadow: 0 4px 15px rgba(0,0,0,0.05);
        }

        .table thead {
            background-color: #f8f9fa;
        }

        .badge-admin {
            background-color: #6c5ce7;
        }

        .badge-customer {
            background-color: #00b894;
        }

        .badge-active {
            background-color: #2ecc71;
        }

        .badge-inactive {
            background-color: #95a5a6;
        }

        .badge-suspended {
            background-color: #e74c3c;
        }

       
.modal-header .btn-close {
    margin-left: 0;
    margin-right: auto;
}

/* فاصله دهی مناسب به کادر اطراف جدول */
        .user-table-card {
            background: #fff;
            border-radius: 16px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
            border: 1px solid #eef2f5;
            overflow: hidden;
            padding: 20px;
        }

        /* وسط‌چین کردن تمامی خانه‌های جدول */
        #usersTable th, #usersTable td {
            text-align: center !important;
            vertical-align: middle !important;
            padding: 14px 10px !important;
        }

        /* راست‌چین کردن دکمه "نمایش تعداد رکورد" */
        .dataTables_wrapper .dataTables_length select {
    min-width: 78px !important;
    width: auto !important;
    text-align: center !important;
    border: 1px solid #ced4da !important;
    border-radius: 10px !important;
    padding: 6px 14px !important;
    outline: none !important;
    background-color: #fff !important;
    cursor: pointer !important;
}

        /* چپ‌چین کردن بخش "جستجو" در سربرگ جدول */
        .dataTables_wrapper .dataTables_filter {
            display: flex !important;
            justify-content: flex-end !important;
        }

        /* اصلاح استایل و تراز فیلد جستجو */
        .dataTables_wrapper .dataTables_filter label {
            display: flex !important;
            align-items: center !important;
            gap: 10px !important;
            font-weight: bold;
            color: #495057;
        }

        .dataTables_wrapper .dataTables_filter input {
            border: 1px solid #ced4da !important;
            border-radius: 10px !important;
            padding: 7px 14px !important;
            outline: none !important;
            width: 220px !important;
            transition: all 0.3s ease-in-out !important;
            background-color: #fff !important;
        }

        .dataTables_wrapper .dataTables_filter input:focus {
            border-color: #0d6efd !important;
            box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.15) !important;
        }

        /* اصلاح استایل و تراز فیلد کشویی تعداد رکورد */
        .dataTables_wrapper .dataTables_length label {
            display: flex !important;
            align-items: center !important;
            gap: 8px !important;
            font-weight: bold;
            color: #495057;
        }

        .dataTables_wrapper .dataTables_length select {
            border: 1px solid #ced4da !important;
            border-radius: 10px !important;
            padding: 6px 12px !important;
            outline: none !important;
            background-color: #fff !important;
            cursor: pointer !important;
        }

        /* راست‌چین کردن متن اطلاعات نمایش رکوردها در پایین جدول */
        .dataTables_wrapper .dataTables_info {
            display: flex !important;
            justify-content: flex-start !important;
            color: #6c757d !important;
            font-size: 0.9rem !important;
            padding-top: 10px !important;
        }

        /* چپ‌چین کردن دکمه‌های صفحه‌بندی (Pagination) */
        .dataTables_wrapper .dataTables_paginate {
            display: flex !important;
            justify-content: flex-end !important;
            padding-top: 10px !important;
        }

        /* استایل سفارشی به دکمه‌های Pagination */
        .dataTables_wrapper .pagination .page-item .page-link {
            border-radius: 8px !important;
            margin: 0 3px !important;
            color: #495057 !important;
            border: 1px solid #dee2e6 !important;
            padding: 6px 12px !important;
        }

        .dataTables_wrapper .pagination .page-item.active .page-link {
            background-color: #0d6efd !important;
            border-color: #0d6efd !important;
            color: white !important;
        }

        /* حذف خطوط مرزی اضافه دیتاتیبلز */
        table.dataTable.no-footer {
            border-bottom: 1px solid #dee2e6 !important;
        }

.company-cell {
    display: flex;        /* فعال کردن فلکس */
    align-items: center;  /* تراز عمودی در مرکز */
    justify-content: flex-start; /* چسباندن به سمت راست (در RTL) */
    gap: 12px;            /* فاصله بین لوگو و متن */
    min-width: 150px;     /* جلوگیری از فشرده شدن بیش از حد در جدول */
}

.company-logo {
    width: 35px;          /* اندازه ثابت برای هماهنگی */
    height: 35px;         /* اندازه ثابت */
    object-fit: contain;  /* جلوگیری از تغییر شکل تصویر */
    border-radius: 6px;   /* کمی گرد کردن گوشه‌ها */
}