/* Extracted from WordPress page 990: Partners. */

/* ── Floating Animation Definition ────────────────────────────── */
@keyframes ezPartnersFloat {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px); /* Float height */
    }
    100% {
        transform: translateY(0px);
    }
}

/* ── Partners Hero Section ────────────────────────────────── */
.ez-partners-wrapper { 
    position: relative; 
    padding: 80px 0; 
    overflow: hidden; 
    background: transparent; 
}

.ez-partners-wrapper .ez-container { 
    display: flex; 
    flex-wrap: wrap; 
    align-items: center; 
    gap: 60px; 
    position: relative; 
    z-index: 10; 
}

/* Background Blobs (Using Global CSS Variables) */
.ez-partners-blob { 
    position: absolute; 
    width: 600px; 
    height: 600px; 
    border-radius: 50%; 
    filter: blur(100px); 
    opacity: .4; 
    z-index: 1; 
    pointer-events: none; 
}
.ez-partners-blob--orange { background: var(--ez-orange-soft); top: -200px; right: -100px; }
.ez-partners-blob--blue   { background: var(--ez-blue-soft);   bottom: -200px; left: -100px; }

/* Badge override for this specific section spacing */
.ez-partners-wrapper .ez-badge { 
    margin: 40px 0 14px; 
    width: fit-content; 
}

/* Columns */
.ez-partners-col-left  { flex: 1.2; min-width: 300px; display: flex; flex-direction: column; }
.ez-partners-col-right { flex: 1; min-width: 300px; display: flex; justify-content: center; align-items: center; }

/* Typography */
.ez-partners-title { 
    font-size: 56px; 
    font-weight: 900; 
    line-height: 1.1; 
    color: var(--ez-text); 
    margin-bottom: 24px; 
    letter-spacing: -1px; 
}
.ez-partners-title-gradient { 
    background: linear-gradient(90deg, var(--ez-orange), var(--ez-red)); 
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent; 
    background-clip: text; 
}
.ez-partners-desc { 
    font-size: 18px; 
    color: var(--ez-gray); 
    line-height: 1.6; 
    margin-bottom: 40px; 
    max-width: 500px; 
}

/* Buttons */
.ez-partners-btn-group { 
    display: flex; 
    gap: 16px; 
    flex-wrap: wrap; 
    margin-bottom: 40px; 
}

/* Trust Items (Bottom List) */
.ez-partners-trust { 
    display: flex; 
    gap: 40px; 
    margin-top: 10px; 
}
.ez-partners-trust-item { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    font-size: 14px; 
    font-weight: 600; 
    color: var(--ez-light); 
}
.ez-partners-trust-item svg { 
    color: var(--ez-green); 
    flex-shrink: 0; 
}

/* ── Image Style with Floating Animation ──────────────────────── */
.ez-partners-image { 
    width: 100%; 
    height: auto; 
    max-width: 650px; 
    display: block; 
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.1)); 
    
    /* Animation attachment: name, duration, easing, infinite loop */
    animation: ezPartnersFloat 6s ease-in-out infinite; 
}

/* Hide Mobile Image on Desktop */
.ez-partners-mobile-img { 
    display: none; 
}

/* Responsive - Tablet & Mobile Adjustments */
@media (max-width: 992px) {
    .ez-partners-wrapper .ez-container { flex-direction: column; text-align: center; gap: 20px; }
    .ez-partners-col-left, .ez-partners-col-right { width: 100%; min-width: 100%; }
    
    /* Hide the original desktop right column */
    .ez-partners-col-right { display: none; }
    
    /* Show the mobile image anchor between title and description */
    .ez-partners-mobile-img { display: block; width: 100%; margin: 20px 0; }
    
    /* Center Badge on mobile */
    .ez-partners-wrapper .ez-badge { margin: 40px auto 14px; align-self: center; }

    .ez-partners-title { font-size: 40px; margin-bottom: 10px; }
    .ez-partners-desc { margin: 20px auto 30px; }
    .ez-partners-btn-group { justify-content: center; }
    
    /* Stack Trust Items on smaller screens */
    .ez-partners-trust { flex-direction: column; align-items: flex-start; gap: 15px; margin: 0 auto; width: fit-content; }
    .ez-partners-trust-item { width: 100%; text-align: left; }
}

@media (max-width: 768px) {
    .ez-partners-wrapper { padding: 40px 0; }
    .ez-partners-title { font-size: 32px; }
    .ez-partners-btn-group { flex-direction: column; width: 100%; }
}

/* ============================================================
   EZ PIN - PARTNERS PAGE - RESELLERS SECTION (ANIMATED)
   ============================================================ */

/* --- Section outer padding --- */
.ez-resellers-section {
    padding: 60px 0 70px;
    position: relative;
    background: 
        radial-gradient(circle at 20% 30%, rgba(242, 103, 42, 0.4) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(59, 130, 246, 0.4) 0%, transparent 45%),
        radial-gradient(circle at 50% 50%, rgba(242, 103, 42, 0.08) 0%, transparent 50%),
        linear-gradient(135deg, rgba(240, 249, 255, 0.6) 0%, rgba(224, 242, 254, 0.4) 100%);
}

/* --- Main card --- */
.ez-resellers-premium {
    border-radius: var(--ez-r-xl);
    padding: 70px 80px;
    color: var(--ez-white);
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: linear-gradient(135deg, var(--ez-dark) 0%, #0a1f2e 50%, #0d2a3d 100%);
    box-shadow:
        0 40px 100px rgba(18, 52, 77, 0.5),
        0 0 0 1px rgba(255,255,255,0.07),
        inset 0 1px 0 rgba(255,255,255,0.1);
}

/* ============================================================
   DECORATION 1: Pulsing border glow layer
   ============================================================ */
.ez-deco-border-glow {
    position: absolute;
    inset: -1px;
    border-radius: var(--ez-r-xl);
    background: linear-gradient(
        135deg,
        rgba(242, 103, 42, 0.5) 0%,
        transparent 30%,
        transparent 70%,
        rgba(242, 103, 42, 0.3) 100%
    );
    z-index: 0;
    animation: ez-border-glow-pulse 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes ez-border-glow-pulse {
    0%, 100% { opacity: 0.6; }
    50%        { opacity: 1; }
}

/* ============================================================
   DECORATION 2: Inner mask to restore dark background
   ============================================================ */
.ez-deco-border-mask {
    position: absolute;
    inset: 2px;
    border-radius: calc(var(--ez-r-xl) - 2px);
    background: linear-gradient(135deg, var(--ez-dark) 0%, #0a1f2e 50%, #0d2a3d 100%);
    z-index: 0;
    pointer-events: none;
}

/* ============================================================
   DECORATION 3: Large ambient orange orb (top-right)
   ============================================================ */
.ez-deco-orb-main {
    position: absolute;
    top: -60px;
    right: 80px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle,
        rgba(242, 103, 42, 0.18) 0%,
        rgba(242, 103, 42, 0.08) 40%,
        transparent 70%
    );
    border-radius: 50%;
    filter: blur(30px);
    z-index: 0;
    animation: ez-orb-breathe 6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes ez-orb-breathe {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50%        { transform: scale(1.15); opacity: 1; }
}

/* ============================================================
   DECORATION 4: Grid dot pattern overlay
   ============================================================ */
.ez-deco-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: 0;
    -webkit-mask-image: radial-gradient(ellipse at 60% 50%, black 20%, transparent 70%);
    mask-image: radial-gradient(ellipse at 60% 50%, black 20%, transparent 70%);
    pointer-events: none;
}

/* ============================================================
   DECORATION 5: Shimmer sweep
   ============================================================ */
.ez-deco-shimmer {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        transparent 35%,
        rgba(242, 103, 42, 0.06) 47%,
        rgba(255, 255, 255, 0.08) 50%,
        rgba(242, 103, 42, 0.06) 53%,
        transparent 65%
    );
    background-size: 300% 100%;
    background-position: 200% center;
    z-index: 0;
    animation: ez-shimmer 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes ez-shimmer {
    0%   { background-position: 200% center; opacity: 0; }
    10%  { opacity: 1; }
    60%  { background-position: -100% center; opacity: 1; }
    75%  { opacity: 0; }
    100% { background-position: -100% center; opacity: 0; }
}

/* ============================================================
   DECORATION 6: Rotating ring top-right
   ============================================================ */
.ez-deco-ring {
    position: absolute;
    top: -120px;
    right: -120px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    border: 2px solid rgba(242, 103, 42, 0.25);
    z-index: 0;
    animation: ez-ring-spin 20s linear infinite;
    pointer-events: none;
}

.ez-deco-ring::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border-radius: 50%;
    border: 1px solid rgba(242, 103, 42, 0.15);
}

.ez-deco-ring::after {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    width: 16px;
    height: 16px;
    background: var(--ez-orange);
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow:
        0 0 20px 6px rgba(242, 103, 42, 0.6),
        0 0 40px 12px rgba(242, 103, 42, 0.3);
    animation: ez-dot-glow 2s ease-in-out infinite;
}

@keyframes ez-ring-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

@keyframes ez-dot-glow {
    0%, 100% {
        box-shadow:
            0 0 20px 6px rgba(242,103,42,0.6),
            0 0 40px 12px rgba(242,103,42,0.3);
    }
    50% {
        box-shadow:
            0 0 30px 10px rgba(242,103,42,0.9),
            0 0 60px 20px rgba(242,103,42,0.5);
    }
}

/* ============================================================
   DECORATION 7: Counter-rotating ring bottom-left
   ============================================================ */
.ez-deco-ring-2 {
    position: absolute;
    bottom: -100px;
    left: -80px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 1px solid rgba(242, 103, 42, 0.12);
    z-index: 0;
    animation: ez-ring-spin-reverse 25s linear infinite;
    pointer-events: none;
}

.ez-deco-ring-2::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    width: 12px;
    height: 12px;
    background: rgba(242, 103, 42, 0.8);
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 15px 4px rgba(242, 103, 42, 0.5);
}

@keyframes ez-ring-spin-reverse {
    from { transform: rotate(360deg); }
    to   { transform: rotate(0deg); }
}

/* ============================================================
   DECORATION 8: Floating particles
   ============================================================ */
.ez-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(242, 103, 42, 0.7);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
    box-shadow: 0 0 6px 2px rgba(242, 103, 42, 0.4);
}

.ez-particle-1 {
    top: 20%;
    right: 25%;
    animation: ez-particle-float 7s ease-in-out infinite;
}

.ez-particle-2 {
    top: 60%;
    right: 35%;
    width: 6px;
    height: 6px;
    animation: ez-particle-float 9s ease-in-out infinite 1s;
    opacity: 0.6;
}

.ez-particle-3 {
    top: 40%;
    right: 15%;
    width: 3px;
    height: 3px;
    animation: ez-particle-float 11s ease-in-out infinite 2s;
}

.ez-particle-4 {
    top: 75%;
    right: 45%;
    animation: ez-particle-float 8s ease-in-out infinite 3s;
    opacity: 0.5;
}

.ez-particle-5 {
    top: 15%;
    right: 42%;
    width: 5px;
    height: 5px;
    animation: ez-particle-float 10s ease-in-out infinite 0.5s;
    opacity: 0.8;
}

@keyframes ez-particle-float {
    0%, 100% { transform: translateY(0) translateX(0); opacity: 0.7; }
    25%       { transform: translateY(-20px) translateX(10px); opacity: 1; }
    50%       { transform: translateY(-10px) translateX(-8px); opacity: 0.5; }
    75%       { transform: translateY(-30px) translateX(5px); opacity: 0.9; }
}

/* ============================================================
   CONTENT: All direct children above decoration layers
   ============================================================ */
.ez-resellers-info,
.ez-resellers-tags {
    position: relative;
    z-index: 3;
}

/* ============================================================
   LEFT: Info block
   ============================================================ */
.ez-resellers-info {
    flex: 1.2;
}

.ez-resellers-info h3 {
    -webkit-text-fill-color: var(--ez-white);
    background: none;
    color: var(--ez-white);
    font-size: 52px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 0;
    letter-spacing: -2px;
    text-shadow: 0 0 40px rgba(242, 103, 42, 0.3);
    animation: ez-title-entrance 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.ez-resellers-info h3.ez-h2-laser::before,
.ez-resellers-info h3.ez-h2-laser::after {
    display: none;
}

/* Orange accent line under title */
.ez-resellers-info h3::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--ez-orange), rgba(242,103,42,0));
    border-radius: 2px;
    margin-top: 18px;
    margin-bottom: 28px;
    -webkit-text-fill-color: unset;
    animation: ez-line-grow 1s cubic-bezier(0.16,1,0.3,1) 0.4s both;
}

@keyframes ez-line-grow {
    from { width: 0; opacity: 0; }
    to   { width: 60px; opacity: 1; }
}

@keyframes ez-title-entrance {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.ez-resellers-info p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.8;
    margin-bottom: 14px;
    max-width: 500px;
    animation: ez-title-entrance 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

/* ============================================================
   RIGHT: Tags column
   ============================================================ */
.ez-resellers-tags {
    flex: 0 0 340px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ez-tag-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
    padding: 20px 24px;
    border-radius: var(--ez-r-md);
    display: flex;
    align-items: center;
    gap: 16px;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: default;
    position: relative;
    overflow: hidden;
}

.ez-tag-item:nth-child(1) { animation: ez-tag-in 0.7s cubic-bezier(0.16,1,0.3,1) 0.3s both; }
.ez-tag-item:nth-child(2) { animation: ez-tag-in 0.7s cubic-bezier(0.16,1,0.3,1) 0.45s both; }
.ez-tag-item:nth-child(3) { animation: ez-tag-in 0.7s cubic-bezier(0.16,1,0.3,1) 0.6s both; }

@keyframes ez-tag-in {
    from { opacity: 0; transform: translateX(30px); }
    to   { opacity: 1; transform: translateX(0); }
}

.ez-tag-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 80%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(242, 103, 42, 0.15),
        rgba(255,255,255,0.05),
        transparent
    );
    transform: skewX(-20deg);
    transition: left 0.6s ease;
}

.ez-tag-item::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--ez-orange), rgba(242,103,42,0));
    border-radius: 2px 0 0 2px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ez-tag-item:hover {
    background: rgba(242, 103, 42, 0.10);
    border-color: rgba(242, 103, 42, 0.40);
    transform: translateX(10px);
    box-shadow:
        0 8px 30px rgba(242, 103, 42, 0.20),
        inset 0 0 20px rgba(242, 103, 42, 0.05);
    color: var(--ez-white);
}

.ez-tag-item:hover::before { left: 150%; }
.ez-tag-item:hover::after  { opacity: 1; }

.ez-tag-item svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    color: var(--ez-orange);
    transition: color 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: drop-shadow(0 0 6px rgba(242,103,42,0.5));
}

.ez-tag-item:hover svg {
    transform: scale(1.25) rotate(-8deg);
    filter: drop-shadow(0 0 10px rgba(242,103,42,0.8));
}

.ez-tag-item:nth-child(1) svg { animation: ez-icon-idle 4s ease-in-out infinite 0s; }
.ez-tag-item:nth-child(2) svg { animation: ez-icon-idle 4s ease-in-out infinite 1.3s; }
.ez-tag-item:nth-child(3) svg { animation: ez-icon-idle 4s ease-in-out infinite 2.6s; }

@keyframes ez-icon-idle {
    0%, 100% { filter: drop-shadow(0 0 4px rgba(242,103,42,0.4)); }
    50%        { filter: drop-shadow(0 0 10px rgba(242,103,42,0.8)); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 992px) {
    .ez-resellers-section {
        padding: 40px 0 50px;
    }

    .ez-resellers-premium {
        flex-direction: column;
        text-align: center;
        padding: 50px 30px;
        gap: 36px;
    }

    .ez-resellers-tags {
        flex: none;
        width: 100%;
    }

    .ez-tag-item {
        justify-content: center;
    }

    .ez-resellers-info h3 {
        font-size: 36px;
    }

    .ez-resellers-info p {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .ez-resellers-premium {
        padding: 40px 20px;
    }

    .ez-resellers-info h3 {
        font-size: 28px;
    }

    .ez-tag-item {
        padding: 14px 16px;
        font-size: 0.9rem;
    }
}

/* ============================================
   PARTNER SOLUTIONS SECTION
   ============================================ */

/* --- Section spacing & gradient background --- */
.ez-partner-solutions-wrapper {
    padding: 70px 0 100px;
    position: relative;
    overflow: hidden;
    /* Default desktop background */
    background: transparent;
}

/* --- Container Override --- */
.ez-partner-solutions-wrapper .ez-container {
    display: block;
}

/* --- Section header --- */
.ez-partner-solutions-header {
    width: 100%;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* --- Section Badge --- */
.ez-partner-solutions-header .ez-badge {
    margin: 0 0 20px 0;
}

.ez-partner-solutions-header h2 {
    font-size: 40px;
    font-weight: 900;
    margin-bottom: 16px;
    letter-spacing: -1px;
    text-align: center;
    width: 100%;
}

.ez-partner-solutions-header p {
    color: var(--ez-gray);
    font-size: 18px;
    line-height: 1.6;
    margin: 0;
    text-align: center;
    max-width: 600px;
}

/* --- Cards grid --- */
.ez-partner-solutions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

/* --- Base card (Enhanced Modern Graphics) --- */
.ez-partner-card {
    background: var(--ez-white);
    border: 1px solid var(--ez-border);
    border-radius: var(--ez-r-xl); 
    padding: 40px 28px 36px;
    transition: var(--ez-t-spring);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
    box-shadow: var(--ez-shadow-sm);
}

/* --- Top accent bar --- */
.ez-partner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--ez-orange), var(--ez-red));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Bottom-right glow on hover --- */
.ez-partner-card::after {
    content: '';
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(242, 103, 42, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: var(--ez-t);
    pointer-events: none;
}

/* --- Active/Highlighted Card State (For Reseller) --- */
.ez-partner-card--active {
    border: 2px solid var(--ez-orange);
    box-shadow: var(--ez-shadow-md), 0 0 20px rgba(242, 103, 42, 0.15);
    transform: translateY(-5px); 
}

/* Removed the top gradient stroke specifically for the active card */
.ez-partner-card--active::before {
    display: none; 
}

.ez-partner-card--active .ez-icon-box {
    background: var(--ez-orange);
    color: var(--ez-white);
    box-shadow: 0 10px 25px rgba(242, 103, 42, 0.3);
}

.ez-partner-card--active h3 {
    color: var(--ez-orange);
}

/* --- Card Hover State --- */
.ez-partner-card:hover, .ez-partner-card--active:hover {
    transform: translateY(-8px) scale(1.01);
    border-color: rgba(242, 103, 42, 0.4);
    box-shadow: var(--ez-shadow-lg), 0 0 0 1px rgba(242, 103, 42, 0.15); 
    z-index: 2;
}

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

.ez-partner-card:hover::after, .ez-partner-card--active:hover::after {
    opacity: 1;
}

/* --- Icon box inside card --- */
.ez-partner-card .ez-icon-box {
    width: 64px;
    height: 64px;
    background: var(--ez-orange-soft);
    color: var(--ez-orange);
    border-radius: var(--ez-r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--ez-t-spring);
    flex-shrink: 0;
    box-shadow: inset 0 0 0 1px rgba(242, 103, 42, 0.1);
}

.ez-partner-card .ez-icon-box svg {
    width: 28px;
    height: 28px;
    stroke-width: 1.75;
    transition: var(--ez-t-spring);
}

/* Icon animation on standard card hover */
.ez-partner-card:hover .ez-icon-box {
    background: var(--ez-orange);
    color: var(--ez-white);
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(242, 103, 42, 0.3);
}

.ez-partner-card:hover .ez-icon-box svg, .ez-partner-card--active .ez-icon-box svg {
    transform: scale(1.1) rotate(-5deg);
}

/* --- Card title --- */
.ez-partner-card h3 {
    color: var(--ez-dark);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin: 0 0 12px 0;
    transition: var(--ez-t);
}

.ez-partner-card:hover h3 {
    color: var(--ez-orange);
}

/* --- Card description --- */
.ez-partner-card p {
    color: var(--ez-gray);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 24px;
    flex-grow: 1;
}

/* --- Badge row inside card --- */
.ez-partner-card .ez-badge {
    font-size: 10px;
    padding: 6px 14px;
    letter-spacing: 1px;
    margin: 0;
    background: var(--ez-bg);
    border: 1px solid var(--ez-border);
    color: var(--ez-gray);
    transition: var(--ez-t);
}

/* Badge active state / hover state */
.ez-partner-card:hover .ez-badge, .ez-partner-card--active .ez-badge {
    background: var(--ez-orange-soft);
    border-color: rgba(242, 103, 42, 0.2);
    color: var(--ez-orange);
}

.ez-partner-card-badges {
    display: flex;
    gap: 8px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

/* --- CTA button inside card --- */
.ez-partner-card .ez-btn {
    width: 100%;
    justify-content: center;
    font-size: 0.85rem;
    padding: 14px 20px;
    letter-spacing: 0.5px;
    margin-top: auto; 
    position: relative;
    z-index: 5;
}

/* --- Staggered entrance animation --- */
.ez-partner-card:nth-child(1) { animation: ez-card-enter 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both; }
.ez-partner-card:nth-child(2) { animation: ez-card-enter 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both; }
.ez-partner-card:nth-child(3) { animation: ez-card-enter 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both; }
.ez-partner-card:nth-child(4) { animation: ez-card-enter 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both; }

@keyframes ez-card-enter {
    from { opacity: 0; transform: translateY(40px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */
@media (max-width: 1100px) {
    .ez-partner-solutions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

/* --- Mobile Specific Styles (Max-width 768px) --- */
@media (max-width: 768px) {
    /* Transparent background for mobile */
    .ez-partner-solutions-wrapper {
        padding: 50px 0 70px;
        background: transparent; 
    }
    
    .ez-partner-solutions-header h2 {
        font-size: 28px;
    }
    
    .ez-partner-solutions-header p {
        font-size: 16px;
    }
    
    .ez-partner-solutions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Center align everything inside cards on mobile */
    .ez-partner-card {
        padding: 40px 24px 32px;
        align-items: center; 
        text-align: center;
        box-shadow: var(--ez-shadow-md); 
        height: auto; /* Prevent layout clipping */
    }

    /* Stop the paragraph from pushing the button out of the box on mobile */
    .ez-partner-card p {
        flex-grow: 0; 
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 24px;
    }
    
    .ez-partner-card-badges {
        justify-content: center;
        width: 100%;
        margin-bottom: 24px;
    }

    /* Force button to display properly within the bounds */
    .ez-partner-card .ez-btn {
        display: flex; 
        margin-top: 0; 
        flex-shrink: 0;
    }
}
