/* ═══════════════════════════════════════════════════════════════════════════
   CERTIFICATE PREMIUM SECTION - Modern UI/UX 2025
   ═══════════════════════════════════════════════════════════════════════════ */
.certPremiumSection {
    --cert-primary: #059669;
    --cert-primary-light: #10B981;
    --cert-primary-dark: #047857;
    --cert-accent: #0D9488;
    --cert-gold: #D97706;
    --cert-bg: linear-gradient(165deg, #f0fdf4 0%, #dcfce7 30%, #bbf7d0 70%, #a7f3d0 100%);
    --cert-glass: rgba(255, 255, 255, 0.95);
    --cert-glass-border: rgba(255, 255, 255, 1);
    --cert-shadow-soft: 0 4px 20px rgba(5, 150, 105, 0.08);
    --cert-shadow-medium: 0 12px 40px rgba(5, 150, 105, 0.12);
    --cert-shadow-strong: 0 24px 60px rgba(5, 150, 105, 0.16);
    --cert-text-primary: #052e16;
    --cert-text-secondary: #166534;
    --cert-text-muted: #15803d;
    --cert-radius: 28px;
    --cert-radius-sm: 16px;
    
    width: 100%;
    padding: clamp(80px, 10vw, 130px) clamp(20px, 5vw, 60px);
    background: var(--cert-bg);
    position: relative;
    overflow-x: hidden;
    overflow-y: visible;
}

/* Background decoration */
.certPremiumSection::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(ellipse 80% 60% at 5% 100%, rgba(5, 150, 105, 0.08) 0%, transparent 55%),
        radial-gradient(ellipse 70% 50% at 95% 0%, rgba(217, 119, 6, 0.05) 0%, transparent 55%),
        radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.certPremiumInner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(50px, 6vw, 80px);
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Content Wrapper */
.certContentWrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: clamp(24px, 3vw, 32px);
}

/* Eyebrow badge */
.certEyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px 8px 9px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.95);
    border-radius: 100px;
    box-shadow:
        0 6px 18px rgba(4, 120, 87, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.certEyebrowIcon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background: linear-gradient(135deg, var(--cert-primary-light) 0%, var(--cert-primary-dark) 100%);
    border-radius: 50%;
    color: #fff;
    box-shadow: 0 3px 8px rgba(4, 120, 87, 0.35);
}

.certEyebrowText {
    font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--cert-primary-dark);
}

/* Heading */
.certHeading {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.certTitle {
    font-family: 'Plus Jakarta Sans', 'DM Sans', system-ui, -apple-system, sans-serif;
    font-size: clamp(27px, 3.5vw, 38px);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.5px;
    color: var(--cert-text-primary);
    margin: 0;
}

.certTitleAccent {
    background: linear-gradient(120deg, #059669 0%, #0D9488 55%, #047857 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    white-space: nowrap;
}

.certIntro {
    font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
    font-size: clamp(16.5px, 1.8vw, 18px);
    line-height: 1.72;
    letter-spacing: 0.1px;
    color: var(--cert-text-secondary);
    margin: 0;
    max-width: 62ch;
}

/* Perk cards */
.certPerks {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    margin: 0;
    padding: 0;
}

.certPerk {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    box-shadow:
        0 10px 30px rgba(4, 120, 87, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: transform 0.25s ease-out, box-shadow 0.25s ease-out, border-color 0.25s ease-out;
}

.certPerk:hover {
    transform: translateY(-3px);
    border-color: rgba(110, 231, 183, 0.9);
    box-shadow:
        0 16px 38px rgba(4, 120, 87, 0.13),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.certPerkIcon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    margin-top: 2px;
    background: linear-gradient(135deg, var(--cert-primary-light) 0%, var(--cert-primary-dark) 100%);
    border-radius: 13px;
    color: #fff;
    box-shadow: 0 6px 16px rgba(4, 120, 87, 0.28);
}

.certPerkBody {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.certPerkTitle {
    font-family: 'Plus Jakarta Sans', 'DM Sans', system-ui, -apple-system, sans-serif;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -0.1px;
    line-height: 1.35;
    color: var(--cert-text-primary);
}

.certPerkText {
    font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
    font-size: 16px;
    line-height: 1.62;
    letter-spacing: 0.1px;
    color: var(--cert-text-secondary);
}

/* Social proof strip */
.certProof {
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.10) 0%, rgba(5, 150, 105, 0.05) 100%);
    border: 1px solid rgba(5, 150, 105, 0.18);
    border-radius: 14px;
    font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: 0.1px;
    color: var(--cert-text-secondary);
    margin: 0;
}

.certProof strong {
    font-family: 'Plus Jakarta Sans', 'DM Sans', system-ui, -apple-system, sans-serif;
    font-size: 17px;
    font-weight: 800;
    color: var(--cert-primary-dark);
}

/* CTA Button - Compact with Clear Text (Matching Reference) */
.certCTAButton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 18px 36px;
    margin-top: 8px;
    background: linear-gradient(135deg, var(--cert-primary) 0%, var(--cert-primary-dark) 100%);
    color: white;
    font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.5px;
    line-height: 1.4;
    text-decoration: none;
    border-radius: 14px;
    border: none;
    box-shadow: 
        0 10px 28px rgba(5, 150, 105, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
    width: fit-content;
    cursor: pointer;
}

.certCTAButton::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0) 50%, rgba(255,255,255,0.1) 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.certCTAButton:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 16px 40px rgba(5, 150, 105, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.certCTAButton:hover::before {
    opacity: 1;
}

/* Premium Shimmer Effect - Hover Only */
.certCTAButton::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg, 
        transparent, 
        rgba(255, 255, 255, 0.08),
        rgba(255, 255, 255, 0.35),
        rgba(255, 255, 255, 0.08),
        transparent
    );
    transform: skewX(-20deg);
    transition: none;
    pointer-events: none;
    z-index: 2;
}

.certCTAButton:hover::after {
    animation: certShimmerSweep 0.7s ease-out forwards;
}

@keyframes certShimmerSweep {
    0% { left: -100%; opacity: 1; }
    100% { left: 150%; opacity: 1; }
}

.certCTAArrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    transition: all 0.35s ease;
}

.certCTAButton:hover .certCTAArrow {
    background: rgba(255, 255, 255, 0.3);
    transform: translateX(4px);
}

.certCTAArrow svg {
    width: 18px;
    height: 18px;
}

/* ─────────────────────────────────────────────────────────────────────────────
   Image Wrapper - LARGE & PROMINENT
   ───────────────────────────────────────────────────────────────────────────── */
.certImageWrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 560px;
    z-index: 10;
    overflow: visible;
}

.certImageGlow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--cert-primary) 0%, var(--cert-accent) 50%, var(--cert-gold) 100%);
    border-radius: 30px;
    filter: blur(90px);
    opacity: 0.28;
    animation: certGlowPulse 5s ease-in-out infinite;
}

@keyframes certGlowPulse {
    0%, 100% { opacity: 0.22; transform: scale(0.96); }
    50% { opacity: 0.32; transform: scale(1.04); }
}

.certImageFrame {
    position: relative;
    background: transparent;
    border-radius: 20px;
    padding: 0;
    border: none;
    overflow: visible;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 1;
}

.certImageFrame:hover {
    transform: scale(1.02);
}

.certImageFrame img {
    display: block;
    width: 100%;
    max-width: 650px;
    min-width: 450px;
    height: auto;
    border-radius: 20px;
    box-shadow: 
        0 30px 80px rgba(5, 150, 105, 0.22),
        0 15px 40px rgba(5, 150, 105, 0.15),
        0 5px 15px rgba(0, 0, 0, 0.08);
    filter: contrast(1.04) brightness(1.02) saturate(1.06);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.certImageFrame:hover img {
    box-shadow: 
        0 40px 100px rgba(5, 150, 105, 0.28),
        0 20px 50px rgba(5, 150, 105, 0.18),
        0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Floating Badges - Premium UI/UX 2025 */
.certFloatingBadge {
    position: absolute !important;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px 14px 14px;
    color: white;
    font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
    font-weight: 500;
    font-size: 17px;
    letter-spacing: 0.4px;
    line-height: 1.5;
    border-radius: 100px;
    z-index: 99999 !important;
    white-space: nowrap;
}

.certFloatingBadge span {
    padding-right: 4px;
}

.certFloatingBadge svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    box-sizing: content-box;
}

.certBadgeTop svg {
    color: var(--cert-primary);
    stroke: var(--cert-primary);
}

.certBadgeBottom svg {
    color: #dc2626;
    stroke: #dc2626;
}

.certBadgeTop {
    top: 25px;
    right: 10px;
    background: linear-gradient(140deg, #059669, #047857, #065f46);
    box-shadow: 
        0 4px 12px rgba(5, 150, 105, 0.3),
        0 8px 28px rgba(5, 150, 105, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
    animation: certBadgeFloat 4s ease-in-out infinite;
}

.certBadgeBottom {
    bottom: 35px;
    left: 10px;
    background: linear-gradient(140deg, #dc2626, #b91c1c, #991b1b);
    box-shadow: 
        0 4px 12px rgba(220, 38, 38, 0.3),
        0 8px 28px rgba(220, 38, 38, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
    animation: certBadgeFloat 4s ease-in-out infinite 0.6s;
}

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

/* ─────────────────────────────────────────────────────────────────────────────
   Responsive Design
   ───────────────────────────────────────────────────────────────────────────── */
@media (max-width: 1200px) {
    .certPremiumInner {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    
    .certImageWrapper {
        order: -1;
        min-height: auto;
    }
    
    .certContentWrapper {
        align-items: center;
    }
    
    .certHeading {
        align-items: center;
    }
    
    .certIntro {
        max-width: 68ch;
    }
    
    .certPerks {
        max-width: 640px;
        margin: 0 auto;
        text-align: left;
    }
    
    .certProof {
        max-width: 640px;
    }
    
    .certImageFrame img {
        max-width: 100%;
        min-width: auto;
    }
    
    .certTitle {
        font-size: clamp(26px, 4vw, 34px);
    }
    
    .certBadgeTop {
        right: 15px;
        top: 25px;
    }
    
    .certBadgeBottom {
        left: 15px;
        bottom: 35px;
    }
}

@media (max-width: 600px) {
    .certPremiumSection {
        padding: 50px 16px;
    }
    
    .certImageFrame img {
        max-width: 100%;
        min-width: auto;
        border-radius: 16px;
    }
    
    .certTitle {
        font-size: clamp(26px, 7vw, 32px);
        letter-spacing: -0.4px;
    }
    
    .certIntro {
        font-size: 16px;
        line-height: 1.65;
    }
    
    .certEyebrow {
        padding: 7px 15px 7px 8px;
    }
    
    .certEyebrowText {
        font-size: 12.5px;
        letter-spacing: 1.1px;
    }
    
    .certPerks {
        gap: 12px;
    }
    
    .certPerk {
        padding: 14px 15px;
        gap: 12px;
        border-radius: 14px;
    }
    
    .certPerkIcon {
        width: 36px;
        height: 36px;
        border-radius: 11px;
    }
    
    .certPerkTitle {
        font-size: 16.5px;
    }
    
    .certPerkText {
        font-size: 15.5px;
        line-height: 1.58;
    }
    
    .certProof {
        font-size: 15.5px;
        padding: 13px 16px;
    }
    
    .certFloatingBadge {
        padding: 10px 14px 10px 10px;
        font-size: 14px;
        gap: 8px;
    }
    
    .certFloatingBadge svg {
        padding: 6px;
        width: 14px;
        height: 14px;
    }
    
    .certBadgeTop {
        right: 10px;
        top: 0px;
        z-index: 99999 !important;
        position: absolute !important;
    }
    
    .certBadgeBottom {
        left: 10px;
        bottom: -15px;
        z-index: 99999 !important;
        position: absolute !important;
    }
    
    .certImageWrapper {
        overflow: visible !important;
        z-index: 10 !important;
    }
    
    .certCTAButton {
        width: 100%;
        max-width: 340px;
        box-sizing: border-box;
        justify-content: center;
        padding: 16px 28px;
        font-size: 18px;
    }
    
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .certImageGlow,
    .certFloatingBadge {
        animation: none;
    }
    
    .certImageFrame:hover,
    .certCTAButton:hover,
    .certPerk:hover {
        transform: none;
    }
}
