.blob-mask {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: morph 8s ease-in-out infinite;
    overflow: hidden;
    box-shadow: inset 0 0 0 10px rgba(255, 255, 255, 0.3), 0 20px 50px rgba(0, 0, 0, 0.1);
    position: relative;
}

.blob-mask::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(59, 93, 68, 0.2) 0%, transparent 100%);
    mix-blend-mode: overlay;
}

@keyframes morph {
    0%,
    100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }

    50% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
        transform: translateY(-10px);
    }
}

.stat-card {
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(220, 38, 38, 0.15);
    border-color: #fecaca;
}

.hero-overlay {
    background: linear-gradient(180deg, rgba(26, 46, 34, 0.85) 0%, rgba(26, 46, 34, 0.95) 100%);
}

.pattern-dots {
    background-image: radial-gradient(#ffffff 2px, transparent 2px);
    background-size: 30px 30px;
}

.story-card {
    position: relative;
    overflow: hidden;
}

.story-quote-decoration {
    position: absolute;
    top: 1.5rem;
    inset-inline-end: 1.75rem;
    z-index: 0;
    opacity: 0.07;
    font-size: clamp(5rem, 10vw, 9rem);
    color: var(--brand-main);
    pointer-events: none;
}

.story-content {
    position: relative;
    z-index: 10;
}

.heading-relaxed-ar {
    line-height: 1.18;
}

html[lang="ar"] .heading-relaxed-ar {
    line-height: 1.25;
}

@media (max-width: 640px) {
    html[lang="ar"] .heading-relaxed-ar {
        line-height: 1.32;
    }
}

.cv-page {
    background-color: var(--page-bg);
}

.cv-main {
    padding-top: 7rem;
    padding-bottom: 4rem;
}

.cv-container {
    margin-inline: auto;
}

.cv-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 1.25rem 2.5rem 1.75rem;
    border-top: 1px solid #eef2f0;
    background: #ffffff;
}

html[dir="rtl"] .cv-actions {
    justify-content: flex-start;
}

.cv-action-btn {
    width: 2.75rem;
    height: 2.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    background: var(--brand-dark);
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(26, 46, 34, 0.18);
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.cv-action-btn:hover {
    background: var(--brand-main);
    transform: translateY(-2px);
    box-shadow: 0 12px 22px rgba(26, 46, 34, 0.22);
}

.cv-action-btn.copied {
    background: var(--brand-main);
}

@media (max-width: 768px) {
    .cv-main {
        padding-top: 6rem;
        padding-bottom: 2.5rem;
    }
}

@media (max-width: 640px) {
    .cv-actions {
        padding: 1rem 1.25rem 1.5rem;
    }
}
