/**
 * Stylesheet for Promotional CTA Banner Section
 * Full-width with 15px side padding and balanced height matching reference design
 *
 * @package Krishna_Overseas
 */

.krishna-cta-banner-section {
    width: 100%;
    padding: 30px 0 45px;
    background-color: transparent;
    position: relative;
    z-index: 5;
    box-sizing: border-box;
}

/* Full Width Container with strict 15px side padding */
.krishna-cta-banner-wrapper {
    width: 100%;
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
}

.krishna-cta-banner-card {
    position: relative;
    width: 100%;
    min-height: var(--krishna-cta-height, 460px);
    border-radius: 20px;
    overflow: hidden;
    background-color: #111418;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center right;
    display: flex;
    align-items: center;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.09);
    box-sizing: border-box;
}

/* Dark Gradient Overlay for optimal legibility while preserving spool visibility on right */
.krishna-cta-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(14, 16, 20, 0.90) 0%,
        rgba(14, 16, 20, 0.78) 38%,
        rgba(14, 16, 20, 0.35) 68%,
        rgba(14, 16, 20, 0.05) 86%,
        rgba(14, 16, 20, 0) 100%
    );
    z-index: 1;
    pointer-events: none;
}

/* Content Area */
.krishna-cta-banner-content {
    position: relative;
    z-index: 2;
    max-width: 580px;
    padding: 60px 70px;
    box-sizing: border-box;
}

/* Tagline with Accent Bar */
.krishna-cta-tagline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--krishna-font-primary, 'Poppins', sans-serif);
    font-size: 14.5px;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 18px;
    letter-spacing: 0.2px;
}

.krishna-cta-accent-bar {
    width: 3px;
    height: 18px;
    background-color: var(--krishna-cta-btn-bg, #ff8d28);
    border-radius: 2px;
    display: inline-block;
    flex-shrink: 0;
}

.krishna-cta-tagline-accent {
    color: var(--krishna-cta-btn-bg, #ff8d28);
    font-weight: 600;
}

.krishna-cta-tagline-suffix {
    color: #f1f5f9;
    font-weight: 400;
}

/* Headline */
.krishna-cta-title {
    font-family: var(--krishna-font-primary, 'Poppins', sans-serif);
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.28;
    margin: 0 0 24px 0;
    letter-spacing: -0.2px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

/* CTA Action & Button */
.krishna-cta-action {
    display: flex;
    align-items: center;
}

.krishna-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background-color: var(--krishna-cta-btn-bg, #ff8d28);
    color: #ffffff !important;
    font-family: var(--krishna-font-primary, 'Poppins', sans-serif);
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1;
    padding: 12px 26px;
    border-radius: 7px;
    text-decoration: none !important;
    box-shadow: 0 4px 15px rgba(239, 127, 26, 0.3);
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
}

.krishna-cta-btn:hover {
    background-color: #e07314;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 127, 26, 0.42);
    color: #ffffff !important;
}

.krishna-cta-btn i {
    font-size: 11.5px;
    transition: transform 0.2s ease;
}

.krishna-cta-btn:hover i {
    transform: translateX(3px);
}

/* Responsive Scaling */
@media (min-width: 1400px) {
    .krishna-cta-banner-card {
        min-height: var(--krishna-cta-height, 480px);
    }

    .krishna-cta-title {
        font-size: 28px;
    }

    .krishna-cta-banner-content {
        padding: 70px 80px;
    }
}

@media (min-width: 1800px) {
    .krishna-cta-banner-card {
        min-height: var(--krishna-cta-height, 500px);
    }

    .krishna-cta-title {
        font-size: 28px;
    }
}

@media (max-width: 1199px) {
    .krishna-cta-banner-card {
        min-height: 420px;
        border-radius: 18px;
    }

    .krishna-cta-banner-content {
        padding: 50px 50px;
        max-width: 520px;
    }

    .krishna-cta-title {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .krishna-cta-tagline {
        font-size: 13.5px;
        margin-bottom: 15px;
    }
}

@media (max-width: 991px) {
    .krishna-cta-banner-section {
        padding: 25px 0 35px;
    }

    .krishna-cta-banner-card {
        min-height: 380px;
        border-radius: 16px;
    }

    .krishna-cta-banner-content {
        padding: 40px 40px;
        max-width: 460px;
    }

    .krishna-cta-title {
        font-size: 25px;
        margin-bottom: 18px;
    }

    .krishna-cta-tagline {
        font-size: 13px;
        margin-bottom: 12px;
    }
}

@media (max-width: 768px) {
    .krishna-cta-banner-section {
        padding: 20px 0 30px;
    }

    .krishna-cta-banner-wrapper {
        padding-left: 12px;
        padding-right: 12px;
    }

    .krishna-cta-banner-card {
        min-height: 320px;
        border-radius: 14px;
        background-position: center right 22%;
    }

    .krishna-cta-banner-overlay {
        background: linear-gradient(
            90deg,
            rgba(14, 16, 20, 0.94) 0%,
            rgba(14, 16, 20, 0.88) 55%,
            rgba(14, 16, 20, 0.65) 100%
        );
    }

    .krishna-cta-banner-content {
        padding: 32px 24px;
        max-width: 100%;
    }

    .krishna-cta-title {
        font-size: 22px;
        margin-bottom: 16px;
    }

    .krishna-cta-tagline {
        font-size: 12.5px;
        gap: 7px;
    }

    .krishna-cta-accent-bar {
        height: 14px;
    }

    .krishna-cta-btn {
        padding: 10px 20px;
        font-size: 13.5px;
    }
}

@media (max-width: 480px) {
    .krishna-cta-banner-card {
        min-height: 290px;
        border-radius: 12px;
    }

    .krishna-cta-banner-content {
        padding: 26px 18px;
    }

    .krishna-cta-title {
        font-size: 19px;
        line-height: 1.32;
    }

    .krishna-cta-tagline {
        font-size: 11.5px;
        flex-wrap: wrap;
        gap: 5px;
    }
}
