/* Newsletter and Blog Section Enhancements */

/* ============================
   Section Badge (global)
   ============================ */
.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

/* ============================
   Enhanced Newsletter Section
   ============================ */
.newsletter-section-enhanced {
    position: relative;
    padding: 6rem 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #ffffff;
    overflow: hidden;
}

/* Background shapes */
.nl-shape {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.nl-shape-1 {
    width: 500px;
    height: 500px;
    top: -200px;
    left: -150px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.15) 0%, transparent 70%);
}

.nl-shape-2 {
    width: 400px;
    height: 400px;
    bottom: -180px;
    right: -100px;
    background: radial-gradient(circle, rgba(118, 75, 162, 0.15) 0%, transparent 70%);
}

.nl-shape-3 {
    width: 200px;
    height: 200px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(102, 126, 234, 0.08) 0%, transparent 70%);
}

/* Content side */
.nl-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    background: rgba(102, 126, 234, 0.2);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #a5b4fc;
    margin-bottom: 1.5rem;
}

.nl-title {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 1rem;
    color: #ffffff;
}

.nl-description {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.75rem;
}

.nl-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
}

.nl-benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
}

.nl-check {
    width: 26px;
    height: 26px;
    min-width: 26px;
    border-radius: 50%;
    background: rgba(74, 222, 128, 0.15);
    border: 1px solid rgba(74, 222, 128, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nl-check i {
    font-size: 11px;
    color: #4ade80;
}

/* Trust row */
.nl-trust {
    display: flex;
    align-items: center;
    gap: 14px;
}

.nl-trust-avatars {
    display: flex;
}

.nl-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #1a1a2e;
    margin-left: -8px;
}

.nl-avatar:first-child {
    margin-left: 0;
}

.nl-avatar-more {
    background: rgba(255, 255, 255, 0.15);
    font-size: 0.6rem;
    letter-spacing: -0.5px;
}

.nl-trust-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Form side */
.nl-form-wrapper {
    position: relative;
}

.nl-form {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3),
                0 0 0 1px rgba(255, 255, 255, 0.05);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nl-form:hover {
    transform: translateY(-6px);
}

.nl-form-header {
    text-align: center;
    padding: 2rem 2rem 0.75rem;
}

.nl-form-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.35);
}

.nl-form-icon i {
    font-size: 22px;
    color: #fff;
}

.nl-form-header h5 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 0.25rem;
}

.nl-form-header p {
    font-size: 0.85rem;
    color: #9ca3af;
    margin-bottom: 0;
}

.nl-form-body {
    padding: 1.25rem 2rem 1.5rem;
}

.nl-input-group {
    margin-bottom: 1rem;
}

.nl-input-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.4rem;
    letter-spacing: 0.3px;
}

.nl-optional {
    font-weight: 400;
    color: #9ca3af;
}

.nl-input-group input,
.nl-input-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 0.95rem;
    color: #1a1a2e;
    background: #f9fafb;
    transition: all 0.25s ease;
    outline: none;
}

.nl-input-group input:focus,
.nl-input-group select:focus {
    border-color: #667eea;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.nl-input-group input::placeholder {
    color: #9ca3af;
}

.nl-submit-btn {
    width: 100%;
    padding: 0.85rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.35);
    margin-top: 0.25rem;
}

.nl-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.45);
}

.nl-submit-btn:active {
    transform: translateY(0);
}

.nl-form-footer {
    text-align: center;
    padding: 0.75rem 2rem 1.5rem;
    font-size: 0.78rem;
    color: #9ca3af;
}

.nl-form-footer i {
    color: #667eea;
}

/* ============================
   Blog Cards
   ============================ */
.blog-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1) !important;
}

.blog-card:hover .card-title {
    color: #667eea;
}

.blog-image-placeholder {
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image-placeholder {
    transform: scale(1.05);
}

/* ============================
   Animation
   ============================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nl-content {
    animation: fadeInUp 0.6s ease-out;
}

/* ============================
   Newsletter Responsive
   ============================ */
@media (max-width: 991.98px) {
    .newsletter-section-enhanced {
        padding: 4rem 0;
    }
    .nl-title {
        font-size: 1.75rem;
    }
    .nl-form-body {
        padding: 1.25rem 1.5rem 1.5rem;
    }
    .nl-form-header {
        padding: 1.5rem 1.5rem 0.5rem;
    }
}

@media (max-width: 575.98px) {
    .newsletter-section-enhanced {
        padding: 3rem 0;
    }
    .nl-title {
        font-size: 1.5rem;
    }
    .nl-trust {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .nl-form:hover {
        transform: none;
    }
    .nl-form-body {
        padding: 1rem 1.25rem 1.25rem;
    }
    .nl-form-header {
        padding: 1.25rem 1.25rem 0.5rem;
    }
}