/* Root Variables - Black Theme */
:root {
    --primary-color: #212529;
    --primary-hover: #000000;
    --primary-light: #f8f9fa;
    --primary-dark: #000000;
    --secondary-color: #333;
    --accent-color: #212529;
    --accent-secondary: #000000;
    --text-color: #333;
    --text-light: #666;
    --bg-light: #f9f9f9;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --gradient-primary: linear-gradient(135deg, #212529 0%, #000000 100%);
}

/* Full Width Wrapper */
.collaborations-wrapper {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* Hero Section */
.collaborations-hero {
    background: var(--gradient-primary);
    color: white;
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.collaborations-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    position: relative;
    z-index: 1;
}

.collaborations-title {
    font-size: 64px;
    font-weight: 300;
    font-family: Georgia, 'Times New Roman', Times, serif;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 4px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}


.accent-line {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, white, transparent);
    margin: 0 auto;
    opacity: 0;
    animation: fadeInScale 0.8s ease 0.4s forwards;
}

/* Content Sections */
.content-section {
    padding: 80px 0;
    width: 100%;
}

.content-section:nth-child(even) {
    background-color: var(--bg-light);
}

.section-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 48px;
    font-weight: 300;
    font-family: Georgia, 'Times New Roman', Times, serif;
    color: var(--secondary-color);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Introduction Section */
.intro-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.intro-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 30px;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.benefit-card {
    background: white;
    padding: 50px 40px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid #eee;
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-hover));
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    border-color: #000000;
}

.benefit-card:hover::before {
    transform: translateX(0);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
}

.benefit-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif;
}

.benefit-text {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.6;
}

/* Collaboration Types Grid */
.types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.type-card {
    background: white;
    padding: 50px 40px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.type-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.type-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
    border-color: #000000;
}

.type-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--primary-color);
    background: rgba(33, 37, 41, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.type-card:hover .type-icon {
    background: #000000;
    color: white;
    transform: rotateY(360deg);
}

.type-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
}

.type-description {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, #212529 0%, #000000 100%);
    padding: 100px 0;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(33, 37, 41, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.contact-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 30px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.contact-title {
    font-size: 56px;
    font-weight: 300;
    font-family: Georgia, 'Times New Roman', Times, serif;
    color: white;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.contact-text {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 50px;
    line-height: 1.8;
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.contact-email {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    font-size: 32px;
    color: white;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
}

.contact-email::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s ease;
}

.contact-email:hover {
    color: rgba(255, 255, 255, 0.8);
    transform: scale(1.05);
}

.contact-email:hover::after {
    width: 100%;
}

.contact-email i {
    font-size: 36px;
    color: white;
}

.cta-button {
    display: inline-block;
    margin-top: 40px;
    padding: 20px 60px;
    background: #000000;
    color: white;
    text-decoration: none;
    border-radius: 0;
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: none;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #333333;
    transition: width 0.3s ease;
    z-index: -1;
}

.cta-button:hover {
    background: #333333;
    color: white;
}

.cta-button:hover::before {
    width: 100%;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Visible class for JS animations */
.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* RTL Styles */
[dir="rtl"] .collaborations-title,
[dir="rtl"] .section-title,
[dir="rtl"] .contact-title {
    letter-spacing: normal;
}

[dir="rtl"] .contact-email:hover {
    transform: scale(1.05);
}

[dir="rtl"] .type-card:hover .type-icon {
    transform: rotateY(-360deg);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .types-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }
}

@media (max-width: 768px) {
    .collaborations-hero {
        padding: 80px 0;
    }

    .collaborations-title {
        font-size: 42px;
        letter-spacing: 2px;
    }

    .section-title {
        font-size: 36px;
    }

    .contact-title {
        font-size: 40px;
    }

    .contact-email {
        font-size: 24px;
    }

    .benefits-grid,
    .types-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .content-section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .collaborations-title {
        font-size: 32px;
        letter-spacing: 1px;
    }

    .section-title {
        font-size: 28px;
    }

    .contact-email {
        font-size: 20px;
    }

    .cta-button {
        padding: 15px 40px;
        font-size: 16px;
    }
}

