/**
 * Partners Page Styles for DH Group Technologies
 * Professional, captivating and modern design
 */

/* Partners Hero Section */
.partners-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0066ff10 0%, #00d4ff10 100%);
    position: relative;
    overflow: hidden;
    margin-top: 80px;
    padding: 4rem 5%;
}

.partners-hero .hero-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.partners-hero h1 {
    font-size: clamp(2.2rem, 4.5vw, 3.3rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    max-width: 400px;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 3rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.hero-stats .stat-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    box-shadow: var(--shadow-soft);
}

.hero-stats .stat-item h3 {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.hero-stats .stat-item p {
    color: var(--text-dark);
    font-weight: 600;
}

/* Partnership Network Visualization */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.partnership-network {
    position: relative;
    width: 400px;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.network-node {
    position: absolute;
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: var(--shadow-medium);
    animation: networkPulse 3s ease-in-out infinite;
}

.main-node {
    width: 120px;
    height: 120px;
    font-size: 3rem;
    z-index: 10;
}

.node-1 { top: 0; left: 50%; transform: translateX(-50%); animation-delay: 0.5s; }
.node-2 { top: 25%; right: 0; animation-delay: 1s; }
.node-3 { bottom: 25%; right: 0; animation-delay: 1.5s; }
.node-4 { bottom: 0; left: 50%; transform: translateX(-50%); animation-delay: 2s; }
.node-5 { top: 25%; left: 0; animation-delay: 2.5s; }

@keyframes networkPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

/* Partnership Values */
.partnership-values {
    padding: 6rem 5%;
    background: var(--bg-light);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2rem;
    color: white;
}

.value-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.value-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Partner Categories */
.partner-categories {
    padding: 6rem 5%;
    background: white;
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.tab-btn {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tab-btn:hover,
.tab-btn.active {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.category-content {
    display: none;
    margin-top: 3rem;
}

.category-content.active {
    display: block;
    animation: fadeInUp 0.6s ease;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

/* No Partners Message */
.no-partners {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
    background: #f8fafc;
    border: 2px dashed #e2e8f0;
    border-radius: 20px;
    grid-column: 1 / -1; /* Take full width of the grid */
    min-height: 300px;
}

.no-partners i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    opacity: 0.7;
}

.no-partners h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.no-partners p {
    font-size: 1rem;
    color: var(--text-light);
    max-width: 400px;
    line-height: 1.6;
}

.partner-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
}

.partner-card.premium {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, #f8faff 0%, #ffffff 100%);
}

.partner-card.premium::before {
    content: '★ Premium';
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient-primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-color);
}

.partner-logo {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1.5rem;
}

.partner-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.partner-type {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.partner-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.partnership-benefits {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.benefit {
    background: rgba(0, 102, 255, 0.1);
    color: var(--primary-color);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Become Partner Section */
.become-partner {
    padding: 6rem 5%;
    background: var(--gradient-dark);
    color: white;
}

.partnership-cta {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-content p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.partnership-types {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.type-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.type-item i {
    color: var(--accent-color);
    font-size: 1.5rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-primary:hover,
.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.cta-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.partnership-illustration {
    position: relative;
    width: 300px;
    height: 300px;
}

.illustration-element {
    position: absolute;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--accent-color);
    backdrop-filter: blur(10px);
    animation: floatUpDown 4s ease-in-out infinite;
}

.illustration-element:nth-child(1) {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.illustration-element:nth-child(2) {
    bottom: 0;
    left: 0;
    animation-delay: 1s;
}

.illustration-element:nth-child(3) {
    bottom: 0;
    right: 0;
    animation-delay: 2s;
}

@keyframes floatUpDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Success Stories */
.success-stories {
    padding: 6rem 5%;
    background: var(--bg-light);
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.story-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease;
}

.story-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.story-header {
    margin-bottom: 1.5rem;
}

.partners-logos {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.partners-logos i {
    font-size: 2rem;
    color: var(--primary-color);
}

.plus {
    font-size: 1.5rem;
    color: var(--text-light);
    font-weight: bold;
}

.story-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.story-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.story-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.metric {
    text-align: center;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 10px;
}

.metric strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.metric span {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 768px) {
    .partners-hero .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .partnership-network {
        width: 300px;
        height: 300px;
    }

    .network-node {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .main-node {
        width: 90px;
        height: 90px;
        font-size: 2rem;
    }

    .category-tabs {
        flex-direction: column;
        align-items: center;
    }

    .partners-grid {
        grid-template-columns: 1fr;
    }

    .partnership-cta {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cta-buttons {
        justify-content: center;
    }

    .stories-grid {
        grid-template-columns: 1fr;
    }

    .story-metrics {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .partners-hero {
        padding: 2rem 3%;
    }

    .partnership-values,
    .partner-categories,
    .become-partner,
    .success-stories {
        padding: 4rem 3%;
    }

    .tab-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .partner-card {
        padding: 1.5rem;
    }
}