/* استایل کاملاً مستقل برای فوتر - بدون تداخل با استایل‌های اصلی */
:root {
    --ppk-primary: #1a365d;
    --ppk-primary-dark: #2d3748;
    --ppk-accent: #2b6cb0;
    --ppk-accent-light: #3182ce;
    --ppk-secondary: #dd6b20;
    --ppk-secondary-light: #ed8936;
    --ppk-text-dark: #2d3748;
    --ppk-text-light: #718096;
    --ppk-text-lighter: #a0aec0;
    --ppk-bg-white: #ffffff;
    --ppk-bg-light: #f7fafc;
    --ppk-bg-gray: #edf2f7;
    --ppk-border-light: #e2e8f0;
    --ppk-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --ppk-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --ppk-transition: all 0.3s ease;
}

/* ریست کامل برای کلاس‌های فوتر */
.ppk-footer * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Vazir', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* استایل محتوای اصلی */
.main-content {
    min-height: 100vh;
    background: var(--ppk-bg-light);
    padding: 20px;
}

.content-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding: 40px 20px;
}

.content-container h1 {
    color: var(--ppk-primary);
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.content-container p {
    color: var(--ppk-text-light);
    font-size: 1.2rem;
}

/* استایل اصلی فوتر */
.ppk-footer {
    background: linear-gradient(135deg, var(--ppk-primary) 0%, var(--ppk-primary-dark) 100%);
    color: var(--ppk-bg-white);
    padding: 60px 0 20px;
    position: relative;
    margin-top: 0;
    border-top: 4px solid var(--ppk-secondary);
    direction: rtl;
}

.ppk-footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.ppk-footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
}

/* استایل بخش‌های فوتر */
.ppk-footer-section {
    padding: 0 10px;
}

/* استایل بخش اطلاعات شرکت */
.ppk-info-section {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 30px;
}

.ppk-footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    gap: 15px;
}

.ppk-logo-icon {
    background: linear-gradient(135deg, var(--ppk-secondary), var(--ppk-secondary-light));
    width: 70px;
    height: 70px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--ppk-shadow-lg);
    transition: var(--ppk-transition);
    flex-shrink: 0;
}

.ppk-logo-icon:hover {
    transform: translateY(-5px);
}

.ppk-logo-icon i {
    font-size: 32px;
    color: var(--ppk-bg-white);
}

.ppk-logo-text {
    flex: 1;
}

.ppk-company-name {
    font-size: 24px;
    font-weight: bold;
    display: block;
    margin-bottom: 8px;
    color: var(--ppk-bg-white);
    line-height: 1.3;
}

.ppk-tagline {
    font-size: 15px;
    color: var(--ppk-text-lighter);
    font-weight: 300;
}

.ppk-footer-description {
    margin-bottom: 30px;
    line-height: 1.8;
    color: #e2e8f0;
    text-align: justify;
    font-size: 15px;
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 12px;
    border-right: 3px solid var(--ppk-secondary);
}

/* استایل لینک‌های اجتماعی */
.ppk-social-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.ppk-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--ppk-bg-white);
    transition: var(--ppk-transition);
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.ppk-social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--ppk-secondary), var(--ppk-secondary-light));
    opacity: 0;
    transition: var(--ppk-transition);
    z-index: 1;
}

.ppk-social-link i {
    position: relative;
    z-index: 2;
    font-size: 18px;
}

.ppk-social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.ppk-social-link:hover::before {
    opacity: 1;
}

/* استایل عناوین */
.ppk-footer-title {
    font-size: 20px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    position: relative;
    font-weight: 700;
    color: var(--ppk-bg-white);
}

.ppk-footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--ppk-secondary), transparent);
    border-radius: 2px;
}

/* استایل لینک‌های منو */
.ppk-footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ppk-footer-links li {
    position: relative;
}

.ppk-footer-links a {
    color: #e2e8f0;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--ppk-transition);
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
}

.ppk-footer-links a i {
    color: var(--ppk-secondary);
    font-size: 14px;
    transition: var(--ppk-transition);
    width: 20px;
    text-align: center;
}

.ppk-footer-links a:hover {
    color: var(--ppk-bg-white);
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-8px);
}

.ppk-footer-links a:hover i {
    color: var(--ppk-secondary-light);
    transform: scale(1.2);
}

/* استایل بخش تماس */
.ppk-contact-section {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding-right: 30px;
}

.ppk-footer-contact {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ppk-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: var(--ppk-transition);
    border: 1px solid transparent;
}

.ppk-contact-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateX(-5px);
}

.ppk-contact-icon-wrapper {
    background: linear-gradient(135deg, var(--ppk-secondary), var(--ppk-secondary-light));
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--ppk-transition);
}

.ppk-contact-item:hover .ppk-contact-icon-wrapper {
    transform: scale(1.1);
}

.ppk-contact-icon-wrapper i {
    color: var(--ppk-bg-white);
    font-size: 18px;
}

.ppk-contact-details {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
}

.ppk-contact-label {
    font-size: 13px;
    color: var(--ppk-secondary-light);
    font-weight: 600;
    margin-bottom: 2px;
}

.ppk-contact-text {
    color: #e2e8f0;
    line-height: 1.6;
    font-size: 14px;
    font-weight: 500;
}

/* استایل بخش پایین فوتر */
.ppk-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 25px 0 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.ppk-footer-copyright p {
    color: #cbd5e0;
    font-size: 14px;
    font-weight: 500;
}

.ppk-footer-copyright strong {
    color: var(--ppk-secondary-light);
    font-weight: 700;
}

.ppk-footer-legal {
    display: flex;
    align-items: center;
    gap: 5px;
}

.ppk-footer-legal a {
    color: #cbd5e0;
    text-decoration: none;
    font-size: 14px;
    transition: var(--ppk-transition);
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: 500;
}

.ppk-footer-legal a:hover {
    color: var(--ppk-bg-white);
    background: rgba(255, 255, 255, 0.1);
}

.ppk-separator {
    color: #a0aec0;
    font-size: 12px;
}

/* دکمه بازگشت به بالا */
.ppk-back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--ppk-secondary), var(--ppk-secondary-light));
    color: var(--ppk-bg-white);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    box-shadow: var(--ppk-shadow-lg);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--ppk-transition);
    transform: translateY(20px);
    font-family: inherit;
}

.ppk-back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.ppk-back-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 12px 25px rgba(221, 107, 32, 0.4);
}

.ppk-back-to-top i {
    font-size: 20px;
}

/* رسپانسیو برای تبلت */
@media (max-width: 1024px) {
    .ppk-footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px 30px;
    }
    
    .ppk-info-section {
        grid-column: 1 / -1;
        border-left: none;
        padding-left: 10px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 40px;
    }
    
    .ppk-contact-section {
        border-right: none;
        padding-right: 10px;
    }
    
    .ppk-footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

/* رسپانسیو برای موبایل */
@media (max-width: 768px) {
    .ppk-footer {
        padding: 40px 0 20px;
    }
    
    .ppk-footer-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    
    .ppk-footer-logo {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .ppk-logo-icon {
        width: 80px;
        height: 80px;
    }
    
    .ppk-logo-icon i {
        font-size: 36px;
    }
    
    .ppk-company-name {
        font-size: 22px;
    }
    
    .ppk-footer-description {
        padding: 15px;
        font-size: 14px;
    }
    
    .ppk-social-links {
        justify-content: center;
    }
    
    .ppk-footer-title {
        font-size: 18px;
        text-align: center;
    }
    
    .ppk-footer-title::after {
        right: 50%;
        transform: translateX(50%);
    }
    
    .ppk-footer-links a {
        justify-content: center;
        text-align: center;
    }
    
    .ppk-contact-item {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .ppk-contact-icon-wrapper {
        align-self: center;
    }
    
    .ppk-back-to-top {
        bottom: 20px;
        left: 20px;
        width: 50px;
        height: 50px;
    }
}

/* رسپانسیو برای موبایل‌های کوچک */
@media (max-width: 480px) {
    .ppk-footer-container {
        padding: 0 15px;
    }
    
    .ppk-footer {
        padding: 30px 0 15px;
    }
    
    .ppk-footer-section {
        padding: 0 5px;
    }
    
    .ppk-footer-title {
        font-size: 17px;
    }
    
    .ppk-footer-links a {
        font-size: 14px;
        padding: 8px 12px;
    }
    
    .ppk-footer-copyright p {
        font-size: 13px;
    }
    
    .ppk-footer-legal {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .ppk-back-to-top {
        bottom: 15px;
        left: 15px;
        width: 46px;
        height: 46px;
        border-radius: 12px;
    }
    
    .ppk-back-to-top i {
        font-size: 18px;
    }
}