/**
 * CTA Section Styles
 * 
 * Styles for the CTA Section Elementor widget
 * Extracted from solutions.css to maintain 100% design fidelity
 * 
 * @package Meridian_Africa
 * @since 1.0.0
 */

/* ===========================
   SOLUTIONS CTA SECTION
   =========================== */

.solutions-cta {
    padding: 100px 0;
    background-color: #0e172a;
    /* background: linear-gradient(135deg, #1e5a23 0%, #2e8f33 50%, #3da842 100%); */
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.cta-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        ellipse at center,
        rgba(46, 143, 51, 0.08) 0%,
        transparent 70%
    );
    z-index: 1;
}

.cta-pattern-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 1;
    opacity: 0.5;
}

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

.cta-content h2 {
    font-size: 48px;
    font-weight: 800;
    color: white;
    margin-bottom: 24px;
    line-height: 1.2;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 18px;
    opacity: 0.95;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===========================
   CTA BUTTON STYLES
   =========================== */

.cta-btn {
    padding: 18px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 240px;
    position: relative;
    overflow: hidden;
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transition: left 0.5s ease;
}

.cta-btn:hover::before {
    left: 100%;
}

.cta-btn-primary {
    background: var(--primary-green);
    color: var(--white);
    border: 2px solid var(--primary-green);
    box-shadow: 0 4px 20px rgba(46, 143, 51, 0.3);
}

.cta-btn-primary:hover {
    background: #26a32e;
    border-color: #26a32e;
    box-shadow: 0 6px 30px rgba(46, 143, 51, 0.4);
    transform: translateY(-2px);
}

.cta-btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.cta-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Icon spacing in buttons */
.cta-btn i {
    margin-left: 8px;
}

/* ===========================
   CTA FEATURES
   =========================== */

.cta-features {
    display: flex;
    gap: 48px;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 48px;
}

.cta-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    font-weight: 500;
}

.cta-feature-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    font-size: 20px;
}

.cta-feature-icon i {
    filter: drop-shadow(0 0 8px rgba(46, 143, 51, 0.5));
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
    .cta-content h2 {
        font-size: 36px;
    }

    .cta-features {
        gap: 32px;
    }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .solutions-cta {
        padding: 60px 0;
    }

    .cta-content h2 {
        font-size: 28px;
    }

    .cta-content p {
        font-size: 14px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-btn {
        width: 100%;
        max-width: 100%;
        min-width: auto;
        padding: 16px 32px;
        font-size: 15px;
    }

    .cta-features {
        flex-direction: column;
        gap: 20px;
        margin-top: 40px;
    }

    .cta-feature-item {
        font-size: 14px;
    }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
    .solutions-cta {
        padding: 40px 0;
    }

    .cta-btn {
        padding: 14px 28px;
        font-size: 14px;
    }

    .cta-features {
        gap: 16px;
        margin-top: 32px;
    }

    .cta-feature-item {
        font-size: 13px;
        gap: 10px;
    }

    .cta-feature-icon {
        width: 18px;
        height: 18px;
        font-size: 18px;
    }
}

