﻿:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #eff6ff;
    --dark: #0f172a;
    --dark-soft: #334155;
    --text: #475569;
    --text-light: #64748b;
    --light: #ffffff;
    --bg: #f8fafc;
    --border: #e2e8f0;
    --radius-sm: 14px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --shadow-sm: 0 5px 20px rgba(15,23,42,.05);
    --shadow-md: 0 15px 45px rgba(15,23,42,.08);
    --shadow-lg: 0 25px 70px rgba(15,23,42,.12);
    --transition: all .35s ease;
}


body {
    background: linear-gradient( 180deg, #ffffff 0%, #f8fafc 100% );
    color: var(--text);
/*    overflow-x: hidden;*/
    font-family: Inter, "Segoe UI", sans-serif;
}

.blog-header-wrapper {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto 3rem;
}

.blog-main-title {
    font-size: clamp(1.6rem,5vw,3rem);
    line-height: 1.08;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -.04em;
    margin-bottom: 1.25rem;
}

.blog-main-description {
    max-width: 800px;
    margin: auto;
    font-size: clamp(1rem,2vw,1.35rem);
    line-height: 1.8;
    color: var(--text-light);
}


.featureimage-container {
    position: relative;
    border-radius: 30px;
/*    overflow: hidden;*/
    box-shadow: var(--shadow-lg);
}

.featureimage-container img {
    width: 100%;
    display: block;
    transition: 0.7s ease;
}

.featureimage-container:hover img {
    transform: scale(1.05);
}

.featureimage-container::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient( to top, rgba(0,0,0,.18), transparent 45% );
    pointer-events: none;
}


.blog-main-wrapper {
    background: rgba(255,255,255,.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.6);
    border-radius: 28px;
    padding: 50px;
    box-shadow: var(--shadow-md);
}


.blog-main-wrapper p {
    font-size: 1.08rem;
    line-height: 2;
    color: var(--dark-soft);
}

.blog-main-wrapper .lead {
    font-size: 1.35rem;
    line-height: 1.8;
    color: var(--dark);
    font-weight: 500;
}


.blog-main-wrapper h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: clamp(0.7rem,3vw, 1.7rem);
    color: var(--dark);
    font-weight: 800;
    position: relative;
}

.blog-main-wrapper h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: clamp(0.7rem,3vw, 1.5rem);
    color: var(--dark);
    font-weight: 800;
    position: relative;
}

.blog-main-wrapper h2::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -12px;
    width: 85px;
    height: 5px;
    border-radius: 999px;
    background: linear-gradient( 90deg, var(--primary), #60a5fa );
}


.blog-main-wrapper ul {
    padding-left: 0;
}

.blog-main-wrapper ul li {
    list-style: none;
    position: relative;
    padding-left: 32px;
    margin-bottom: 10px;
    line-height: 1.5;
}

    .blog-main-wrapper ul li::before {
        content: "✓";
        position: absolute;
        left: 0;
        top: 0;
        color: var(--primary);
        font-weight: 700;
    }


.blog-main-wrapper blockquote {
    position: relative;
    margin: 3rem 0;
    padding: 2.5rem;
    border-radius: 24px;
    background: linear-gradient( 135deg, rgba(37,99,235,.08), rgba(37,99,235,.02) );
    border: 1px solid rgba(37,99,235,.15);
    font-size: 1.25rem;
    font-style: italic;
    color: var(--dark);
}

.blog-main-wrapper blockquote::before {
    content: "❝";
    position: absolute;
    top: -20px;
    left: 25px;
    font-size: 5rem;
    color: rgba(37,99,235,.15);
}

.blog-main-wrapper .getdemo {
    color: aliceblue;
}

.sidebar-sticky-wrapper {
    position: sticky;
    top: 5.5rem;
    z-index: 10;
}

.sidebar-sticky-wrapper > div {
    background: #fff;
    border-radius: 24px;
    padding: 1.6rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.sidebar-sticky-wrapper > div:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}


.sidebar-links-list a {
    display: block;
    padding: 12px 15px;
    border-radius: 14px;
    color: cornflowerblue !important;
    transition: .3s;
}

.sidebar-links-list a:hover {
    background: var(--primary-light);
    color: var(--primary) !important;
    transform: translateX(6px);
}


.cta-alert-card {
    background: #15599B;
    border-radius: 28px;
    padding: 2rem;
/*    overflow: hidden;*/
    position: relative;
}

    .cta-alert-card::before {
        content: "";
        position: absolute;
        width: 250px;
        height: 250px;
        background: rgba(255,255,255,.1);
        border-radius: 50%;
        left: -80px;
        top: 50px;
    }

    .cta-alert-card::after {
        content: "";
        position: absolute;
        width: 200px;
        height: 200px;
        background: rgba(255,255,255,.1);
        border-radius: 50%;
        right: -110px;
        top: -80px;
    }

.accordion-custom {
    border-radius: 24px;
/*    overflow: hidden;*/
}

.accordion-item {
    border: none !important;
}

.accordion-button {
    padding: 0.7rem 1.6rem;
    font-size: 1.05rem;
    font-weight: 600;
    background: white;
}

    .accordion-button:not(.collapsed) {
        background: #eff6ff;
        color: var(--primary);
    }

.accordion-body {
    padding: 1rem;
    color: var(--dark-soft);
    line-height: 1.5;
}


@media (max-width: 991px) {
    .blog-main-wrapper

{
    padding: 32px;
}

.sidebar-sticky-wrapper {
    margin-top: 30px;
}

}

@media (max-width:767px) {

    .blog-content {
        padding-left: 15px;
        padding-right: 15px;
    }

    .blog-main-wrapper {
        padding: 24px;
        border-radius: 20px;
    }

    .blog-main-title {
        font-size: 2rem;
    }

    .blog-main-wrapper h2 {
        font-size: 1.5rem;
    }

    .blog-main-wrapper h3 {
        font-size: 1.3rem;
    }

    .featureimage-container {
        border-radius: 20px;
    }

    .cta-alert-card {
        text-align: center;
    }

        .cta-alert-card .btn {
            width: 100%;
            margin-top: 15px;
        }
}

@media (max-width:480px) {

    .blog-main-title {
        font-size: 1.75rem;
    }

    .blog-main-description {
        font-size: .95rem;
    }

    .blog-main-wrapper {
        padding: 20px;
    }
}

.lead-text {
    position: relative;
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    line-height: 1.9;
    color: #374151;
    padding: 1.5rem 1.5rem 1.5rem 2rem;
    margin-bottom: 2rem;
    background: #f8fafc;
    border-radius: 16px;
}

    .lead-text::before {
        content: "";
        position: absolute;
        left: 0;
        top: 16px;
        bottom: 16px;
        width: 6px;
        background: linear-gradient( to bottom, #2563eb, #3b82f6 );
        border-radius: 20px;
    }

@media (max-width: 768px) {
    .lead {
        font-size: 1.05rem;
        line-height: 1.8;
        padding-left: 1rem;
    }
}

@media (max-width: 576px) {
    .lead {
        font-size: 1rem;
        line-height: 1.75;
        padding-left: 0.8rem;
        margin-bottom: 1.5rem;
    }
}