/* ============================================================
   TSSHCO Custom Effects - Beautiful Animations
   ============================================================ */

/* ==== Animated Gradient Buttons ==== */
.btn-primary {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    background-size: 200% 200%;
    border: none;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.btn-primary:hover {
    background-position: right center;
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(13, 110, 253, 0.4);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::after {
    width: 400px;
    height: 400px;
}

/* ==== Service Cards Enhanced ==== */
.service-item {
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(13, 110, 253, 0.05), transparent);
    transition: left 0.7s ease;
    z-index: -1;
}

.service-item:hover::before {
    left: 100%;
}

.service-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15) !important;
}

.service-item .service-icon {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-item:hover .service-icon {
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 10px 25px rgba(13, 110, 253, 0.4);
}

/* ==== Blog Cards Enhanced ==== */
.blog-item {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.blog-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.blog-item .blog-img img {
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), filter 0.5s ease;
}

.blog-item:hover .blog-img img {
    transform: scale(1.12) rotate(1deg);
    filter: brightness(1.05);
}

.blog-item h4 {
    transition: color 0.3s;
}

.blog-item:hover h4 {
    color: #0d6efd !important;
}

/* ==== Team/Award Cards Enhanced ==== */
.team-item {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.team-item::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #0d6efd, #0a58ca, #0d6efd, #0a58ca);
    background-size: 400% 400%;
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.team-item:hover::before {
    opacity: 1;
}

.team-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(13, 110, 253, 0.2);
}

.team-item .team-img img {
    transition: transform 0.6s ease;
}

.team-item:hover .team-img img {
    transform: scale(1.08);
}

/* ==== Section Titles Enhanced ==== */
.section-title h5 {
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
}

.section-title h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #0d6efd, #0a58ca);
    border-radius: 3px;
    animation: lineExpand 2s ease infinite;
}

@keyframes lineExpand {
    0%, 100% { width: 40px; }
    50% { width: 70px; }
}

/* ==== Navbar Enhanced ==== */
.navbar {
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}

.navbar .nav-link {
    position: relative;
    transition: all 0.3s ease;
}

.navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #0d6efd;
    transition: width 0.3s ease;
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
    width: 70%;
}

/* ==== Card Floating Animation ==== */
@keyframes cardFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.stat-card, .upload-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(6, 20, 41, 0.12);
}

/* ==== File Items Enhanced ==== */
.file-item {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.file-item:hover {
    transform: translateY(-5px) translateX(5px);
    box-shadow: 0 15px 30px rgba(13, 110, 253, 0.15);
    border-color: #0d6efd;
}

/* ==== Upload Zone Enhanced ==== */
.upload-zone {
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.upload-zone::before {
    content: '';
    position: absolute;
    inset: -50%;
    background: conic-gradient(from 0deg, transparent, rgba(13, 110, 253, 0.1), transparent);
    animation: rotateBorder 5s linear infinite;
    opacity: 0;
    transition: opacity 0.4s;
}

.upload-zone:hover::before,
.upload-zone.dragover::before {
    opacity: 1;
}

@keyframes rotateBorder {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.upload-zone:hover,
.upload-zone.dragover {
    transform: scale(1.02);
    border-color: #0d6efd;
    box-shadow: 0 15px 35px rgba(13, 110, 253, 0.2);
}

.upload-zone i {
    animation: cloudBounce 2s ease infinite;
    transition: transform 0.4s ease;
}

@keyframes cloudBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.upload-zone:hover i {
    transform: scale(1.15);
}

/* ==== Counter Animation ==== */
@keyframes countUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

h1[data-toggle="counter-up"] {
    animation: countUp 1s ease;
}

/* ==== Shimmer Effect on Cards ==== */
@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

.card-shimmer {
    background: linear-gradient(to right, #fff 4%, #f5f5f5 25%, #fff 36%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite linear;
}

/* ==== Smooth Fade In for Sections ==== */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.wow.fadeInUp {
    animation: fadeInScale 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==== Progress Bar Animated ==== */
.progress-bar {
    background: linear-gradient(90deg, #0d6efd, #0a58ca, #0d6efd);
    background-size: 200% 100%;
    animation: progressShine 2s linear infinite;
}

@keyframes progressShine {
    0% { background-position: 0% 0; }
    100% { background-position: 200% 0; }
}

/* ==== Sidebar Items Enhanced ==== */
.sidebar-nav a {
    position: relative;
    overflow: hidden;
}

.sidebar-nav a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: #0d6efd;
    transform: scaleY(0);
    transition: transform 0.3s ease;
    transform-origin: bottom;
}

.sidebar-nav a:hover::before {
    transform: scaleY(1);
}

/* ==== Smooth Page Load ==== */
body {
    animation: pageLoad 0.6s ease;
}

@keyframes pageLoad {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ==== Button Pulse Effect ==== */
@keyframes btnPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(13, 110, 253, 0.4); }
    50% { box-shadow: 0 0 0 15px rgba(13, 110, 253, 0); }
}

.btn-cta-pulse {
    animation: btnPulse 2s infinite;
}

/* ==== Responsive Tweaks ==== */
@media (max-width: 768px) {
    .service-item:hover,
    .blog-item:hover,
    .team-item:hover {
        transform: translateY(-5px);
    }
}
/* ============================================================
   کالم کاربر (Login/Dashboard) - Compact
   ============================================================ */
.footer-about > .bg-primary {
    padding: 28px 22px !important;
    border-radius: 12px 12px 0 0;
}

.footer-about .navbar-brand h1 {
    font-size: 20px !important;
}

.footer-about > .bg-primary p {
    font-size: 13px !important;
    line-height: 1.6;
    margin-bottom: 16px !important;
}

.footer-about .btn-dark {
    padding: 8px 18px !important;
    font-size: 13px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.footer-about .btn-dark:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* ============================================================
   بخش‌های "Get In Touch" / "Quick Links" / "Other Links"
   ============================================================ */

/* کاهش padding بالای هر ستون */
.

.

/* عنوان‌های فوتر - فشرده‌تر و زیباتر */
.

.

.

/* حذف border-bottom اضافی از section-title */
.

/* آیتم‌های اطلاعات تماس */
.

.

.

/* لینک‌های سریع - فشرده‌تر */
.

.

.

.

/* ============================================================
   Social Icons - زیباتر
   ============================================================ */
.

.

/* ============================================================
   Copyright Bar - Compact
   ============================================================ */
.

.

.

.

/* ============================================================
   Responsive Tweaks
   ============================================================ */
@media (max-width: 991px) {
    .

    .footer-about > .bg-primary {
        padding: 25px 20px !important;
    }

    .
}

@media (max-width: 576px) {
    .

    .
}
/* افکت درخشش روی فوتر */
@keyframes footerShimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

.

/* خط جداکننده گرادیانت بالای فوتر */
.
/* === کاهش padding بالای کل فوتر === */
.

.

/* === کاهش فاصله بالای ستون‌ها (pt-5) === */
.

.

/* === کالم Login/Dashboard - Compact === */
.footer-about {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.footer-about > .bg-primary {
    padding: 20px 22px !important;
    min-height: auto !important;
    height: auto !important;
}

.footer-about .navbar-brand {
    margin-bottom: 5px !important;
    display: inline-block;
}

.footer-about .navbar-brand h1 {
    font-size: 18px !important;
    margin-bottom: 0 !important;
}

.footer-about > .bg-primary p {
    font-size: 12px !important;
    line-height: 1.5 !important;
    margin-top: 8px !important;
    margin-bottom: 12px !important;
    text-align: justify;
}

.footer-about .btn-dark {
    padding: 6px 16px !important;
    font-size: 12px !important;
    margin-bottom: 8px !important;
}

.footer-about .btn-dark i {
    font-size: 12px;
    margin-right: 4px;
}

/* حذف iframe و متن B2B (اگر هست) */
.footer-about iframe {
    display: none !important;
}

.footer-about p.mt-2,
.footer-about p.mt-4 {
    margin-top: 6px !important;
    margin-bottom: 0 !important;
    font-size: 11px !important;
}

/* === کاهش فاصله داخل ستون‌ها === */
.

.

/* === آیتم‌های اطلاعات تماس === */
.

.

.

/* === لینک‌های سریع === */
.

/* === آیکون‌های شبکه اجتماعی === */
.

/* === کیف پول‌های ارز دیجیتال === */
.crypto-wallets {
    margin-top: 12px !important;
}

.crypto-wallets h6 {
    font-size: 11px !important;
    margin-bottom: 8px !important;
}

.crypto-wallets .wallet-icon-wrapper {
    padding: 4px 8px !important;
}

.crypto-wallets .wallet-logo {
    width: 30px !important;
    height: 30px !important;
}

.crypto-wallets .wallet-qr {
    width: 32px !important;
    height: 32px !important;
}

.crypto-wallets .wallet-label {
    font-size: 9px !important;
    margin-top: 3px !important;
}

/* === نوار کپی‌رایت === */
.

.

.

/* ============================================================
   Responsive - موبایل
   ============================================================ */
@media (max-width: 991px) {
    .

    .

    .footer-about > .bg-primary {
        padding: 18px 20px !important;
    }
}

@media (max-width: 576px) {
    .

    .

    .
}
