/* =============================================================
   CSAAS PAGE — All section styles
   Sections: Banner · PBX Intro · PBX Benefits · PBX Integrations · PBX Stats · Blog
   Breakpoints: 1399 · 1199 · 991 · 767 · 575 · 399
   ============================================================= */


/* =============================================================
   CSAAS BANNER (About Hero variant)
   ============================================================= */

.about-hero-section {
    background: linear-gradient(135deg, #1a0030 0%, #6e196f 45%, #c030bc 80%, #e040d0 100%);
    overflow: hidden;
    padding: 0;
    margin-top: 100px;
}

.about-hero-inner {
    display: flex;
    align-items: center;
    min-height: 480px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    gap: 48px;
}

.about-hero-left {
    flex: 0 0 46%;
    max-width: 46%;
    padding: 60px 0;
}

.about-hero-heading {
    color: #ffffff;
    margin-bottom: 20px;
}

.about-hero-desc {
    color: #fff;
    font-size: 20px;
    line-height: 1.4;
    margin-bottom: 28px;
    font-weight: 300;
}

.about-hero-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.about-hero-breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
}

.about-hero-breadcrumb a:hover { color: #ffffff; }
.about-hero-breadcrumb span   { color: rgba(255, 255, 255, 0.85); }

.about-hero-right {
    flex: 1;
    display: flex;
    gap: 16px;
    height: 480px;
    overflow: hidden;
    mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
}

.about-col { flex: 1; overflow: hidden; }

.about-col__inner {
    display: flex;
    flex-direction: column;
    will-change: transform;
}

.about-col--up   .about-col__inner { animation: about-up   10s linear infinite; }
.about-col--down .about-col__inner { animation: about-down 10s linear infinite; }

@keyframes about-up {
    0%   { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

@keyframes about-down {
    0%   { transform: translateY(-50%); }
    100% { transform: translateY(0); }
}

.about-slide {
    flex-shrink: 0;
    height: 230px;
    margin-bottom: 16px;
    border-radius: 16px;
    overflow: hidden;
}

.about-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 1199.98px) {
    .about-hero-inner { max-width: 100%; padding: 0 32px; gap: 40px; }
    .about-hero-left { flex: 0 0 48%; max-width: 48%; padding: 52px 0; }
    .about-hero-right { height: 460px; }
    .about-slide { height: 210px; }
}

@media (max-width: 991.98px) {
    .about-hero-section { margin-top: 80px; }
    .about-hero-inner { gap: 28px; padding: 0 20px; }
    .about-hero-left { flex: 0 0 50%; max-width: 50%; padding: 44px 0; }
    .about-hero-desc { font-size: 17px; }
    .about-hero-right { height: 400px; }
    .about-slide { height: 155px; }
}

@media (max-width: 767.98px) {
    .about-hero-inner { flex-direction: column; gap: 0; padding: 0; min-height: auto; }
    .about-hero-left { flex: none; max-width: 100%; width: 100%; padding: 40px 20px 28px; }
    .about-hero-desc { font-size: 16px; }
    .about-hero-right { width: 100%; height: 240px; padding: 0; }
    .about-slide { height: 120px; margin-bottom: 12px; }
}

@media (max-width: 575.98px) {
    .about-hero-section { margin-top: 70px; }
    .about-hero-left { padding: 32px 16px 20px; text-align: center; }
    .about-hero-breadcrumb { flex-wrap: wrap; justify-content: center; }
    .about-hero-desc { font-size: 15px; margin-bottom: 20px; }
    .about-hero-right { height: 190px; gap: 10px; }
    .about-slide { height: 140px; margin-bottom: 10px; border-radius: 12px; }
}

@media (max-width: 399.98px) {
    .about-hero-section { margin-top: 60px; }
    .about-hero-right { height: 160px; }
    .about-slide { height: 120px; }
}


/* =============================================================
   PBX INTRO SECTION
   ============================================================= */

.pbx-intro-section {
    background: #ffffff;
    padding: 100px 0;
}

.pbx-intro-img-wrap {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(110, 25, 111, 0.12);
    max-width: 450px;
}

.pbx-intro-img { width: 100%; height: auto; display: block; }

.pbx-intro-img-wrap2 {
    position: absolute;
    max-width: 230px;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 20px;
    overflow: hidden;
}

.pbx-intro-content { padding-left: 8px; }

.pbx-intro-desc {
    font-size: 17px;
    font-weight: 300;
    line-height: 1.75;
    color: var(--color-dark);
    margin-bottom: 20px;
}

@media (max-width: 1399.98px) {
    .pbx-intro-section { padding: 90px 0; }
}

@media (max-width: 1199.98px) {
    .pbx-intro-section { padding: 80px 0; }
    .pbx-intro-img-wrap2 { max-width: 190px; }
}

@media (max-width: 991.98px) {
    .pbx-intro-section { padding: 70px 0; }
    .pbx-intro-img-wrap2 { max-width: 160px; }
    .pbx-intro-content { padding-left: 0; }
}

@media (max-width: 767.98px) {
    .pbx-intro-section { padding: 56px 0; }
    .pbx-intro-img-wrap { margin-bottom: 32px; }
    .pbx-intro-img-wrap2 {
        position: relative;
        top: -65px;
        transform: none;
        margin-left: auto;
        margin-bottom: -50px;
        max-width: 200px;
    }
    .pbx-intro-desc { font-size: 16px; }
}

@media (max-width: 575.98px) {
    .pbx-intro-section { padding: 44px 0; }
    .pbx-intro-content { text-align: center; }
    .pbx-intro-desc { font-size: 15px; }
    .pbx-intro-img-wrap2 { max-width: 160px; top: -50px; }
}

@media (max-width: 399.98px) {
    .pbx-intro-section { padding: 36px 0; }
}


/* =============================================================
   PBX BENEFITS SECTION
   ============================================================= */

.pbx-benefits-section {
    background: linear-gradient(181deg, rgba(255, 214, 219, 0.00) 5.32%, #cc76c93b 57.76%, #FFF 94.4%);
    padding: 0px 0 100px;
}

.pbx-benefits-tag {
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid #d0d0d0;
    border-radius: 50px;
    padding: 6px 20px;
    margin-bottom: 12px;
    color: var(--color-heading);
}

.pbx-benefits-head { margin-bottom: 8px; }

.pbx-benefits-subtitle {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.6;
    color: var(--color-dark);
    max-width: 680px;
}

.pbx-benefit-card { padding: 8px 0; }

.pbx-benefit-icon { margin-bottom: 18px; line-height: 0; }

.pbx-benefit-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-heading);
    margin-bottom: 5px;
}

.pbx-benefit-desc {
    font-size: 17px;
    font-weight: 300;
    line-height: 1.6;
    color: var(--color-dark);
    margin: 0;
}


@media (max-width: 1199.98px) {
   
    .pbx-benefits-subtitle { font-size: 17px; }
}

@media (max-width: 991.98px) {
    .pbx-benefits-section { padding: 70px 0; }
    .pbx-benefit-desc { font-size: 16px; }
}

@media (max-width: 767.98px) {
    .pbx-benefits-section { padding: 56px 0; }
    .pbx-benefit-title { font-size: 17px; }
    .pbx-benefit-desc { font-size: 15px; }
    .pbx-benefit-card { text-align: center; }
    .pbx-benefits-subtitle { font-size: 16px; }
}

@media (max-width: 575.98px) {
    .pbx-benefits-section { padding: 44px 0; }
    .pbx-benefit-title { font-size: 16px; }
    .pbx-benefit-desc { font-size: 14px; }
}

@media (max-width: 399.98px) {
    .pbx-benefits-section { padding: 36px 0; }
}


/* =============================================================
   PBX INTEGRATIONS SECTION
   ============================================================= */

.pbx-integrations-section {
    position: relative;
    padding: 100px 0;
    background: #f8e8ff;
    overflow: hidden;
    text-align: center;
}

.pbx-int-dots {
    position: absolute;
    top: 0;
    width: 180px;
    height: 100%;
    pointer-events: none;
}

.pbx-int-dots--left {
    left: 0;
    bottom: 0;
    height: auto;
    display: flex;
    align-items: flex-end;
    mix-blend-mode: overlay;
}

.pbx-int-dots--right { right: 0; mix-blend-mode: overlay; }

.pbx-int-subtitle {
    font-size: 20px;
    font-weight: 300;
    line-height: 1.6;
    color: var(--color-dark);
    margin: 0;
}

.pbx-int-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.pbx-int-logo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--int-bg, #e8f0ff);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pbx-int-logo:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(110, 25, 111, 0.15);
}

.pbx-int-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

@media (max-width: 1399.98px) {
    .pbx-integrations-section { padding: 90px 0; }
}

@media (max-width: 1199.98px) {
    .pbx-integrations-section { padding: 80px 0; }
    .pbx-int-dots { width: 130px; }
    .pbx-int-subtitle { font-size: 18px; }
}

@media (max-width: 991.98px) {
    .pbx-integrations-section { padding: 70px 0; }
    .pbx-int-dots { width: 100px; }
    .pbx-int-subtitle { font-size: 17px; }
}

@media (max-width: 767.98px) {
    .pbx-integrations-section { padding: 56px 0; }
    .pbx-int-subtitle { font-size: 15px; }
    .pbx-int-logo { width: 64px; height: 64px; }
    .pbx-int-dots { display: none; }
}

@media (max-width: 575.98px) {
    .pbx-integrations-section { padding: 44px 0; }
    .pbx-int-logos { gap: 14px; }
    .pbx-int-logo { width: 56px; height: 56px; }
    .pbx-int-subtitle { font-size: 14px; }
}

@media (max-width: 399.98px) {
    .pbx-integrations-section { padding: 36px 0; }
    .pbx-int-logos { gap: 10px; }
    .pbx-int-logo { width: 48px; height: 48px; }
}


/* =============================================================
   PBX STATS SECTION
   ============================================================= */

.pbx-stats-section {
    padding: 100px 0 0;
    background: #ffffff;
}

.pbx-stat-card { padding: 16px 24px; }

.pbx-stat-num {
    font-size: clamp(56px, 8vw, 88px);
    font-weight: 700;
    line-height: 1;
    margin: 0 0 14px;
    background: linear-gradient(270deg, #6E196F 4.97%, #F433E7 151.61%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pbx-stat-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-heading);
    margin-bottom: 10px;
}

.pbx-stat-desc {
    font-size: 17px;
    font-weight: 300;
    line-height: 1.7;
    color: var(--color-dark);
    margin: 0;
    max-width: 300px;
    margin-inline: auto;
}



@media (max-width: 1199.98px) {

    .pbx-stat-desc { font-size: 16px; }
}

@media (max-width: 991.98px) {
    .pbx-stats-section { padding: 70px 0; }
    .pbx-stat-card { padding: 12px 16px; }
}

@media (max-width: 767.98px) {
    .pbx-stats-section { padding: 56px 0; }
    .pbx-stat-num { font-size: clamp(48px, 14vw, 72px); }
    .pbx-stat-title { font-size: 18px; }
    .pbx-stat-desc { font-size: 15px; max-width: 100%; }
    .pbx-stat-card { padding: 16px 12px; }
}

@media (max-width: 575.98px) {
    .pbx-stats-section { padding: 44px 0; }
    .pbx-stat-card { padding: 0px; }
    .pbx-stat-desc { font-size: 14px; }
    .about-hero-left{order: 2;}
    .about-hero-right {
        height: 160px;
        overflow: hidden;
        max-height: 250px;
    }
    .stats-num{font-size:42px!important}
    .pbx-benefits-section{text-align: center;}
    .pbx-integrations-section{padding: 40px 0!important}
    .pbx-stats-section{padding: 40px 0!important    }
}

@media (max-width: 399.98px) {
    .pbx-stats-section { padding: 36px 0; }
}


/* =============================================================
   BLOG SECTION
   ============================================================= */

.blog-section {
    background: #ffffff;
    padding: 100px 0;
    overflow: hidden;
}

.blog-tag {
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    border: 1.5px solid #c0c0c0;
    border-radius: 50px;
    padding: 6px 20px;
    margin-bottom: 14px;
}

.blog-heading-wrap { margin-bottom: 36px; }
.blog-heading-wrap .heading { margin-bottom: 0; line-height: 1.2; }

.blog-swiper-outer { padding-left: 12px; }

@media (min-width: 576px)  { .blog-swiper-outer { padding-left: max(12px, calc((100vw - 540px)  / 2 + 12px)); } }
@media (min-width: 768px)  { .blog-swiper-outer { padding-left: max(12px, calc((100vw - 720px)  / 2 + 12px)); } }
@media (min-width: 992px)  { .blog-swiper-outer { padding-left: max(12px, calc((100vw - 960px)  / 2 + 12px)); } }
@media (min-width: 1200px) { .blog-swiper-outer { padding-left: max(12px, calc((100vw - 1140px) / 2 + 12px)); } }
@media (min-width: 1400px) { .blog-swiper-outer { padding-left: max(12px, calc((100vw - 1320px) / 2 + 65px)); } }

.blog-swiper { overflow: visible !important; }

.blog-slide { height: 320px; }

.blog-card {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 18px;
    overflow: hidden;
    cursor: pointer;
    display: block;
}

.blog-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.blog-card:hover .blog-card__img { transform: scale(1.06); }

.blog-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.18) 35%, rgba(0,0,0,0.80) 100%);
    border-radius: inherit;
    pointer-events: none;
}

.blog-card__cat {
    position: absolute;
    top: 14px;
    left: 14px;
    font-size: 12px;
    font-weight: 500;
    color: #13002e;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(4px);
    border-radius: 50px;
    padding: 3px 12px;
    white-space: nowrap;
    z-index: 2;
}

.blog-card__body {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 20px 18px 16px;
    z-index: 2;
}

.blog-card__title {
    font-size: 17px;
    font-weight: 500;
    color: #ffffff;
    line-height: 1.35;
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card__read {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    transition: color 0.2s ease, gap 0.2s ease;
}

.blog-card__read:hover { color: #ffffff; gap: 8px; }

@media (min-width: 1400px) { .blog-slide { height: 340px; } }

@media (max-width: 1399.98px) {
    .blog-section { padding: 90px 0; }
    .blog-slide { height: 320px; }
}

@media (max-width: 1199.98px) {
    .blog-section { padding: 80px 0; }
    .blog-slide { height: 300px; }
    .blog-card__title { font-size: 16px; }
}

@media (max-width: 991.98px) {
    .blog-section { padding: 70px 0; }
    .blog-slide { height: 270px; }
    .blog-heading-wrap { margin-bottom: 28px; }
    .blog-card__title { font-size: 15px; }
    .blog-card__body { padding: 16px 14px 14px; }
    .blog-card__read { font-size: 13px; }
}

@media (max-width: 767.98px) {
    .blog-section { padding: 56px 0; }
    .blog-slide { height: 240px; }
    .blog-tag { font-size: 13px; padding: 5px 16px; }
    .blog-heading-wrap { margin-bottom: 22px; }
    .blog-card { border-radius: 14px; }
    .blog-card__title { font-size: 14px; margin-bottom: 7px; }
    .blog-card__cat { font-size: 11px; padding: 2px 10px; top: 10px; left: 10px; }
    .blog-card__body { padding: 14px 12px 12px; }
    .blog-card__read { font-size: 12px; }
}

@media (max-width: 575.98px) {
    .blog-section { padding: 44px 0; }
    .blog-slide { height: 210px; }
    .blog-swiper-outer { padding-left: 16px; }
    .blog-card__title { font-size: 13px; }
    .blog-card__body { padding: 12px 12px 10px; }
}

@media (max-width: 399.98px) {
    .blog-section { padding: 36px 0; }
    .blog-slide { height: 190px; }
}
