/* ========================================
   خدمات سازمانی - استایل کامل
   ======================================== */

:root {
    --corp-primary: #059669;
    --corp-primary-dark: #047857;
    --corp-primary-light: #10b981;
    --corp-primary-soft: #d1fae5;
    --corp-dark: #1e293b;
    --corp-gray: #64748b;
    --corp-light: #f8fafc;
    --corp-white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
    --shadow-md: 0 5px 20px rgba(0,0,0,0.08);
    --radius: 12px;
    --radius-lg: 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.corp-page {
    direction: rtl;
}

.corp-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.corp-section-header {
    text-align: center;
    margin-bottom: 50px;
}

.corp-section-header h2 {
    font-size: 32px;
    color: var(--corp-dark);
    margin-bottom: 10px;
}

.corp-section-header p {
    color: var(--corp-gray);
}

/* ========== هیرو سبز ========== */
.corp-hero {
    background: linear-gradient(135deg, #064e3b, #059669, #10b981, #34d399);
    background-size: 200% 200%;
    animation: gradientBG 12s ease infinite;
    padding: 80px 0;
    position: relative;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.corp-hero__content {
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.corp-hero__text {
    flex: 1;
}

.corp-hero__badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    color: white;
    margin-bottom: 20px;
}

.corp-hero__text h1 {
    font-size: 42px;
    color: white;
    margin-bottom: 20px;
}

.corp-hero__text h1 span {
    color: #fcd34d;
}

.corp-hero__text p {
    font-size: 16px;
    color: rgba(255,255,255,0.9);
    line-height: 1.7;
    margin-bottom: 30px;
}

.corp-hero__stats {
    display: flex;
    gap: 40px;
    margin-bottom: 35px;
}

.corp-hero__stat {
    text-align: center;
}

.corp-hero__stat-number {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: #fcd34d;
}

.corp-hero__stat-label {
    font-size: 13px;
    color: rgba(255,255,255,0.8);
}

.corp-hero__buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.corp-btn {
    padding: 12px 30px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
}

.corp-btn--primary {
    background: #fcd34d;
    color: #064e3b;
}

.corp-btn--primary:hover {
    background: #fbbf24;
    transform: translateY(-2px);
}

.corp-btn--outline {
    border: 2px solid white;
    color: white;
    background: transparent;
}

.corp-btn--outline:hover {
    background: white;
    color: #064e3b;
    transform: translateY(-2px);
}

.corp-hero__image {
    flex: 1;
    text-align: center;
}

.corp-hero__image img {
    max-width: 100%;
}

/* ========== تب‌ها ========== */
.corp-solutions {
    padding: 80px 0;
    background: var(--corp-white);
}

.corp-tabs__buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 40px;
}

.corp-tab__btn {
    padding: 10px 28px;
    background: var(--corp-light);
    border: none;
    border-radius: 40px;
    cursor: pointer;
    font-weight: 600;
    color: var(--corp-gray);
    transition: all 0.3s ease;
    font-size: 15px;
}

.corp-tab__btn:hover {
    background: #e2e8f0;
}

.corp-tab__btn.active {
    background: var(--corp-primary);
    color: white;
}

.corp-solutions__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

/* ========== کارت‌ها ========== */
.corp-solution-card {
    background: var(--corp-white);
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-lg);
    padding: 28px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.corp-solution-card:hover {
    border-color: var(--corp-primary);
    box-shadow: var(--shadow-md);
}

.corp-solution-card__icon {
    font-size: 48px;
    margin-bottom: 18px;
}

.corp-solution-card h3 {
    font-size: 20px;
    color: var(--corp-dark);
    margin-bottom: 12px;
}

.corp-solution-card p {
    color: var(--corp-gray);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.corp-solution-card__features {
    list-style: none;
    margin: 20px 0;
    text-align: right;
}

.corp-solution-card__features li {
    padding: 6px 0;
    color: #475569;
    font-size: 13px;
    padding-right: 20px;
    position: relative;
    text-align: right;
}

.corp-solution-card__features li::before {
    content: "✓";
    position: absolute;
    right: 0;
    color: var(--corp-primary);
    font-weight: bold;
}

.corp-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.corp-card__link {
    color: var(--corp-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: 0.3s;
}

.corp-card__link:hover {
    transform: translateX(-5px);
}

.corp-card__info {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: var(--corp-light);
    cursor: pointer;
    font-size: 16px;
    transition: 0.3s;
}

.corp-card__info:hover {
    background: var(--corp-primary);
    color: white;
    border-color: var(--corp-primary);
}

/* ========== مزایا ========== */
.corp-benefits {
    padding: 80px 0;
    background: var(--corp-light);
}

.corp-benefits__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.corp-benefit {
    background: var(--corp-white);
    padding: 28px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: 0.3s;
    box-shadow: var(--shadow-sm);
}

.corp-benefit:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.corp-benefit__icon {
    font-size: 44px;
    margin-bottom: 15px;
}

.corp-benefit h3 {
    font-size: 18px;
    color: var(--corp-dark);
    margin-bottom: 10px;
}

.corp-benefit p {
    color: var(--corp-gray);
    font-size: 14px;
}

/* ========== فرآیند ========== */
.corp-process {
    padding: 80px 0;
    background: var(--corp-white);
}

.corp-process__steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.corp-step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 30px 20px;
    background: var(--corp-light);
    border-radius: var(--radius-lg);
}

.corp-step__number {
    width: 36px;
    height: 36px;
    background: var(--corp-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-weight: bold;
}

.corp-step__icon {
    font-size: 34px;
    margin-bottom: 12px;
}

.corp-step h3 {
    font-size: 18px;
    color: var(--corp-dark);
    margin-bottom: 8px;
}

.corp-step p {
    color: var(--corp-gray);
    font-size: 13px;
}

/* ========== سوالات متداول ========== */
.corp-faq {
    padding: 80px 0;
    background: var(--corp-light);
}

.corp-faq__grid {
    max-width: 800px;
    margin: 0 auto;
}

.corp-faq-item {
    background: var(--corp-white);
    border-radius: var(--radius);
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.corp-faq__question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    cursor: pointer;
}

.corp-faq__question span {
    font-weight: 600;
    color: var(--corp-dark);
    font-size: 16px;
}

.corp-faq__toggle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: var(--corp-light);
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    color: var(--corp-primary);
    transition: 0.3s;
}

.corp-faq__toggle:hover {
    background: #e2e8f0;
}

.corp-faq__answer {
    display: none;
    padding: 0 24px 20px 24px;
    color: var(--corp-gray);
    line-height: 1.7;
    font-size: 14px;
    border-top: 1px solid #e2e8f0;
}

/* ========== فرم تماس ========== */
.corp-contact {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--corp-primary), var(--corp-primary-dark));
}

.corp-contact__box {
    background: var(--corp-white);
    border-radius: var(--radius-lg);
    padding: 50px;
    box-shadow: var(--shadow-md);
}

.corp-contact__text {
    text-align: center;
    margin-bottom: 40px;
}

.corp-contact__text h2 {
    font-size: 28px;
    color: var(--corp-dark);
    margin-bottom: 12px;
}

.corp-contact__text p {
    color: var(--corp-gray);
}

.corp-contact__form {
    max-width: 700px;
    margin: 0 auto;
}

.corp-form__row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.corp-input,
.corp-textarea {
    flex: 1;
    padding: 14px 18px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 14px;
    transition: 0.3s;
    background: var(--corp-white);
}

.corp-input:focus,
.corp-textarea:focus {
    outline: none;
    border-color: var(--corp-primary);
    box-shadow: 0 0 0 3px rgba(5,150,105,0.1);
}

.corp-textarea {
    width: 100%;
    resize: vertical;
    margin-bottom: 20px;
}

.corp-submit {
    width: 100%;
    padding: 14px;
    background: var(--corp-primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.corp-submit:hover {
    background: var(--corp-primary-dark);
}

/* ========== مودال پاپ‌آپ ========== */
.corp-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.corp-modal__content {
    background: white;
    max-width: 500px;
    width: 90%;
    border-radius: 20px;
    overflow: hidden;
    animation: modalFade 0.3s ease;
}

@keyframes modalFade {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.corp-modal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: var(--corp-primary);
    color: white;
}

.corp-modal__header h3 {
    margin: 0;
    font-size: 20px;
}

.corp-modal__close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.2);
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: 0.3s;
}

.corp-modal__close:hover {
    background: rgba(255,255,255,0.3);
}

.corp-modal__body {
    padding: 24px;
    color: var(--corp-gray);
    line-height: 1.7;
}

/* ========== اسکلتون ========== */
.skeleton-card, .skeleton-benefit, .skeleton-faq {
    background: var(--corp-white);
    border-radius: var(--radius-lg);
    padding: 28px;
    border: 1px solid #e2e8f0;
    animation: pulse 1.2s ease infinite;
}

.skeleton-step {
    background: var(--corp-light);
    border-radius: var(--radius-lg);
    padding: 30px 20px;
    text-align: center;
    animation: pulse 1.2s ease infinite;
}

.skeleton-icon {
    width: 50px;
    height: 50px;
    background: #e2e8f0;
    border-radius: 12px;
    margin: 0 auto 15px;
}

.skeleton-title {
    width: 70%;
    height: 22px;
    background: #e2e8f0;
    border-radius: 8px;
    margin: 0 auto 12px;
}

.skeleton-desc {
    width: 90%;
    height: 40px;
    background: #e2e8f0;
    border-radius: 8px;
    margin: 0 auto 15px;
}

.skeleton-line {
    width: 85%;
    height: 16px;
    background: #e2e8f0;
    border-radius: 6px;
    margin: 8px auto;
}

.skeleton-link {
    width: 40%;
    height: 20px;
    background: #e2e8f0;
    border-radius: 6px;
    margin: 15px auto 0;
}

.skeleton-number {
    width: 36px;
    height: 36px;
    background: #e2e8f0;
    border-radius: 50%;
    margin: 0 auto 15px;
}

.skeleton-question {
    width: 90%;
    height: 24px;
    background: #e2e8f0;
    border-radius: 8px;
    margin: 0 auto;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* ========== ریسپانسیو ========== */
@media (max-width: 992px) {
    .corp-hero__content {
        flex-direction: column;
        text-align: center;
    }
    
    .corp-hero__stats {
        justify-content: center;
    }
    
    .corp-hero__buttons {
        justify-content: center;
    }
    
    .corp-process__steps {
        flex-direction: column;
        max-width: 350px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .corp-container {
        padding: 0 16px;
    }
    
    .corp-section-header h2 {
        font-size: 26px;
    }
    
    .corp-hero__text h1 {
        font-size: 32px;
    }
    
    .corp-solutions__grid {
        grid-template-columns: 1fr;
    }
    
    .corp-benefits__grid {
        grid-template-columns: 1fr;
    }
    
    .corp-form__row {
        flex-direction: column;
    }
    
    .corp-contact__box {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .corp-hero__stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .corp-tab__btn {
        padding: 8px 20px;
        font-size: 13px;
    }
    
    .corp-card__footer {
        flex-direction: column;
        gap: 10px;
    }
}