.main-footer {
    position: relative;
    margin-top: 100px; /* برای اینکه فضای کافی برای لوگوی بیرون زده وجود داشته باشد */
    width: 100%;
}

/* هولدر لوگو برای کنترل موقعیت بیرونی */
.logo-container {
    position: absolute;
    top: -150px; /* نصف ارتفاع باکس لوگو به بالا هدایت می‌شود */
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

/* باکس مشکی رنگ لوگو */
.logo-box {
      width: 300px;
    height: 300px;
    background-color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 2px solid #ffffff;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
}

.logo-x {
    color: #ffffff;
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
}

.logo-text {
    color: #ffffff;
    font-size: 16px;
    margin-top: 5px;
    border-top: 2px solid #ffffff;
    padding-top: 2px;
    width: 70%;
    text-align: center;
}

/* بخش اصلی زرد رنگ */
.footer-content {
    background-color: black ; /* رنگ زرد مشابه تصویر */
    padding: 210px 20px 80px 20px; /* پدینگ بالایی بیشتر برای جبران فضای لوگو */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

/* استایل آیکون‌های اجتماعی */
.social-icons {
    display: flex;
    gap: 15px;
      margin: 40px;
}

.icon-link {
    width: 40px;
    height: 40px;
    background-color: white;
    color: black ;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 18px;
    transition: background-color 0.3s ease;
}

.icon-link:hover {
    background-color: #333333;
}

/* استایل بخش آدرس */
.footer-address {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white ;
    font-size: 15px;
    font-weight: 500;
}

.location-icon {
    font-size: 20px;
}

/* بخش کپی رایت سیاه رنگ زیرین */
.footer-bottom {
    background-color: white ;
    color: black ;
    padding: 15px 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    font-size: 13px;
}

.copyright-text {
    text-align: center;
    width: 100%;
}

/* دکمه‌های ثابت سمت راست پایین فوتر */
.bottom-buttons {
    position: absolute;
    left: 40px; /* در حالت RTL دکمه‌ها در سمت چپ/راست تصویر قرار می‌گیرند */
    display: flex;
    gap: 2px;
}

.bottom-buttons button {
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    transition: opacity 0.2s;
}

.bottom-buttons button:hover {
    opacity: 0.9;
}

.scroll-top-btn {
    background-color: #ffffff;
    color: #000000;
}

.contact-btn {
    background-color: #FFCC00;
    color: #000000;
}

/* واکنش‌گرایی برای موبایل */
@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        padding-bottom: 70px; /* فضا برای دکمه‌ها در موبایل */
    }
    
    .bottom-buttons {
        position: static;
    }
}

.main-footer {
    padding: 0px !important;

}
/***********************     شروع پایین فوتر    ********************************/

/***********************     پایان پایین فوتر    ********************************/


/***********************      شروع شبکه اجتماعی شناور     ********************************/
.floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}

.floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

.image-social{
    padding-left: 7px;
}
.social-menu {
    position: fixed;
    bottom: 100px;
    right: 30px;
    display: none;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
}

.social-item {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: white;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.social-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.bale {
    background: #00C19B;
}

.rubika {
    background: #EA3C36;
}

.whatsapp {
    background: #25D366;
}

img.image-social {
    width: 44px;
}
@media (max-width: 768px) {
    .social-menu {
        right: 33px;
        bottom: 90px;
        gap: 8px;
margin-bottom: 5px;
    }
    
    .social-item {
        width: 55px !important;
        height: 55px !important;
    }
    
   .image-social {
        width: 36px !important;
        height: 30px !important;
        padding-left: 7px !important;
        flex-shrink: 0 !important;
    }
    
  
}

/***********************  پایان  شبکه اجتماعی شناور    ********************************/
