.ctr-expect-section {
    box-sizing: border-box;
    background-color: #212121;
    color: #c8d4d2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ctr-expect-section h2,
.ctr-expect-section h3,
.ctr-expect-section p {
    margin: 0;
}

.ctr-page {
    box-sizing: border-box;
    width: 100%;
    max-width: 1100px;
    padding: 40px 0px 60px;
}

.ctr-panel {
    box-sizing: border-box;
    position: relative;
    border-radius: 16px;
    padding: 34px 44px;
    background: #262626;
}

/* Corners: variable-width arcs (thin at the side, ~2.5px where they meet the middle) */
.ctr-panel::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M0 16 A16 16 0 0 1 16 0 L16 2 A15 14 0 0 0 1 16 Z' fill='%234AC4D9'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M16 16 A16 16 0 0 0 0 0 L0 2 A15 14 0 0 1 15 16 Z' fill='%237B73EC'/%3E%3C/svg%3E");
    background-repeat: no-repeat, no-repeat;
    background-position: left top, right top;
    pointer-events: none;
}

/* Uniform straight middle */
.ctr-panel::after {
    content: "";
    position: absolute;
    top: 0;
    left: 16px;
    right: 16px;
    height: 2px;
    background: linear-gradient(100deg, #4AC4D9, #5B92E8 45%, #7B73EC 90%);
    pointer-events: none;
}

.ctr-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.ctr-heading-cell {
    display: flex;
    align-items: flex-start;
    padding: 40px 24px 20px 0;
}

.ctr-heading-cell h2 {
    font-weight: 400;
    color: #e8ecea;
    line-height: 1.35;
}

.ctr-heading-cell h2 em {
    font-style: italic;
    color: #3dcfc0;
}

.ctr-card {
    box-sizing: border-box;
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 38px 24px 32px;
    background: linear-gradient(#2F2F2F, #2F2F2F) padding-box,
        linear-gradient(160deg, #4AC4D9, #5B92E8 55%, #7B73EC) border-box;
}

.ctr-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    gap: 12px;
}

.ctr-card-header h3 {
    font-style: italic;
    font-weight: 400;
    color: #F3F3F3;
    line-height: 1.3;
    padding-top: 6px;
}

.ctr-card-header img {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.ctr-card p {
    color: #F3F3F3;
    line-height: 1.65;
}

/* ===========================================================
       Scroll-reveal animations
       Active variant is set by a class on .ctr-grid (e.g. .ctr-anim-fade-in).
       Swap that one class to change the animation; all variants
       below stay defined so the section can be reused.
       =========================================================== */
.ctr-reveal {
    will-change: opacity, transform, filter;
}

/* 1. Fade In */
.ctr-anim-fade-in .ctr-reveal {
    opacity: 0;
    transition: opacity 0.7s ease;
}
.ctr-anim-fade-in .ctr-reveal.ctr-in-view {
    opacity: 1;
}

/* 2. Slide Up */
.ctr-anim-slide-up .ctr-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.ctr-anim-slide-up .ctr-reveal.ctr-in-view {
    opacity: 1;
    transform: none;
}

/* 3. Scale In */
.ctr-anim-scale-in .ctr-reveal {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.ctr-anim-scale-in .ctr-reveal.ctr-in-view {
    opacity: 1;
    transform: none;
}

/* 3b. Slide In (From Left) */
.ctr-anim-slide-left .ctr-reveal {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.ctr-anim-slide-left .ctr-reveal.ctr-in-view {
    opacity: 1;
    transform: none;
}

/* 4. Blur In */
.ctr-anim-blur-in .ctr-reveal {
    opacity: 0;
    filter: blur(12px);
    transition: opacity 0.7s ease, filter 0.7s ease;
}
.ctr-anim-blur-in .ctr-reveal.ctr-in-view {
    opacity: 1;
    filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {
    .ctr-reveal {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        transition: none !important;
    }
}

/* Stack into a single column on small screens */
@media (max-width: 768px) {
    .ctr-grid {
        grid-template-columns: 1fr;
    }

    .ctr-heading-cell {
        padding: 8px 0 4px 0;
    }
    .ctr-card-header img {
        width: 50px;
        height: 50px;
    }
}
