/* Partners Page - Modern Innovative Design */
.partners-hero {
    background: linear-gradient(135deg, #6fa828 0%, #93c33b 100%);
    color: var(--pure-white);
    padding: 8rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.partners-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.08'%3E%3Cpath d='M40 40c0-11.046-8.954-20-20-20s-20 8.954-20 20 8.954 20 20 20 20-8.954 20-20zm-20-16c8.837 0 16 7.163 16 16s-7.163 16-16 16-16-7.163-16-16 7.163-16 16-16z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    animation: float-partners 25s linear infinite;
}

.partners-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
}

.hero-partnerships-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.75rem 2rem;
    border-radius: 3rem;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    animation: badge-pulse 3s ease-in-out infinite;
}

.partners-intro {
    padding: var(--spacing-3xl) 0;
    background: var(--cloud-white);
}

.partners-grid {
    padding: var(--spacing-4xl) 0;
    background: var(--pure-white);
}

.partner-category {
    margin-bottom: var(--spacing-4xl);
    padding: var(--spacing-2xl) 0;
}

.category-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
    padding: var(--spacing-xl) 0;
}

.category-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--charcoal);
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-md) 0;
}

.category-subtitle {
    font-size: 1.1rem;
    color: var(--dark-green);
    margin-bottom: var(--spacing-2xl);
    padding-bottom: var(--spacing-lg);
}

.logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-xl);
    max-width: 1200px;
    margin: 0 auto;
}

.partner-logo-card {
    background: var(--pure-white);
    border: 2px solid rgba(147, 195, 59, 0.1);
    border-radius: 1rem;
    padding: var(--spacing-xl);
    text-align: center;
    transition: all 0.3s ease;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.partner-logo-card:hover {
    border-color: var(--primary-green);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(147, 195, 59, 0.15);
}

.partner-logo {
    max-width: 120px;
    max-height: 60px;
    object-fit: contain;
    margin-bottom: var(--spacing-sm);
}

.partner-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: var(--spacing-xs);
}

.partner-description {
    font-size: 0.875rem;
    color: var(--dark-green);
    line-height: 1.4;
}

.partnership-benefits {
    padding: var(--spacing-4xl) 0;
    background: linear-gradient(135deg, #f8f9fa 0%, var(--cloud-white) 100%);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-3xl);
    margin-top: var(--spacing-3xl);
    padding: 0 var(--spacing-lg);
}

.benefit-card {
    background: var(--pure-white);
    padding: var(--spacing-2xl);
    border-radius: 1rem;
    text-align: center;
    border: 1px solid rgba(147, 195, 59, 0.1);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-lg);
}

.benefit-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: var(--spacing-md);
}

.benefit-description {
    color: var(--dark-green);
    line-height: 1.6;
}

.partner-cta {
    padding: var(--spacing-4xl) 0;
    background: linear-gradient(135deg, var(--dark-green) 0%, var(--primary-green) 100%);
    color: var(--pure-white);
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-button {
    background: var(--pure-white);
    color: var(--dark-green);
    padding: var(--spacing-lg) var(--spacing-2xl);
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin-top: var(--spacing-xl);
}

.cta-button:hover {
    background: var(--cloud-white);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Animations */
@keyframes float {
    from { transform: translateY(0px); }
    to { transform: translateY(-10px); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .partners-hero {
        padding: var(--spacing-2xl) 0;
    }
    
    .logos-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: var(--spacing-lg);
    }
    
    .partner-logo-card {
        padding: var(--spacing-lg);
        min-height: 120px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .category-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .logos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .partner-logo {
        max-width: 100px;
        max-height: 50px;
    }
}
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.category-card {
    background: var(--cloud-white);
    padding: var(--spacing-xl);
    border-radius: 1rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.category-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

.featured-partners {
    padding: var(--spacing-2xl) 0;
    background: var(--cloud-white);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.partner-card {
    background: var(--pure-white);
    padding: var(--spacing-lg);
    border-radius: 1rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.partner-card:hover {
    transform: translateY(-3px);
}

.partner-logo {
    height: 80px;
    margin-bottom: var(--spacing-md);
    background: var(--cloud-white);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--digital-blue);
}

.partnership-benefits {
    padding: var(--spacing-2xl) 0;
    background: var(--charcoal);
    color: var(--pure-white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.benefit-item {
    text-align: center;
    padding: var(--spacing-lg);
}

.cta-section {
    padding: var(--spacing-2xl) 0;
    background: var(--vibrant-green);
    color: var(--pure-white);
    text-align: center;
}

/* Modern Partners Hero Styling */
.partners-hero h1 {
    font-size: clamp(3rem, 7vw, 5rem);
    font-weight: 900;
    margin-bottom: 1rem;
    color: var(--pure-white);
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.partners-hero h2 {
    font-size: 1.6rem !important;
    font-weight: 700 !important;
    margin: 1.5rem 0 2rem 0 !important;
    opacity: 0.95;
    line-height: 1.4;
}

.partners-hero p {
    font-size: 1.3rem !important;
    line-height: 1.7 !important;
    opacity: 0.95;
    margin-bottom: 1.5rem !important;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Partners Grid - Modern Design */
.partners-grid {
    padding: 8rem 0 !important;
    background: linear-gradient(135deg, #f8fffe 0%, #ffffff 50%, #f0f7f0 100%) !important;
    position: relative;
}

.partners-grid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%2393c33b' stroke-width='1' opacity='0.03'%3E%3Cpath d='M50 0v100M0 50h100'/%3E%3C/g%3E%3C/svg%3E") repeat;
}

.partners-section-header {
    text-align: center;
    padding: 4rem 0 3rem 0;
    position: relative;
    z-index: 2;
}

.partners-main-badge {
    display: inline-block;
    background: linear-gradient(135deg, #93c33b, #6fa828);
    color: var(--pure-white);
    padding: 0.75rem 2rem;
    border-radius: 2rem;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    box-shadow: 0 6px 20px rgba(147, 195, 59, 0.3);
}

.partners-main-title {
    font-size: clamp(2.5rem, 6vw, 4rem) !important;
    font-weight: 900 !important;
    background: linear-gradient(135deg, #2d3748, #93c33b);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    margin-bottom: 1.5rem !important;
    line-height: 1.3;
}

.partners-main-description {
    font-size: 1.3rem !important;
    color: var(--slate-grey) !important;
    line-height: 1.8 !important;
    max-width: 700px !important;
    margin: 0 auto 2rem auto !important;
}

/* Partner Categories - Modern Design */
.partner-category {
    margin-bottom: 5rem;
    position: relative;
    z-index: 2;
}

.category-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--pure-white);
    border-radius: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(147, 195, 59, 0.1);
}

.category-title {
    font-size: 2rem !important;
    font-weight: 800 !important;
    color: var(--charcoal) !important;
    margin-bottom: 1rem !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.category-subtitle {
    font-size: 1.1rem !important;
    color: var(--slate-grey) !important;
    line-height: 1.6 !important;
    max-width: 600px;
    margin: 0 auto;
}

/* Partner Logo Cards - Enhanced Design */
.logos-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 2rem !important;
    margin-top: 2rem;
}

.partner-logo-card {
    background: var(--pure-white);
    padding: 2.5rem;
    border-radius: 2rem;
    border: 2px solid rgba(147, 195, 59, 0.1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.partner-logo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #93c33b, #6fa828);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.partner-logo-card:hover::before {
    transform: scaleX(1);
}

.partner-logo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(147, 195, 59, 0.2);
    border-color: var(--primary-green);
}

.partner-logo {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 80px !important;
    height: 80px !important;
    margin: 0 auto 1.5rem auto !important;
    border-radius: 1.5rem !important;
    font-size: 1.5rem !important;
    font-weight: 800 !important;
    transition: transform 0.3s ease !important;
}

.partner-logo-card:hover .partner-logo {
    transform: scale(1.05) rotate(2deg);
}

.partner-name {
    font-size: 1.3rem !important;
    font-weight: 800 !important;
    color: var(--charcoal) !important;
    margin-bottom: 0.75rem !important;
    line-height: 1.4;
}

.partner-description {
    color: var(--slate-grey) !important;
    line-height: 1.6 !important;
    font-size: 1rem !important;
}

/* Partnership Benefits - Modern Design */
.partnership-benefits {
    padding: 8rem 0 !important;
    background: var(--pure-white) !important;
    position: relative;
}

.benefits-section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.benefits-badge {
    display: inline-block;
    background: linear-gradient(135deg, #93c33b, #6fa828);
    color: var(--pure-white);
    padding: 0.75rem 2rem;
    border-radius: 2rem;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    box-shadow: 0 6px 20px rgba(147, 195, 59, 0.3);
}

.benefits-main-title {
    font-size: clamp(2.5rem, 6vw, 4rem) !important;
    font-weight: 900 !important;
    background: linear-gradient(135deg, #2d3748, #93c33b);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    margin-bottom: 1.5rem !important;
    line-height: 1.3;
}

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

.benefit-card {
    background: linear-gradient(135f, #f8fffe 0%, #ffffff 100%);
    padding: 2.5rem;
    border-radius: 2rem;
    border: 2px solid rgba(147, 195, 59, 0.1);
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(147, 195, 59, 0.15);
    border-color: var(--primary-green);
}

.benefit-icon {
    font-size: 3.5rem !important;
    margin-bottom: 1.5rem !important;
    display: block;
    filter: drop-shadow(0 4px 15px rgba(147, 195, 59, 0.3));
}

.benefit-title {
    font-size: 1.4rem !important;
    font-weight: 800 !important;
    color: var(--charcoal) !important;
    margin-bottom: 1rem !important;
    line-height: 1.4;
}

.benefit-description {
    color: var(--slate-grey) !important;
    line-height: 1.7 !important;
    font-size: 1rem !important;
}

/* Partner CTA - Enhanced Design */
.partner-cta {
    padding: 8rem 0 !important;
    background: linear-gradient(135deg, #93c33b 0%, #6fa828 100%) !important;
    color: var(--pure-white) !important;
    text-align: center !important;
    position: relative;
    overflow: hidden;
}

.partner-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.08'%3E%3Cpath d='M40 40c0-11.046-8.954-20-20-20s-20 8.954-20 20 8.954 20 20 20 20-8.954 20-20zm-20-16c8.837 0 16 7.163 16 16s-7.163 16-16 16-16-7.163-16-16 7.163-16 16-16z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    animation: float-partners 25s linear infinite;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.partner-cta h2 {
    font-size: clamp(2.5rem, 6vw, 4rem) !important;
    font-weight: 900 !important;
    margin-bottom: 1.5rem !important;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.partner-cta p {
    font-size: 1.3rem !important;
    line-height: 1.7 !important;
    margin-bottom: 1.5rem !important;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

.cta-button {
    background: var(--pure-white) !important;
    color: var(--primary-green) !important;
    padding: 1.2rem 3rem !important;
    border-radius: 3rem !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    font-size: 1.2rem !important;
    display: inline-block !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
    margin: 2rem 0 !important;
}

.cta-button:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3) !important;
    background: rgba(255, 255, 255, 0.95) !important;
}

/* Animations */
@keyframes float-partners {
    0% { transform: translateX(-50px); }
    100% { transform: translateX(0px); }
}

@keyframes badge-pulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .logos-grid,
    .benefits-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    .partner-logo-card,
    .benefit-card {
        padding: 2rem;
    }
    
    .partners-hero {
        padding: 4rem 0;
    }
    
    .partners-grid,
    .partnership-benefits,
    .partner-cta {
        padding: 4rem 0 !important;
    }
    
    .partner-category {
        margin-bottom: 3rem;
    }
}

@media (max-width: 480px) {
    .hero-partnerships-badge,
    .partners-main-badge,
    .benefits-badge {
        padding: 0.6rem 1.5rem;
        font-size: 0.8rem;
    }
    
    .partner-logo {
        width: 70px !important;
        height: 70px !important;
        font-size: 1.3rem !important;
    }
}