/* ==========================================================================
   Generative AI Page Wrapper & Hero Section (1440px x 924px total)
   ========================================================================== */

.genai-wrapper {
    width: 100%;
    overflow-x: hidden;
}

/* Outer Wrapper Including Header (1440px x 924px, padding: 12px, gap: 12px) */
.genai-hero-wrapper {
    width: 100%;
    max-width: 100%;
    ;
    min-height: 924px;
    padding: 12px;
    gap: 12px;
    margin: 0 auto;
    background-color: #080711;
    background-image: linear-gradient(360deg, #7D69FC 0%, rgba(45, 36, 102, 0.25) 62.02%);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
}

.genai-hero-wrapper .site-header {
    width: 100%;
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    background: transparent;
}

/* Right Column (702px x 768px, padding: 32px, border-radius: 16px) */
.genai-hero-right-col {
    width: 702px;
    min-width: 702px;
    height: 768px;
    padding: 32px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    box-sizing: border-box;
}

/* Screen-Blend Video Layer */
.genai-video-wrapper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: transparent !important;
}

.genai-hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: screen;
    display: block;
    pointer-events: none;
}

/* ==========================================================================
   Hatched Bounding Boxes & Corner Crosshairs (+)
   ========================================================================== */

.genai-bbox {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    pointer-events: none;
    box-sizing: border-box;
    border: 1px solid rgba(253, 255, 246, 0.35);
    background-image: repeating-linear-gradient(-45deg,
            rgba(253, 255, 246, 0.08) 0px,
            rgba(253, 255, 246, 0.08) 1px,
            transparent 1px,
            transparent 6px);
    background-color: rgba(253, 255, 246, 0.02);
}

/* Top Overlay Box (146px x 145px at left: 314px, top: 137px) */
.genai-bbox-top {
    width: 146px;
    height: 145px;
    left: 314px;
    top: 137px;
    z-index: 3;
}

/* Bottom Overlay Box (186px x 126px at left: 192px, top: 388px) */
.genai-bbox-bottom {
    width: 186px;
    height: 126px;
    left: 192px;
    top: 388px;
    z-index: 4;
}

/* Lime-Green Corner Crosshairs (+) */
.genai-crosshair {
    position: absolute;
    width: 9px;
    height: 9px;
    pointer-events: none;
}

.genai-crosshair::before,
.genai-crosshair::after {
    content: '';
    position: absolute;
    background-color: #CAED57;
}

.genai-crosshair::before {
    width: 9px;
    height: 1px;
    top: 4px;
    left: 0;
}

.genai-crosshair::after {
    width: 1px;
    height: 9px;
    top: 0;
    left: 4px;
}

.genai-crosshair.tl {
    top: -5px;
    left: -5px;
}

.genai-crosshair.tr {
    top: -5px;
    right: -5px;
}

.genai-crosshair.bl {
    bottom: -5px;
    left: -5px;
}

.genai-crosshair.br {
    bottom: -5px;
    right: -5px;
}

/* ==========================================================================
   Hotspot Badges & Positions
   ========================================================================== */

.genai-hotspot-group {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    z-index: 5;
    pointer-events: none;
}

/* Top Hotspot Position (220px x 48px at left: -222px, top: 38px relative to top box or parent container) */
.genai-hotspot-top {
    left: 90px;
    top: 96px;
    align-items: flex-end;
    gap: 8px;
}

/* Bottom Hotspot Position (219px x 48px at left: 38px, top: 38px relative to bottom box or parent container) */
.genai-hotspot-bottom {
    right: 70px;
    bottom: 96px;
    align-items: flex-start;
    gap: 8px;
}

/* Shared Badge Pill */
.genai-hotspot-badge {
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 48px;
    background-color: #FDFFF6;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
    box-sizing: border-box;
}

.genai-badge-text {
    padding: 0 16px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 13px;
    line-height: 110%;
    color: #111111;
    white-space: nowrap;
}

.genai-badge-icon-box {
    width: 48px;
    height: 48px;
    background-color: #CAED57;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive Fallback */
@media (max-width: 1360px) {

    .genai-hero-wrapper,
    .ow-hero-section,
    .ow-hero-container {
        height: auto;
    }

    .ow-hero-container {
        flex-direction: column;
        align-items: center;
    }

    .ow-hero-left-col {
        width: 100%;
        min-width: 0;
        height: auto;
    }
}

/* Generative AI hero right column: Tablet (768px design).
   The shared left column (.ow-hero-*) is styled in style.css. */
@media (max-width: 1023px) {

    .genai-hero-wrapper {
        min-height: 0;
        padding: 0 12px 12px;
    }

    .genai-hero-section {
        padding: 12px 0 0;
    }

    .genai-hero-right-col {
        width: 100%;
        min-width: 0;
        height: 396px;
        padding: 0;
        overflow: hidden;
    }

    /* Coordinates from the 768px design (744px-wide column) */
    .genai-hotspot-top {
        left: 51px;
        top: 13px;
        right: auto;
    }

    .genai-bbox-top {
        width: 150px;
        height: 108px;
        left: 321px;
        top: 13px;
    }

    .genai-bbox-bottom {
        width: 226px;
        height: 145px;
        left: 260px;
        top: 191px;
    }

    .genai-hotspot-bottom {
        left: 500px;
        top: 194px;
        right: auto;
        bottom: auto;
    }
}

/* Mobile (390px design): hotspots scaled down and re-placed */
@media (max-width: 767px) {

    .genai-hero-section {
        padding: 12px 0;
    }

    .genai-hotspot-top {
        left: 22px;
        top: 72px;
        transform: scale(0.85);
        transform-origin: left top;
    }

    .genai-bbox-top {
        width: 120px;
        height: 90px;
        left: 214px;
        top: 40px;
    }

    .genai-bbox-bottom {
        left: 101px;
        top: 170px;
    }

    .genai-hotspot-bottom {
        left: 130px;
        top: 300px;
        transform: scale(0.85);
        transform-origin: left top;
    }
}


/* ==========================================================================
   Our Large Language Model (LLM) Services Section (1440px x 864px)
   ========================================================================== */

.llm-services-section {
    width: 100%;
    max-width: 100%;
    ;
    height: 864px;
    padding: 96px 48px;
    background-color: #FAFDF3;
    /* Light canvas background matching generative AI / content sections */
    color: #111111;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    overflow: hidden;
}

.llm-services-container {
    width: 1344px;
    max-width: 1344px;
    height: 672px;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
    gap: 48px;
    box-sizing: border-box;
}

/* Left Content Column (648px x 672px, radius: 16px, padding: 32px) */
.llm-left-col {
    width: 648px;
    min-width: 648px;
    height: 672px;
    padding: 32px;
    background-color: transparent;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
}

/* Top Title Group */
.llm-title-group {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.llm-main-title {
    font-family: 'Aspekta', sans-serif;
    font-weight: 400;
    font-size: 48px;
    line-height: 110%;
    letter-spacing: -0.02em;
    color: #111111;
    margin-bottom: 48px;
}

.llm-sub-title {
    font-family: 'Aspekta', sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 110%;
    letter-spacing: -0.01em;
    color: #111111;
}

/* Bottom Points Group */
.llm-bottom-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    line-height: 150%;
}

.llm-desc-text {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 140%;
    color: #555555;
    margin: 0;
}

.llm-points-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.llm-point-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.llm-point-icon {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.llm-point-text {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 140%;
    letter-spacing: 0%;
    color: rgba(17, 17, 17, 0.8);
}

/* Right Image Column (648px x 672px, padding: 0 32px) */
.llm-right-col {
    width: 648px;
    min-width: 648px;
    height: 672px;
    padding: 0 32px;
    background-color: transparent;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.llm-image-frame {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.llm-preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}

/* Responsive Fallback */
@media (max-width: 1360px) {

    .llm-services-section,
    .llm-services-container {
        height: auto;
    }

    .llm-services-container {
        flex-direction: column;
        align-items: center;
    }

    .llm-left-col,
    .llm-right-col {
        width: 100%;
        min-width: 0;
        height: auto;
    }
}

/* LLM services: Tablet / Mobile. The .llm-* classes are only used by generative-ai/3-llm-services.php. */
@media (max-width: 1023px) {

    .llm-services-section {
        padding: 36px;
        background-color: #FDFFF6;
    }

    .llm-services-container {
        width: 100%;
        max-width: 100%;
        gap: 0;
        align-items: stretch;
    }

    .llm-left-col {
        padding: 36px;
        gap: 36px;
    }

    .llm-title-group {
        gap: 24px;
    }

    .llm-main-title {
        margin-bottom: 0;
        font-size: 48px;
        line-height: 52.8px;
        letter-spacing: -0.96px;
    }

    .llm-main-title br,
    .llm-sub-title br {
        display: none;
    }

    .llm-sub-title {
        font-size: 24px;
        line-height: 26.4px;
        letter-spacing: 0;
    }

    .llm-bottom-group {
        gap: 24px;
    }

    .llm-desc-text,
    .llm-point-text {
        font-size: 16px;
        line-height: 24px;
    }

    .llm-desc-text {
        color: #111111;
    }

    .llm-points-list {
        gap: 16px;
    }

    .llm-point-text {
        color: rgba(17, 17, 17, 0.75);
    }

    .llm-right-col {
        padding: 0;
        height: 540px;
    }
}

/* Mobile (390px design) */
@media (max-width: 767px) {

    .llm-services-section {
        padding: 24px 16px;
    }

    .llm-services-container {
        gap: 24px;
    }

    .llm-left-col {
        padding: 0;
        gap: 24px;
    }

    .llm-main-title {
        font-size: 36px;
        line-height: 39.6px;
        letter-spacing: -0.72px;
    }

    .llm-right-col {
        height: auto;
        min-height: 460px;
    }
}

/* .genai-services-section {
    width: 100%;
    max-width: 100%;;
    height: 1219px;
    padding: 96px 48px;
    background-color: #FAFDF3;
    color: #111111;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    overflow: hidden;
}

.genai-services-content {
    width: 1344px;
    max-width: 1344px;
    height: 789px;
    display: flex;
    flex-direction: column;
    gap: 48px;
    box-sizing: border-box;
}

.genai-title-section {
    width: 644px;
    max-width: 100%;
    height: 243px;
    gap: 48px;
    margin-top: -90px;
}

.genai-section-title {
    width: 644px;
    max-width: 100%;
    height: 159px;
    font-family: 'Aspekta', sans-serif;
    font-weight: 400;
    font-size: 48px;
    line-height: 110%;
    letter-spacing: -0.02em;
    color: #111111;

}


.genai-section-desc {
    width: 644px;
    max-width: 100%;
    height: 60px;
    color: var(--color-grey-30, #4C4D4A);
    font-family: Inter;
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    leading-trim: CAP_HEIGHT;
    line-height: 150%;
    letter-spacing: 0%;
    margin-top: 12px;
} */


/* Right Image Frame (648px x 674px, border-radius: 64px) */
.optimize-right-col {
    width: 648px;
    height: 674px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.optimize-image-frame {
    width: 648px;
    height: 672px;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    background-color: #141414;
}



.optimize-carousel-section {
    background-color: #DBD5FF;
    color: #111111;
    width: 100%;
    height: 864px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    overflow: hidden;
}

.optimize-container {
    width: 100%;
    max-width: 1440px;
    height: 864px;
    padding: 96px 48px;
    display: grid;
    grid-template-columns: 648px 648px;
    gap: 48px;
    box-sizing: border-box;
    align-items: stretch;
}

/* Optimize (expert human feedback): Tablet (768px) and Mobile (390px).
   The text side reuses the .expertise-* classes from the home "Explore" section, whose tablet/mobile
   styles already live in style.css, so only the optimize-* wrappers need rules here. */
@media (max-width: 1360px) {

    .optimize-carousel-section,
    .optimize-container {
        height: auto;
    }

    .optimize-container {
        grid-template-columns: minmax(0, 1fr);
    }

    .optimize-right-col,
    .optimize-image-frame {
        width: 100%;
        height: auto;
        max-width: 648px;
        aspect-ratio: 648 / 674;
    }
}

@media (max-width: 775px) {

    .optimize-carousel-section {
        background-color: #DBD5FF;
    }

    .optimize-container {
        padding: 72px 72px 36px;
        gap: 36px;
    }

    /* Image band: 540px tall, breaks out of the text padding to sit 36px from the edge */
    .optimize-right-col {
        width: auto;
        max-width: none;
        height: 540px;
        aspect-ratio: auto;
        margin: 0 -36px;
    }

    .optimize-image-frame {
        width: 100%;
        max-width: none;
        height: 100%;
        aspect-ratio: auto;
        background-color: #111111;
    }
}

@media (max-width: 390px) {

    .optimize-container {
        padding: 36px 16px;
    }

    .optimize-right-col {
        margin: 0;
        height: 371px;
    }
}

/* 
/* ==========================================================================
   Inside Our Content Moderation Process Grid Section (1440px x 1150px)
   ========================================================================== */

/* .cm-grid-section {
    width: 100%;
    max-width: 100%;;
    height: 1150px;
    padding: 96px 48px;
    background-color: #FAFDF3; 
    color: #111111;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    overflow: hidden;
}

.cm-grid-container {
    width: 1200px;
    max-width: 1200px;
    height: 958px; 
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 64px;
    box-sizing: border-box;
}


.cm-grid-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
    width: 100%;
    max-width: 564px;
    margin: 0 auto;
}

.cm-grid-main-title {
    font-family: 'Aspekta', sans-serif;
    font-weight: 400;
    font-size: 48px;
    line-height: 110%;
    letter-spacing: -0.02em;
    color: #111111;
    margin: 0;
}

.cm-grid-desc {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0%;
    color: rgba(17, 17, 17, 0.7);
    margin: 0;
}

.cm-cards-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 384px);
    grid-template-rows: repeat(2, 364px);
    gap: 24px;
    width: 1200px;
    height: 752px;
    box-sizing: border-box;
}

.cm-feature-card {
    width: 384px;
    height: 364px;
    background-color: #0B0914; 
    border-top: 2px solid rgba(253, 255, 246, 0.15);
    border-right: 2px solid rgba(253, 255, 246, 0.15);
    border-bottom: 2px solid rgba(253, 255, 246, 0.15);
    border-left: 1px solid rgba(253, 255, 246, 0.15);
    border-radius: 4px;
    padding: 32px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cm-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.cm-card-bg-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 69.12px 69.12px;
    pointer-events: none;
    z-index: 1;
}


.cm-card-icon-wrap {
    width: 24px;
    height: 24px;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cm-card-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.cm-card-text-block {
    width: 320px;
    max-width: 100%;
    min-height: 158px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 24px;
    position: relative;
    z-index: 2;
    box-sizing: border-box;
}

.cm-card-title {
    font-family: 'Aspekta', sans-serif;
    font-weight: 400;
    font-size: 28px;
    line-height: 110%;
    letter-spacing: -0.02em;
    color: #FDFFF6;
    margin: 0;
}

.cm-card-desc {
    font-family: 'Inter', sans-serif;
    font-weight: 500; 
    font-size: 15px;
    line-height: 150%;
    letter-spacing: 0%;
    vertical-align: middle;
    color: rgba(253, 255, 246, 0.7);
    margin: 0;
}


@media (max-width: 1260px) {
    .cm-grid-section,
    .cm-grid-container,
    .cm-cards-wrapper {
        width: 100%;
        height: auto;
    }
    .cm-grid-section {
        padding: 64px 24px;
    }
    .cm-cards-wrapper {
        grid-template-columns: repeat(auto-fit, minmax(320px, 384px));
        grid-template-rows: auto;
        justify-content: center;
    }
    .cm-feature-card {
        width: 100%;
        height: auto;
        min-height: 364px;
    }
}  */


/* ==========================================================================
   Our Experience with Generative AI Section (1440px x 913px)
   ========================================================================== */

.genai-exp-section {
    width: 100%;
    max-width: 100%;
    ;
    height: 913px;
    padding: 96px 0;
    /* Vertical padding 96px, horizontal unconstrained to allow full bleed */
    background-color: #7D69FC;
    /* Solid purple background */
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    margin: 0 auto;
    overflow: hidden;
    gap: 64px;
}

/* Header Text Area */
.genai-exp-header {
    width: 100%;
    max-width: 940px;
    /* Hugs the subtitle text block */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    padding: 0 48px;
    box-sizing: border-box;
}

/* Main Title Typography (Aspekta 48px) */
.genai-exp-main-title {
    font-family: 'Aspekta', sans-serif;
    font-weight: 400;
    font-size: 48px;
    line-height: 110%;
    letter-spacing: -0.02em;
    color: #FFFFFF;
    margin: 0;
}

/* Subtitle Typography (Inter 16px) */
.genai-exp-sub-title {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0%;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* Bottom Carousel Layout Container (1312px x 584px) */
.genai-exp-carousel-wrap {
    width: 1312px;
    max-width: 100%;
    height: 584px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 48px;
    box-sizing: border-box;
}

/* Cards Track (Horizontal Scroll) */
.genai-exp-track {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 48px;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    padding-bottom: 12px;
    box-sizing: border-box;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.genai-exp-track::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

/* Individual Card (424px x 488px with Bottom-Left Chamfered Cut) */
.genai-exp-card {
    width: 424px;
    min-width: 424px;
    height: 488px;
    background-color: #F3F0E8;
    /* Light cream card base */
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-sizing: border-box;

    /* Bottom-right chamfered corner cut (24px cut) */
    clip-path: polygon(0% 0%,
            100% 0%,
            100% calc(100% - 24px),
            calc(100% - 24px) 100%,
            0% 100%);

    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.genai-exp-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

/* Top Image Area (424px x 244px, 5px left border line) */
.genai-exp-card-img-box {
    width: 424px;
    height: 244px;
    background-color: #111111;
    /* Lime accent on the left edge */
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.genai-exp-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Bottom Text Area (padding: 32px 24px) */
.genai-exp-card-body {
    padding: 32px 24px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-sizing: border-box;
}

.genai-exp-card-num {
    font-family: 'DM Mono', monospace;
    font-weight: 500;
    font-size: 12px;
    line-height: 120%;
    color: #7D69FC;
}

/* Text Content Group (376px x 146px) */
.genai-exp-card-text-group {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Title Typography (Aspekta 28px) */
.genai-exp-card-title {
    font-family: 'Aspekta', sans-serif;
    font-weight: 400;
    font-size: 28px;
    line-height: 110%;
    letter-spacing: -0.02em;
    color: #111111;
    margin: 0;
}

/* Description Typography (Inter 16px) */
.genai-exp-card-desc {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0%;
    color: #555555;
    margin: 0;
}

/* ==========================================================================
   Bottom Navigation Row
   ========================================================================== */

.genai-exp-bottom-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 48px;
    box-sizing: border-box;
    padding-left: 24px;
    /* Alignment indent matching the track bleed */
}

/* Left Pager Indicator (50px x 30px, padding: 6px, border-radius: 8px) */
.genai-pager-box {
    width: 50px;
    height: 30px;
    padding: 6px;
    gap: 4px;
    border: 1px solid #111111;
    background-color: #111111;
    border-radius: 8px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.genai-pager-bar {
    width: 4px;
    height: 16px;
    border-radius: 2px;
    background-color: rgba(253, 255, 246, 0.3);
    transition: background-color 0.25s ease;
}

.genai-pager-bar.is-active {
    background-color: #FDFFF6;
}

/* Right Nav Arrows Container */
.genai-arrows-box {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.genai-nav-arrow {
    width: 48px;
    height: 48px;
    border-radius: 9999px;
    background-color: #111111;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.genai-nav-arrow:hover {
    background-color: #262626;
    transform: scale(1.04);
}

/* Responsive Fallback */
@media (max-width: 1360px) {
    .genai-exp-section {
        height: auto;
        padding-left: 24px;
        padding-right: 24px;
    }

    .genai-exp-carousel-wrap {
        width: 100%;
        height: auto;
    }
}

/* Our Experience with Generative AI: Mobile (390px design).
   One card visible at a time; the rest scroll sideways with the pager and arrows.
   The .genai-exp-* classes are only used by generative-ai/7-experience.php. */
@media (max-width: 767px) {

    .genai-exp-section {
        padding: 24px 16px;
        gap: 24px;
    }

    .genai-exp-header {
        padding: 0;
        gap: 16px;
    }

    .genai-exp-main-title {
        font-size: 36px;
        line-height: 39.6px;
        letter-spacing: -0.72px;
    }

    .genai-exp-sub-title {
        color: #FFFFFF;
    }

    .genai-exp-carousel-wrap {
        gap: 24px;
    }

    .genai-exp-track {
        justify-content: flex-start;
        gap: 24px;
        padding-bottom: 0;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .genai-exp-card {
        flex: 0 0 100%;
        width: 100%;
        min-width: 0;
        height: auto;
        scroll-snap-align: start;
    }

    .genai-exp-card:hover {
        transform: none;
        box-shadow: none;
    }

    .genai-exp-card-img-box {
        width: 100%;
    }

    .genai-exp-card-body {
        min-height: 224px;
        padding: 24px;
        justify-content: space-between;
    }

    .genai-exp-bottom-nav {
        padding-left: 0;
    }
}


/* ==========================================================================
   Optimizing Large Language Models Section (1440px Width)
   ========================================================================== */

.genai-opt-section {
    width: 100%;
    max-width: 100%;
    ;
    padding: 96px 48px;
    background-color: #DBD5FF;
    color: #111111;
    margin: 0 auto;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
}

.genai-opt-container {
    width: 1344px;
    max-width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    box-sizing: border-box;
}

/* Left Image Column (648px x 674px, radius: 64px) */
.genai-opt-image-col {
    width: 648px;
    min-width: 648px;
    height: 674px;
    border-radius: 4px;
    background-color: #F1F4EA;
    /* Fallback skeleton color */
    position: relative;
    overflow: hidden;
    box-sizing: border-box;

}

.genai-opt-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.genai-opt-img.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Right Content Column */
.genai-opt-content-col {
    width: 648px;
    min-width: 648px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 256px;
    box-sizing: border-box;
}

/* Top Text Box (564px max width) */
.genai-opt-header {
    width: 100%;
    max-width: 564px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.genai-opt-main-title {
    font-family: 'Aspekta', sans-serif;
    font-weight: 400;
    font-size: 48px;
    line-height: 110%;
    letter-spacing: -0.02em;
    color: #111111;
    margin: 0;
}

.genai-opt-main-desc {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: #555555;
    margin: 0;
}

/* Bottom Carousel Layout (Vertical Nav + Text Panes) */
.genai-opt-carousel-area {
    width: 100%;
    max-width: 584px;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 32px;
}

/* ==========================================================================
   Vertical Progress/Step Indicator Track
   ========================================================================== */

.genai-opt-nav-track {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: 12px;
    padding: 6px 0;
    /* Optical alignment with the top text */
    gap: 8px;
}

.genai-opt-nav-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 12px;
    transition: all 0.3s ease;
}

/* Default Inactive State: Small 4x4 Dot */
.genai-opt-nav-indicator {
    display: block;
    width: 4px;
    height: 4px;
    border-radius: 9999px;
    background-color: rgba(17, 17, 17, 0.25);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Active State turns into the tall #7D69FC scrollbar thumb */
.genai-opt-nav-btn.is-active {
    flex-grow: 1;
}

.genai-opt-nav-btn.is-active .genai-opt-nav-indicator {
    width: 4px;
    height: 100%;
    min-height: 85px;
    background-color: #7D69FC;
    border-radius: 4px;
}

/* Text Panes Wrapper */
.genai-opt-panes-wrapper {
    flex: 1;
    position: relative;
    min-height: 160px;
    /* Reserves space so layout doesn't jump */
}

/* Individual Text Pane (Absolute stack, fading opacity) */
.genai-opt-pane {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease;
    transform: translateY(10px);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.genai-opt-pane.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    position: relative;
    /* Restores document flow for the active item */
    transform: translateY(0);
}

.genai-opt-pane-num {
    font-family: 'DM Mono', monospace;
    font-weight: 500;
    font-size: 14px;
    line-height: 120%;
    color: #7D69FC;
}

.genai-opt-pane-copy {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.genai-opt-pane-title {
    font-family: 'Aspekta', sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 110%;
    color: #111111;
    margin: 0;
}

.genai-opt-pane-desc {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: #555555;
    margin: 0;
}

/* Responsive Fallback */
@media (max-width: 1360px) {
    .genai-opt-container {
        flex-direction: column;
    }

    .genai-opt-image-col,
    .genai-opt-content-col {
        width: 100%;
        min-width: 0;
        height: auto;
    }

    .genai-opt-image-col {
        aspect-ratio: 1 / 1;
    }
}


/* Language experts (genai-opt): Tablet (768px design) and Mobile (390px design).
   The text sits above the image, so the image column is ordered after the content column.
   The .genai-opt-* classes are only used by generative-ai/8-experts.php. */
@media (max-width: 1023px) {

    .genai-opt-section {
        padding: 36px;
        background-color: #DBD5FF;
    }

    .genai-opt-container {
        gap: 36px;
        align-items: stretch;
    }

    .genai-opt-content-col {
        order: 1;
        padding: 36px;
        gap: 36px;
    }

    .genai-opt-image-col {
        order: 2;
        height: 540px;
        aspect-ratio: auto;
        border-radius: 4px;
        background-color: #F1F4EA;
        box-shadow: none;
    }

    .genai-opt-header {
        gap: 24px;
    }

    .genai-opt-main-title {
        font-size: 48px;
        line-height: 52.8px;
        letter-spacing: -0.96px;
    }

    .genai-opt-main-title br {
        display: none;
    }

    .genai-opt-main-desc {
        max-width: 524px;
        color: rgba(17, 17, 17, 0.75);
    }

    .genai-opt-carousel-area {
        max-width: none;
        gap: 20px;
    }

    /* Indicator: 6px bar (96px tall) with 6px dots, 11.67px apart */
    .genai-opt-nav-track {
        width: 6px;
        padding: 0;
        gap: 11.67px;
        align-self: flex-start;
        justify-content: flex-start;
    }

    .genai-opt-nav-btn {
        width: 6px;
    }

    .genai-opt-nav-indicator {
        width: 6px;
        height: 6px;
        border-radius: 2px;
    }

    .genai-opt-nav-btn.is-active {
        flex-grow: 0;
    }

    .genai-opt-nav-btn.is-active .genai-opt-nav-indicator {
        width: 6px;
        height: 96px;
        min-height: 0;
        border-radius: 2px;
    }

    .genai-opt-panes-wrapper {
        min-height: 240px;
    }

    .genai-opt-pane {
        gap: 24px;
    }

    .genai-opt-pane-copy {
        gap: 12px;
    }

    .genai-opt-pane-title {
        font-size: 36px;
        line-height: 39.6px;
        letter-spacing: -0.72px;
    }

    .genai-opt-pane-desc {
        color: rgba(17, 17, 17, 0.75);
    }
}

@media (max-width: 767px) {

    .genai-opt-section {
        padding: 36px 16px;
    }

    .genai-opt-container {
        gap: 24px;
    }

    .genai-opt-content-col {
        padding: 0;
    }

    .genai-opt-main-title {
        font-size: 36px;
        line-height: 39.6px;
        letter-spacing: -0.72px;
    }

    .genai-opt-panes-wrapper {
        min-height: 220px;
    }

    .genai-opt-pane-title {
        font-size: 24px;
        line-height: 26.4px;
        letter-spacing: -0.48px;
    }

    .genai-opt-image-col {
        height: auto;
        aspect-ratio: 358 / 371;
    }
}