/* ═══════════════════════════════════════════════════════════════════
   CTA Modern - Premium Call to Action Section
   Elegant Gradient with Glassmorphism Elements
   ═══════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════
   Main Section
   ═══════════════════════════════════════════════════════════════════ */

.cta-modern {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a252f 100%);
    padding: 80px 0;
    overflow: hidden;
}

/* Decorative Pattern */
.cta-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 10% 50%, rgba(212, 175, 55, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 90% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 40%);
    z-index: 1;
}

/* Animated Shapes */
.cta-deco {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.cta-deco-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    animation: ctaPulse 6s ease-in-out infinite;
}

.cta-deco-shape-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    right: 10%;
}

.cta-deco-shape-2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    left: 5%;
    animation-delay: 2s;
}

.cta-deco-shape-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    left: 30%;
    transform: translateY(-50%);
    animation-delay: 4s;
}

@keyframes ctaPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.cta-modern .container {
    position: relative;
    z-index: 2;
}

/* ═══════════════════════════════════════════════════════════════════
   Content Wrapper
   ═══════════════════════════════════════════════════════════════════ */

.cta-wrapper-modern {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 50px 60px;
}

/* Text Content */
.cta-text-modern {
    flex: 1;
}

.cta-icon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(212, 175, 55, 0.2);
    border-radius: 16px;
    margin-bottom: 20px;
}

.cta-icon-badge i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.cta-title-modern {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.cta-desc-modern {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    max-width: 500px;
}

/* Buttons */
.cta-buttons-modern {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

.cta-btn-modern {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 35px;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.cta-btn-primary {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #c9a227 100%);
    color: #1a1a2e;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.cta-btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.cta-btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.4);
}

.cta-btn-primary:hover::before {
    left: 100%;
}

.cta-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.cta-btn-secondary:hover {
    background: #fff;
    color: var(--primary-color);
    transform: translateY(-5px);
}

/* ═══════════════════════════════════════════════════════════════════
   Responsive
   ═══════════════════════════════════════════════════════════════════ */

@media (max-width: 991px) {
    .cta-wrapper-modern {
        flex-direction: column;
        text-align: center;
        padding: 40px 30px;
    }

    .cta-desc-modern {
        max-width: 100%;
    }

    .cta-buttons-modern {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .cta-modern {
        padding: 60px 0;
    }

    .cta-btn-modern {
        padding: 15px 25px;
        font-size: 0.95rem;
        width: 100%;
    }

    .cta-buttons-modern {
        flex-direction: column;
        width: 100%;
    }
}