:root {
    --arrow-color: #3a88db7b;
    
}

.bg-paragraph {
    background: var(--arrow-color);
    position: relative;
    padding: 20px 60px 20px 20px;
    color: #333;
    margin: 20px 0;
    min-height: 60px;
    opacity: 0;
    transform: translateX(-100px);
    transition: all 0.8s ease-out;
}

.bg-paragraph.animate {
    opacity: 1;
    transform: translateX(0);
}

.bg-paragraph::after {
    content: '';
    position: absolute;
    top: 0;
    right: -40px;
    width: 40px;
    height: 100%;
    background: var(--arrow-color);
    clip-path: polygon(0% 0%, 0% 100%, 100% 50%);
    z-index: 1;
}

.bg-paragraph-right {
    background: var(--arrow-color);
    position: relative;
    padding: 20px 20px 20px 60px;
    color: #333;
    margin: 20px 0;
    min-height: 60px;
    margin-left: auto;
    width: 75%;
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.8s ease-out;
}

.bg-paragraph-right.animate {
    opacity: 1;
    transform: translateX(0);
}

.bg-paragraph-right::after {
    content: '';
    position: absolute;
    top: 0;
    left: -40px;
    width: 40px;
    height: 100%;
    background: var(--arrow-color);
    clip-path: polygon(100% 0%, 100% 100%, 0% 50%);
    z-index: 1;
}

.center-image {
    height: auto;
    border-radius: 10px;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s ease-out;
}

.center-image.animate {
    opacity: 1;
    transform: scale(1);
}

.corner-text {
    position: absolute;
    font-weight: bold;
    color: #333;
    padding: 5px 8px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 5px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.corner-text:hover {
    transform: scale(1.1);
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}


.animate-delay-1 { transition-delay: 0.2s; }
.animate-delay-2 { transition-delay: 0.4s; }
.animate-delay-3 { transition-delay: 0.6s; }
.animate-delay-4 { transition-delay: 0.8s; }


/* Responsive con media query minimaliste */
@media (max-width: 768px) {
    .bg-paragraph,
    .bg-paragraph-right {
      width: 100%;
      margin-left: 0;
      padding: 15px;
    }
    
    .bg-paragraph::after,
    .bg-paragraph-right::after {
      display: none;
    }
    
    .corner-text {
      position: static;
      display: inline-block;
      margin: 5px 2px;
      font-size: 12px;
    }
}