/* =================================================================
   Cooperation Page Styles
   ================================================================= */

/* --- Hero Section --- */
.cooperation-hero .subhero-image img {
    max-width: 500px;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* --- General Section Styling --- */
.cooperation-section {
    padding: 80px 0;
}

.cooperation-section.bg-light {
    background-color: #f9fafb;
}

.cooperation-section .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.cooperation-section .section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.cooperation-section .section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}


/* --- Why Partner With Us Section --- */
.why-partner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.why-partner-item {
    background: #fff;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.why-partner-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.why-partner-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: block;
}

.why-partner-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.why-partner-item p {
    color: #555;
    line-height: 1.6;
}

/* --- Cooperation Types (Tabs) --- */
.cooperation-types-container {
    max-width: 1100px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.07);
    overflow: hidden;
}

.cooperation-tabs {
    display: flex;
    background: #f1f5f9;
    padding: 10px;
    border-bottom: 1px solid #e2e8f0;
}

.coop-tab-link {
    flex: 1;
    padding: 15px 20px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: #334155;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 0 5px;
}

.coop-tab-link:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.coop-tab-link.active {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 15px rgba(25, 118, 210, 0.3);
}

.coop-tab-link i {
    margin-right: 10px;
}

.coop-tab-content {
    padding: 40px;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.coop-content-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
}

.coop-content-text {
    flex: 1;
}

.coop-content-text h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1e293b;
}

.coop-content-text p {
    font-size: 1.1rem;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 25px;
}

.coop-content-text ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.coop-content-text ul li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    font-size: 1.05rem;
    color: #334155;
}

.coop-content-text ul li i {
    color: #22c55e;
    margin-right: 12px;
    margin-top: 5px;
}

.coop-content-image {
    flex: 0 0 40%;
}

.coop-content-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.btn.btn-primary {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn.btn-primary:hover {
    background-color: var(--primary-color-dark);
    transform: translateY(-2px);
    box-shadow: 0 7px 20px rgba(25, 118, 210, 0.25);
}


/* --- Cooperation Process Timeline --- */
.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.process-timeline::after {
    content: '';
    position: absolute;
    width: 3px;
    background-color: var(--primary-color-light);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1.5px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

.timeline-dot {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: white;
    border: 4px solid var(--primary-color);
    top: 30px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -10px;
}

.timeline-content {
    padding: 20px 30px;
    background-color: #f9fafb;
    position: relative;
    border-radius: 8px;
    border: 1px solid #eee;
}

.timeline-item:nth-child(odd) .timeline-content::after {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    right: -10px;
    border: medium solid transparent;
    border-width: 10px;
    border-left-color: #f9fafb;
}


.timeline-item:nth-child(even) .timeline-content::after {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    left: -10px;
    border: medium solid transparent;
    border-width: 10px;
    border-right-color: #f9fafb;
}

.step-number {
    position: absolute;
    top: -15px;
    background: var(--primary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
}

.timeline-item:nth-child(odd) .step-number {
    right: 30px;
}
.timeline-item:nth-child(even) .step-number {
    left: 30px;
}


.timeline-content h3 {
    margin-top: 15px;
    font-size: 1.4rem;
    font-weight: 600;
}

.timeline-content p {
    color: #555;
    margin-top: 10px;
}


/* --- Contact Form Section --- */
.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.07);
}

.cooperation-form .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.cooperation-form .form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.cooperation-form label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #334155;
}

.cooperation-form input,
.cooperation-form select,
.cooperation-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.cooperation-form input:focus,
.cooperation-form select:focus,
.cooperation-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.2);
}

.cooperation-form textarea {
    resize: vertical;
}

.cooperation-form .form-submit {
    text-align: center;
    margin-top: 20px;
}

/* --- Responsive adjustments --- */
@media (max-width: 992px) {
    .coop-content-wrapper {
        flex-direction: column;
    }
    .coop-content-image {
        margin-top: 30px;
        flex-basis: auto;
        width: 100%;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .cooperation-section {
        padding: 60px 0;
    }
    .cooperation-tabs {
        flex-direction: column;
    }
    .coop-tab-link {
        margin-bottom: 5px;
    }

    .process-timeline::after {
        left: 10px;
    }
    .timeline-item {
        width: 100%;
        padding-left: 50px;
        padding-right: 0px;
    }
    .timeline-item:nth-child(even),
    .timeline-item:nth-child(odd) {
        left: 0;
        text-align: left;
    }
    .timeline-item:nth-child(odd) .timeline-dot,
    .timeline-item:nth-child(even) .timeline-dot {
        left: 0;
    }
    .timeline-item:nth-child(odd) .step-number,
    .timeline-item:nth-child(even) .step-number {
        left: 30px;
    }

    .timeline-item:nth-child(odd) .timeline-content::after,
    .timeline-item:nth-child(even) .timeline-content::after {
        content: " ";
        height: 0;
        position: absolute;
        top: 22px;
        width: 0;
        z-index: 1;
        left: -10px;
        border: medium solid transparent;
        border-width: 10px;
        border-right-color: #f9fafb;
        border-left-color: transparent;
    }
    
    .cooperation-form .form-row {
        flex-direction: column;
        gap: 0;
    }
     .cooperation-form .form-group {
        margin-bottom: 20px;
    }
} 