/* =============================================
   CTA Parallax Section
   ============================================= */

.cta-parallax-section {
    position: relative;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Background Image with Parallax */
.cta-parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1540575467063-178a50c2df87?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    filter: grayscale(100%);
    z-index: 1;
}

/* Dark Overlay */
.cta-parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.75) 0%,
        rgba(0, 0, 0, 0.6) 50%,
        rgba(0, 0, 0, 0.75) 100%
    );
    z-index: 2;
}

/* Content Container */
.cta-parallax-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 80px 20px;
    max-width: 800px;
    margin: 0 auto;
}

/* Badge */
.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 28px;
    backdrop-filter: blur(10px);
    letter-spacing: 0.5px;
}

.cta-badge i {
    color: var(--secondary-color);
    font-size: 1rem;
}

/* Title */
.cta-parallax-title {
    font-size: 3.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
    font-family: var(--font-heading);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.cta-parallax-title span {
    color: var(--secondary-color);
}

/* Description */
.cta-parallax-desc {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* CTA Button */
.cta-parallax-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    background: var(--secondary-color);
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(227, 41, 42, 0.4);
    border: none;
    cursor: pointer;
}

.cta-parallax-btn:hover {
    background: var(--accent-color);
    box-shadow: 0 12px 40px rgba(227, 41, 42, 0.5);
    color: var(--white);
}

.cta-parallax-btn i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.cta-parallax-btn:hover i {
    transform: translateX(4px);
}

/* Decorative Elements */
.cta-decoration {
    position: absolute;
    z-index: 2;
    opacity: 0.1;
}

.cta-decoration-left {
    left: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 200px;
    height: 200px;
    border: 2px solid var(--white);
    border-radius: 50%;
}

.cta-decoration-right {
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 150px;
    height: 150px;
    border: 2px solid var(--white);
    border-radius: 50%;
}

.cta-decoration-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 3;
}

.cta-decoration-dots span {
    width: 8px;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
}

.cta-decoration-dots span:nth-child(2) {
    background-color: var(--secondary-color);
}

/* =============================================
   Responsive Styles
   ============================================= */

@media (max-width: 991px) {
    .cta-parallax-section {
        min-height: 400px;
    }
    
    .cta-parallax-bg {
        background-attachment: scroll;
    }
    
    .cta-parallax-title {
        font-size: 2.5rem;
    }
    
    .cta-parallax-desc {
        font-size: 1rem;
    }
    
    .cta-decoration-left,
    .cta-decoration-right {
        display: none;
    }
}

@media (max-width: 768px) {
    .cta-parallax-section {
        min-height: 350px;
    }
    
    .cta-parallax-content {
        padding: 60px 20px;
    }
    
    .cta-parallax-title {
        font-size: 2rem;
    }
    
    .cta-badge {
        padding: 8px 18px;
        font-size: 0.8125rem;
    }
    
    .cta-parallax-btn {
        padding: 16px 32px;
        font-size: 0.9375rem;
    }
}

@media (max-width: 576px) {
    .cta-parallax-title {
        font-size: 1.75rem;
    }
    
    .cta-parallax-desc {
        font-size: 0.9375rem;
        margin-bottom: 30px;
    }
    
    .cta-parallax-btn {
        padding: 14px 28px;
        font-size: 0.875rem;
        width: 100%;
        justify-content: center;
    }
    
    .cta-decoration-dots {
        display: none;
    }
}
