/* ================================================================
   ABOUT US - Full-Bleed Premium Layout
   pa-about__grid: Left content (container-padded) + Right image (screen-edge to screen-edge)
   ================================================================ */

/* ── Section: no top margin, sits right under the ticker ── */
.pa-about {
    position: relative;
    overflow: hidden;
    background: #fff;
    margin-top: 0;
    padding: 0;
}

/* ── Full-width two-column grid ── */
.pa-about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
}

/* ================================================================
   LEFT - Content Column
   Padding replicates Bootstrap .container centering on the left half
   ================================================================ */
.pa-about__content-col {
    display: flex;
    align-items: center;
    /* Left edge aligned like a .container centered at var(--main-container) */
    padding: 80px 56px 80px max(calc((100vw - var(--main-container)) / 2 + 24px), 24px);
    background: #fff;
    position: relative;
}

/* Subtle radial dot pattern behind content */
.pa-about__content-col::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(176, 152, 69, 0.10) 0%, transparent 70%);
    pointer-events: none;
}

.pa-about__content {
    width: 100%;
    max-width: 520px;
}

/* ── Eyebrow ── */
.pa-about__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--theme-color);
    margin-bottom: 16px;
}

.pa-about__eyebrow-line {
    display: inline-block;
    width: 30px;
    height: 2px;
    background: var(--theme-color);
    border-radius: 2px;
}

/* ── Heading ── */
.pa-about__heading {
    font-family: var(--title-font);
    font-size: clamp(28px, 3.0vw, 44px);
    font-weight: 800;
    line-height: 1.14;
    color: var(--title-color);
    margin-bottom: 0;
}

.pa-about__heading em {
    font-style: normal;
    color: var(--theme-color);
}

/* Red accent line below heading (as border-left on first paragraph) */
.pa-about__body {
    font-family: var(--body-font);
    font-size: 14.5px;
    font-weight: 600;
    text-align: justify;
    line-height: 1.85;
    color: #454545;
    margin-bottom: 14px;
}

.pa-about__body:first-of-type {
    margin-top: 20px;
    padding-left: 14px;
    border-left: 3px solid var(--theme-color);
}

.pa-about__body strong {
    color: var(--title-color);
    font-weight: 700;
}

/* ── Stat Counters ── */
.pa-about__counters {
    display: flex;
    align-items: center;
    padding: 22px 0;
    margin: 20px 0 24px;
    border-top: 1px solid #e8e8e8;
    border-bottom: 1px solid #e8e8e8;
}

.pa-about__counter {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 20px;
}

.pa-about__counter:first-child {
    padding-left: 0;
}

.pa-about__counter strong {
    font-family: var(--title-font);
    font-size: 36px;
    font-weight: 800;
    line-height: 1;
    color: var(--theme-color);
    letter-spacing: -1px;
    white-space: nowrap;
}

.pa-about__counter strong span {
    font-size: 22px;
    color: var(--theme-color2);
}

.pa-about__counter>span {
    font-family: var(--body-font);
    font-size: 11.5px;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    line-height: 1.4;
}

.pa-about__counter-sep {
    width: 1px;
    height: 36px;
    background: #ddd;
    flex-shrink: 0;
}

/* ── CBSE Banner ── */
.pa-about__cbse {
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(115deg, #B09845 0%, #76601d 100%);
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 26px;
    box-shadow: 0 4px 18px rgba(176, 152, 69, 0.20);
}

.pa-about__cbse img {
    height: 48px;
    width: auto;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.15);
    padding: 5px;
    border-radius: 6px;
}

.pa-about__cbse-tag {
    display: block;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.65);
    text-transform: uppercase;
    margin-bottom: 3px;
}

.pa-about__cbse strong {
    display: block;
    color: #fff;
    font-family: var(--title-font);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.45;
}

/* ── CTA Button ── */
.pa-about__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--body-font);
    font-size: 17px;
    font-weight: 700;
    color: var(--theme-color);
    border: 2px solid var(--theme-color);
    padding: 12px 26px;
    border-radius: 6px;
    text-decoration: none;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
}

.pa-about__btn:hover {
    background: var(--theme-color);
    color: #fff;
}

.pa-about__btn svg {
    transition: transform 0.3s ease;
}

.pa-about__btn:hover svg {
    transform: translateX(4px);
}

/* ================================================================
   RIGHT - Image Column (full bleed to right screen edge)
   ================================================================ */
.pa-about__image-col {
    position: relative;
    overflow: hidden;
    /* Diagonal cut on the LEFT edge - modern split look */
    clip-path: polygon(7% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.pa-about__image-col img.pa-about__slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    opacity: 0;
    transition: opacity 1s ease;
}

.pa-about__image-col img.pa-about__slide--active {
    opacity: 1;
}

/* Layer 1: rich gradient vignette */
.pa-about__image-accent {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, rgba(0, 0, 0, 0.10) 0%, transparent 30%, rgba(0, 0, 0, 0.45) 100%),
        linear-gradient(135deg, rgba(152, 13, 26, 0.30) 0%, transparent 55%);
    pointer-events: none;
    z-index: 1;
}

/* Layer 2: dot pattern overlay */
.pa-about__image-col::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 22px 22px;
    z-index: 2;
    pointer-events: none;
}

/* Layer 3: bottom crimson ribbon */
.pa-about__image-col::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--theme-color), var(--theme-color2), var(--theme-color));
    background-size: 200% 100%;
    animation: shimmerBar 3s linear infinite;
    z-index: 3;
}

@keyframes shimmerBar {
    0% {
        background-position: 200% center;
    }

    100% {
        background-position: -200% center;
    }
}

/* ================================================================
   RESPONSIVE
   ================================================================ */

/* Small laptop / large tablet landscape: keep 2 columns but avoid a squeezed image track */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .pa-about__grid {
        grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
        min-height: 520px;
    }

    .pa-about__content-col {
        align-items: flex-start;
        padding-top: 56px;
        padding-bottom: 64px;
    }

    .pa-about__image-col {
        min-width: 280px;
    }
}

/* Tablet & mobile: single column — image first, copy below (never overlay) */
@media (max-width: 991.98px) {
    .pa-about__grid {
        grid-template-columns: 1fr;
        /* First row = hero image (fixed min height); second = white content (auto).
           Previous `auto 380px` put the image in an auto row → collapsed height + broken layout. */
        grid-template-rows: minmax(300px, min(52vw, 440px)) auto;
        min-height: 0;
    }

    .pa-about__image-col {
        order: -1;
        min-height: min(52vw, 440px);
        clip-path: none;
        /* Full-width hero strip on tablet */
        min-width: 0;
    }

    .pa-about__image-col img {
        position: absolute;
    }

    .pa-about__content-col {
        align-items: flex-start;
        padding: 40px clamp(20px, 5vw, 40px) 52px;
        background: #fff;
    }

    .pa-about__content {
        max-width: 640px;
        margin-inline: auto;
        width: 100%;
    }

    .pa-about__heading {
        text-align: center;
    }

    .pa-about__eyebrow {
        justify-content: center;
        width: 100%;
    }

    .pa-about__body {
        text-align: left;
    }

    .pa-about__counters {
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px 20px;
    }

    .pa-about__counter {
        padding: 0 10px;
    }

    .pa-about__counter:first-child {
        padding-left: 0;
    }

    .pa-about__counter strong {
        font-size: 28px;
    }

    .pa-about__cbse {
        max-width: 640px;
        margin-left: auto;
        margin-right: auto;
    }

    .pa-about__btn {
        display: flex;
        margin-inline: auto;
    }
}

@media (max-width: 575px) {
    .pa-about__counters {
        flex-wrap: wrap;
        gap: 14px;
    }

    .pa-about__counter-sep {
        display: none;
    }

    .pa-about__counter {
        flex: 0 0 45%;
        padding: 0;
    }

    .pa-about__grid {
        grid-template-rows: minmax(240px, 56vw) auto;
    }
}