﻿
/* ===============================
   Hamid Footer Styling
================================ */
/* استایل کلی مگامنو */
/* مگامنو شیشه‌ای و مدرن */
/* مگامنو شیشه‌ای با گوشه‌های خیلی گرد */
.mega-dropdown-menu {
    width: 780px;
    max-width: 92vw;
    padding: 30px 35px;
    border-radius: 28px;
    /* شیشه‌ای */
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    /* سایه صورتی */
    box-shadow: 0 5px 25px rgba(235, 19, 211, 0.45);
    /* حذف کامل کادر مستطیلی */
    border: none !important;
    outline: none !important;
    /* حذف استایل پیش‌فرض Bootstrap */
    box-sizing: border-box;
  font-size:20px;
}
.dropdown-menu {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}
.dropdown-item{
    font-size:16px !important;
}
.dropdown-itemp {
    font-size: 12px !important;
    color: dimgrey ;
}
.nav-link {
    font-size: 19px !important;
}
   
    .navbar-nav .nav-item {
        margin: 0 3px; /* فاصله بین آیتم‌ها */
    }

.navbar-nav .nav-link {
    padding: 8px 15px; /* فضای داخلی برای خوانایی */
    border-radius: 5px!important; /* گوشه‌های گرد برای زیبایی */
    transition: background-color 0.3s ease;
}
.navbar-nav .nav-item:not(:last-child) {
    border-right: 1px solid rgba(255,255,255,0.09);
    padding-right: 10px;
}
.navbar-nav .nav-link {
    padding-top: 4px; /* کمتر کردن فاصله بالا */
    padding-bottom: 4px; /* کمتر کردن فاصله پایین */
}
    .navbar-nav .nav-link:hover {
        /* background-color: #d45fc7 !important;*/
        border-bottom: 2px solid #007bff;
        border-radius: 0 !important;
    }

        .mega-dropdown-wrapper {
    display: none;
}
/* حالت پیش‌فرض: منو مخفی است */
.mega-dropdown-wrapper {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

    /* وقتی که منو نمایش داده می‌شود */
    .mega-dropdown-wrapper.show {
        display: block;
        opacity: 1;
    }

/* وقتی موس روی آیتم منو میره، منو نمایش داده میشه */


    /* ستون‌ها */
    .mega-dropdown-menu .col-md-4 {
        padding-right: 30px;
        border-left: 1px solid rgba(0,0,0,0.07);
    }

        /* ستون آخر بدون خط */
        .mega-dropdown-menu .col-md-4:last-child {
            border-left: none;
        }

    /* آیتم‌ها */
    .mega-dropdown-menu .dropdown-item {
        font-size: 18px;
        padding: 14px 0;
        color: #222;
        font-weight: 500;
        display: flex;
        align-items: center;
        transition: all .25s ease;
       
        border-radius: 12px; /* آیتم‌ها هم گردتر */
    }

        /* آیکون‌ها */
        .mega-dropdown-menu .dropdown-item i {
            font-size: 22px;
            margin-left: 12px;
            opacity: .9;
            transition: .25s;
        }

        /* هاور حرفه‌ای */
        /* وقتی موس روی کل dropdown-item میره */
        .mega-dropdown-menu .dropdown-item:hover {
            background: rgba(0, 123, 255, 0.12);
            border-radius: 14px;
            padding-right: 12px;
            color: #0069d9 !important; /* متن اصلی */
        }

            /* تغییر رنگ و افکت برای آیکون و <p> داخل آیتم */
            .mega-dropdown-menu .dropdown-item:hover i,
            .mega-dropdown-menu .dropdown-item:hover p {
                color: #0069d9 !important; /* هم آیکون هم متن پایینش */
                transform: translateX(-4px); /* اگر میخوای حرکت کنه */
            }

.mega-dropdown-menu .hoverColor:hover  {
    transform: translateX(-4px);
    color: #0069d9 !important;
}

.mega-dropdown-menu .dropdown-itemp:hover {
    transform: translateX(-4px);
    color: #0069d9 !important;
}
.mega-dropdown-wrapper {
    box-shadow: 0 12px 25px rgba(0, 123, 255, 0.18), 0 22px 55px rgba(0, 123, 255, 0.25), 0 8px 12px rgba(0, 123, 255, 0.12);
}


/* انیمیشن باز شدن */
@keyframes megaFade {
    from {
        opacity: 0;
        transform: translateY(14px) scale(.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}




.nav-link.active,
.dropdown-item.active {
 
   /* color: #007bff !important;*/
    font-weight: 600;
   
}
/*.nav-link.active {
    border-bottom: 2px solid #007bff;
    border-radius: 0 !important;
}*/

.mega-dropdown-menu .dropdown-item {
    font-size: 18px;
    padding: 14px 8px;
    line-height: 1.8;
}

    .mega-dropdown-menu .dropdown-item i {
        font-size: 22px;
        width: 28px;
        text-align: center;
        opacity: .85;
    }
.mega-dropdown-menu .col-md-4 {
    border-left: 1px solid #e0e0e0;
}

    .mega-dropdown-menu .col-md-4:last-child {
        border-left: none;
    }


@keyframes gentle-pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }
    /* فقط 2% بزرگ‌تر */
    100% {
        transform: scale(1);
    }
}

.pulse-section {
    animation: gentle-pulse 3s ease-in-out infinite; /* 3 ثانیه ضربان ملایم */
    will-change: transform;
}

@keyframes bell-shake {
    0% {
        transform: rotate(0deg);
    }

    15% {
        transform: rotate(15deg);
    }

    30% {
        transform: rotate(-10deg);
    }

    45% {
        transform: rotate(10deg);
    }

    60% {
        transform: rotate(-5deg);
    }

    75% {
        transform: rotate(5deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

.pulse-section i {
    display: inline-block; /* مهم برای transform */
    animation: bell-shake 1.5s ease-in-out infinite;
    transform-origin: 50% 50%; /* مرکز چرخش */
}


.section-title-pro h2 {
    font-size: 36px;
    font-weight: 800;
    color: #eb13d3;
    letter-spacing: -0.5px;
}

.section-title-pro .subtitle {
    display: inline-block;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #e58ad5;
    margin-bottom: 10px;
}

.section-title-pro .title-line {
    width: 80px;
    height: 4px;
    background: #eb13d3;
    margin: 20px auto 0;
    border-radius: 10px;
}

.section-title-pro .title-with-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

    .section-title-pro .title-with-icon i {
        font-size: 26px;
        color: #0d6efd;
        opacity: 0.85;
    }

.section-title-pro h2 {
    font-size: 36px;
    font-weight: 800;
    margin: 0;
}

.title-with-custom-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

/* بدنه آیکون */
.icon-shape {
    position: relative;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: linear-gradient(135deg, #0d6efd, #6610f2);
    opacity: 0.9;
}

    /* خطوط داخل آیکون (حس ERP / ماژولار) */
    .icon-shape::before,
    .icon-shape::after {
        content: "";
        position: absolute;
        background: #fff;
        border-radius: 2px;
    }

    .icon-shape::before {
        width: 18px;
        height: 3px;
        top: 12px;
        left: 10px;
    }

    .icon-shape::after {
        width: 12px;
        height: 3px;
        bottom: 12px;
        left: 13px;
    }

    /* تفاوت ظریف چپ و راست */
    .icon-shape.right {
        transform: rotate(180deg);
    }

.section-title-pro h2 {
    font-size: 36px;
    font-weight: 800;
    margin: 0;
}

.section-title-pro .title-with-icon.fancy i {
    background: linear-gradient(135deg, #0d6efd, #6610f2);
    color: #fff;
    padding: 10px;
    border-radius: 50%;
    font-size: 18px;
}


.hamid-footer {
    padding-top: 30px;
    /*  background: #f8f9fa;*/
}
.hamid-cert-wrapper {
    display: flex;
    flex-direction: column; /* دسکتاپ: زیر هم */
    gap: 10px;
}

/* موبایل */
@media (max-width: 768px) {
    .hamid-cert-wrapper {
        flex-direction: row; /* موبایل: کنار هم */
        justify-content: center;
        align-items: center;
    }
}
@media (min-width: 992px) {
    .nav-tabs {
        border: 1px solid #e5e5e5 !important;
        border-radius: 8px;
        padding: 10px;
    }

/*    .tab-content {
        border: 1px solid #e5e5e5;
        border-radius: 8px;
        padding: 25px;
        margin-right: 15px;
    }*/
    
}

.nav-tabs .nav-link.active {
    background-color: #f8f9fa;
    border-right: 3px solid #0d6efd;
    font-weight: bold;
}
/* تیترها */
.hamid-footer h5 {
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 15px;
    font-weight: 600;
    color: #222;
    margin-right: 50px;
}

    /* خط زیر تیتر */
    .hamid-footer h5::after {
        content: "";
        position: absolute;
        right: 0;
        bottom: 0;
        width: 50px;
        height: 2px;
        background: #007bff;
        border-radius: 2px;
    }

/* لیست‌ها */
.hamid-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-right: 50px;
}

    .hamid-footer ul li {
        margin-bottom: 8px;
    }

        /* لینک‌ها */
        .hamid-footer ul li a {
            color: #555;
            font-size: 14px;
            text-decoration: none;
            transition: all 0.25s ease;
            position: relative;
            padding-right: 14px;
            display: inline-block;
        }

            /* نقطه یا فلش قبل لینک */
            .hamid-footer ul li a::before {
                content: "›";
                position: absolute;
                right: 0;
                color: #007bff;
                transition: transform 0.25s ease;
            }

            /* Hover لینک */
            .hamid-footer ul li a:hover {
                color: #007bff;
                padding-right: 18px;
            }

                .hamid-footer ul li a:hover::before {
                    transform: translateX(-3px);
                }

/* بخش آیکون‌ها */
.hamid-footer .btn-wrapper.profile {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

/* متن کپی‌رایت */
.hamid-footer .footer-copy {
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid #ddd;
}

    .hamid-footer .footer-copy h4 {
        font-size: 14px;
        margin: 0;
        color: #666;
        font-weight: 400;
        text-align: center;
    }
/* ستون‌های محصولات و لینک‌های مهم */
.hamid-footer .hamid-footer-col,
.hamid-footer h5,
.hamid-footer ul {
    text-align: right;
}

hamid-footer {
    margin-right: 50px;
}
/* تیتر */
.hamid-footer h5 {
    margin-right: 50px;
    font-size: 16px;
}

/* لیست */
.hamid-footer ul {
    padding-right: 0;
}

    /* آیتم‌ها */
    .hamid-footer ul li {
        margin-bottom: 8px;
    }

        /* لینک‌ها */
        .hamid-footer ul li a {
            display: inline-flex;
            align-items: center;
            gap: 0; /* فاصله بین آیکون و متن = صفر */
            padding-right: 0;
            color: white;
            font-size: 14px;
            text-decoration: none;
            transition: color 0.25s ease;
        }

            /* فلش قبل متن */
            .hamid-footer ul li a::before {
                content: "›";
                margin-left: 4px; /* فقط همین مقدار برای چسبیدن */
                color: #007bff;
            }

            /* Hover */
            .hamid-footer ul li a:hover {
                color: #007bff;
            }


@media (min-width: 768px) {
    .floating-pack

{
    min-width: 90px; /* درازتر شدن پک */
}

.btn-pack {
    flex-direction: column; /* آیکون بالا، متن پایین */
    align-items: center;
    text-align: center;
    padding: 16px 12px;
    gap: 6px;
}

    .btn-pack i {
        font-size: 24px; /* آیکون بزرگ‌تر */
        line-height: 1;
    }

    .btn-pack span,
    .btn-pack {
        line-height: 1.3;
    }

}

/* موبایل: حالت قبلی حفظ می‌شود */
@media (max-width: 767.98px) {
    .btn-pack {
        flex-direction: row;
    }
}
/* دسکتاپ */
.floating-pack {
    position: fixed;
    top: 35%;
    left: 0;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    border-radius: 0 14px 14px 0;
    box-shadow: 0 12px 30px rgba(0,0,0,0.25), inset 0 0 0 1px rgba(255,255,255,0.1);
    overflow: hidden;
    backdrop-filter: blur(2px);
}

.btn-pack {
    border: none;
    padding: 14px 16px;
    font-size: 18px !important;
    text-align: left;
    transition: all 0.25s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* جداکننده */
.pack-divider {
    margin: 0;
    border-color: rgba(255,255,255,0.25);
}

/* هاور دسکتاپ */
.btn-pack:hover {
    background: rgba(255,255,255,0.08);
    transform: translateX(4px);
    text-decoration: none;
}

/* موبایل */
@media (max-width: 767.98px) {
    .floating-pack {
        top: auto;
        bottom: 0px;
        left: 0px;
        right: 8px;
        flex-direction: row;
        border-radius: 5px;
        box-shadow: 0 10px 25px rgba(0,0,0,0.35);
    }

    .btn-pack {
        flex: 1;
        text-align: center;
        font-size: 13px;
        padding: 12px 6px;
        justify-content: center;
    }

        .btn-pack:hover {
            transform: none;
        }

    /* HR عمودی در موبایل */
    .pack-divider {
        width: 1px;
        height: auto;
        background-color: rgba(255,255,255,0.35);
        border: none;
        margin: 8px 0;
    }
}

.HamidFooter-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.18), inset 0 0 0 1px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    text-decoration: none;
}

    .HamidFooter-box img {
        max-width: 70px;
        max-height: 70px;
    }

    /* Hover effect */
    .HamidFooter-box:hover {
        transform: translateY(-4px) scale(1.03);
        box-shadow: 0 14px 30px rgba(0,0,0,0.28), inset 0 0 0 1px rgba(0,0,0,0.08);
    }

