/* Solutions Page Styling - Matching Website Brand Guidelines (#047ea8 / Clean White & Light Gray) */

/* Hero Banner Styling */
.solutions-hero-banner {
    background: linear-gradient(135deg, #0b1728 0%, #047ea8 100%);
    padding: 140px 0 70px 0;
    /* Padding-top 140px ensures header never covers the title */
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.solutions-hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-badge {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    text-transform: uppercase;
}

.solutions-hero-title {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #ffffff;
}

.solutions-hero-title span {
    color: #38bdf8;
}

.solutions-hero-intro {
    font-size: 1.1rem;
    color: #e2e8f0;
    max-width: 860px;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 400;
}

.solutions-page-wrapper {
    background-color: #f8f9fa;
    color: #212529;
    padding: 60px 0 100px 0;
    line-height: 1.6;
}

.solutions-section-block {
    margin-bottom: 60px;
}

.section-category-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    border-bottom: 2px solid #047ea8;
    padding-bottom: 10px;
    margin-bottom: 30px;
}

.section-category-title {
    font-size: 2.0rem;
    font-weight: 700;
    margin: 0;
    color: #047ea8;
}

.section-category-tags {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6c757d;
}

/* Solution Card Styling */
.solution-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(4, 126, 168, 0.12);
}

/* Video Placeholder Container */
.solution-video-placeholder {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #0b1320;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 20px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-play-btn {
    width: 56px;
    height: 56px;
    background-color: #047ea8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.3rem;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: none;
    padding-left: 3px;
}

.video-play-btn:hover {
    transform: scale(1.1);
    background-color: #036283;
}

.video-overlay-tag {
    position: absolute;
    bottom: 12px;
    left: 14px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #cbd5e1;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.video-overlay-duration {
    position: absolute;
    bottom: 12px;
    right: 14px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #cbd5e1;
}

/* Card Body */
.solution-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.solution-tags-wrapper {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.solution-tag {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid #047ea8;
    color: #047ea8;
    background-color: rgba(4, 126, 168, 0.06);
}

.solution-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
    line-height: 1.3;
}

.solution-description {
    font-size: 0.95rem;
    color: #475569;
    margin-bottom: 16px;
    line-height: 1.6;
}

.solution-result {
    font-size: 0.92rem;
    color: #d97706;
    font-weight: 600;
    margin-bottom: 24px;
    line-height: 1.5;
    background: #fffbe6;
    padding: 8px 12px;
    border-left: 3px solid #d97706;
    border-radius: 0 4px 4px 0;
}

/* Pricing Section Inside Card */
.solution-pricing-box {
    margin-top: auto;
    border-top: 1px solid #e2e8f0;
    padding-top: 18px;
}

.pricing-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 6px;
}

.pricing-label {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 600;
}

.pricing-timeline {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 600;
}

.pricing-amount {
    font-size: 2.2rem;
    font-weight: 700;
    color: #047ea8;
    line-height: 1;
}

.pricing-custom {
    font-size: 0.85rem;
    color: #64748b;
    margin-top: 4px;
}

.btn-add-project {
    width: 100%;
    margin-top: 18px;
    padding: 12px 20px;
    background-color: #047ea8;
    border: 1px solid #047ea8;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s;
    text-align: center;
}

.btn-add-project:hover {
    background-color: #036283;
    border-color: #036283;
    color: #ffffff;
}

.btn-add-project.added {
    background-color: #1b4d4f;
    border-color: #1b4d4f;
    color: #ffffff;
}

.btn-add-project.added:hover {
    background-color: #143b3d;
    border-color: #143b3d;
}

.solution-card.selected {
    border-color: #1b4d4f;
    box-shadow: 0 0 0 2px #1b4d4f;
}

/* Sticky Selection Bar */
.solutions-sticky-bar {
    position: fixed;
    bottom: -100px;
    left: 0;
    right: 0;
    background-color: #0d1520;
    color: #ffffff;
    padding: 16px 0;
    z-index: 1040;
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.4);
    transition: bottom 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.solutions-sticky-bar.active {
    bottom: 0;
}

.sticky-bar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.sticky-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sticky-count {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
}

.sticky-items-names {
    font-size: 0.85rem;
    color: #94a3b8;
    max-width: 450px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sticky-total-box {
    display: flex;
    align-items: center;
}

.sticky-total-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
}

.sticky-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.btn-sticky-custom {
    padding: 12px 24px;
    border: 1px solid #334155;
    background: transparent;
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.2s, border-color 0.2s;
}

.btn-sticky-custom:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: #64748b;
    color: #ffffff;
}

.btn-sticky-bundle {
    padding: 12px 24px;
    background-color: #d97706;
    border: 1px solid #d97706;
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-sticky-bundle:hover {
    background-color: #b45309;
    border-color: #b45309;
    color: #ffffff;
}

/* Add-on Banner Card */
.addon-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.addon-info h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #047ea8;
    margin-bottom: 6px;
}

.addon-info p {
    color: #475569;
    font-size: 1rem;
    margin: 0;
}

.addon-pricing {
    text-align: right;
}

.addon-price {
    font-size: 2.2rem;
    font-weight: 700;
    color: #047ea8;
}

.addon-timeline {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 600;
}

/* Custom Scope Footer Banner */
.custom-scope-banner {
    border-top: 1px solid #e2e8f0;
    padding-top: 40px;
    margin-top: 30px;
}

.custom-scope-banner h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 14px;
}

.custom-scope-banner p {
    font-size: 1.05rem;
    color: #475569;
    line-height: 1.7;
    max-width: 900px;
}

.custom-scope-highlight {
    background-color: #e0f2fe;
    border-left: 4px solid #047ea8;
    padding: 18px 22px;
    border-radius: 0 6px 6px 0;
    margin-top: 25px;
    font-size: 1rem;
    color: #036283;
}

.custom-scope-highlight a {
    color: #047ea8;
    text-decoration: underline;
    font-weight: 700;
}

.solutions-footer-note {
    margin-top: 35px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #64748b;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Modal Custom Styling */
.selected-summary-box {
    background-color: #f1f5f9;
}

.btn-bundle-submit {
    background-color: #047ea8;
    border-color: #047ea8;
}

.btn-bundle-submit:hover,
.btn-bundle-submit:focus,
.btn-bundle-submit:active {
    background-color: #036283;
    border-color: #036283;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .solutions-hero-banner {
        padding: 120px 0 50px 0;
    }

    .solutions-hero-title {
        font-size: 2.3rem;
    }

    .section-category-header {
        flex-direction: column;
        gap: 6px;
    }

    .addon-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .addon-pricing {
        text-align: left;
    }

    .sticky-bar-content {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .sticky-actions {
        width: 100%;
    }

    .btn-sticky-custom,
    .btn-sticky-bundle {
        flex: 1;
        text-align: center;
    }
}