:root {
    --new-hero-height: 600px;
    --default-section-width: 80%;
    --section-gap: 4rem;
}

h2 {
    font-size: 3.5rem;
}

p {
    font-size: 1.25rem;
}

main {
    display: flex;
    flex-direction: column;
    gap: var(--section-gap);
}

.hero--banner {
    height: var(--new-hero-height);
}

.hero__stage {
    height: var(--new-hero-height);
}

.hero__content {
    width: 90%;
}

.hero__title {
    width: 50%;
    font-size: 1.75rem;
}

.hero__title h1 {
    line-height: 1.1;
    font-weight: bolder;
}

.hero-subtitle {
    margin: 1rem 0px 0px;
    font-size: clamp(1.5rem, 1.75vw, 2.25rem);
    line-height: 1.4;
    font-weight: 500;
    color: rgb(255, 255, 255);
}

.bg-overlay--medium-dot {
    background: radial-gradient(circle at 90% 60%, rgba(238, 238, 238, 0) 40%, rgba(19, 76, 143, 0.9) 40%);
}

.bg-overlay--big-dot {
    background: radial-gradient(circle at 90% 60%, rgba(238, 238, 238, 0) 45%, rgba(19, 76, 143, 0.7) 45%);
}

@media (max-width: 1200px) {
    .bg-overlay--medium-dot {
        background: radial-gradient(circle at 150% 50%, rgba(238, 238, 238, 0) 40%, rgba(19, 76, 143, 0.9) 40%);
    }

    .bg-overlay--big-dot {
        background: radial-gradient(circle at 150% 50%, rgba(238, 238, 238, 0) 45%, rgba(19, 76, 143, 0.7) 45%);
    }
}

.intro {
    margin: 2rem auto auto;
    width: 80%;
    display: flex;
    flex-flow: wrap;
    gap: 8rem;
}

.intro h2 {
    width: 100%;
    flex: 0 0 100%;
    font-size: 3.5rem;
    margin-bottom: -6rem;
}

.intro .story {
    flex: 1 1 50%;
    width: 50%;
}

.intro .apple-logo {
    flex: 1 1 25%;
    width: 25%;
}

.intro .apple-logo img {
    width: 100%;
}

.cards {
    width: var(--default-section-width);
    margin: 4rem auto;
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

.card {
    display: grid;
    grid-template-columns: minmax(0px, 1fr) minmax(0px, 1fr);
    align-items: stretch;
    overflow: hidden;
    background: rgb(255, 255, 255);
}

.card:nth-child(2n+1) .card__content {
    order: 2;
}

.card:nth-child(2n+1) .card__image {
    order: 1;
}

.card__content {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    padding: 2rem clamp(2rem, 4vw, 4rem);
}

.card__title {
    margin: 0px 0px 1.5rem;
    color: rgb(19, 76, 143);
    line-height: 1.1;
}

.card__text {
    margin: 0px;
    line-height: 1.65;
}

.card__image {
    min-height: 100%;
    overflow: hidden;
    background: rgb(238, 238, 238);
}

.card__image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center center;
}

@media (max-width: 900px) {
    .cards {
        width: 90%;
        gap: 3rem;
    }

    .card {
        display: flex;
        flex-direction: column;
    }

    .card:nth-child(2n+1) .card__content,
    .card:nth-child(2n+1) .card__image {
        order: initial;
    }

    .card__content {
        padding: 2rem;
    }

    .card__image {
        width: 100%;
        min-height: 0;
        height: auto;
    }

    .card__image img {
        width: 100%;
        height: auto;
        min-height: 0;
        aspect-ratio: 16 / 9;
        object-fit: cover;
        object-position: center;
    }
}

.ribbon {
    background-color: rgb(19, 76, 143);
    padding: 1rem 0px 2rem;
    margin-top: calc(-1 * var(--section-gap));
}

.ribbon h2, .ribbon p {
    width: var(--default-section-width);
    margin: 1rem auto;
    color: white;
}

.video-section{
    margin: 2rem auto auto;
    width: var(--default-section-width);
    display: flex;
    flex-direction: column;
    gap: 4rem;
    max-width: 1600px;
}
.video-section h2{
    background:var(--color-dacc-blue);
    color:white;
    padding:13px 80px 13px 80px;
    width:fit-content;
    border-radius:0 15px 0 0;
}
.videos {
    background: #eee;
    display: flex;
    flex-direction: column;
    gap: 4rem;
    padding: 2rem;
}


.video-card-panel {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
        "image-one image-two"
        "media summary";
    gap: 0;
    background: #fff;
    overflow: hidden;
    box-shadow: 4px 4px 8px rgba(102, 102, 102, 0.4);
    border-radius: 40px;
}

.video-card-panel__image--one {
    grid-area: image-one;
}

.video-card-panel__image--two {
    grid-area: image-two;
}

.video-card-panel__media-panel {
    grid-area: media;
}

.video-card-panel__summary {
    grid-area: summary;
}

.video-card-panel__image {
    width: 100%;
    min-height: 320px;
    background: #ddd;
    overflow: hidden;
}

.video-card-panel__image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    object-position: center;
}

.video-card-panel__media-panel,
.video-card-panel__summary {
    min-height: 360px;
}

.video-card-panel__media-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fff;
    min-height: 600px;
}

.video-card-panel__title {
    margin: 0;
    padding: 2rem 2rem 1.25rem;
    color: #134c8f;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.05;
    font-size: 2.45rem;
}

.video-card-panel__media {
    width: 100%;
    aspect-ratio: 16 / 9;
    padding: 0 2rem;
}

.video-card-panel__media video {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-card-panel__summary {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(2rem, 4vw, 4rem);
    background: #f5f7fa;
}

.video-card-panel__summary p {
    margin: 0;
    font-size: clamp(1.25rem, 1.6vw, 1.65rem);
    line-height: 1.65;
}

@media (max-width: 900px) {
    .video-section {
        width: 90%;
        margin: 5rem auto 3rem;
        gap: 6rem;
    }

    .video_row h2 {
        width: 100%;
        border-radius: 0;
    }

    .videos {
        padding: 1rem;
        gap: 3rem;
    }

    .video-card-panel {
        grid-template-columns: 1fr;
        grid-template-areas:
            "image-one"
            "image-two"
            "media"
            "summary";
    }

    .video-card-panel__image,
    .video-card-panel__image img {
        min-height: 260px;
    }

    .video-card-panel__media-panel,
    .video-card-panel__summary {
        min-height: auto;
    }
}

.feature-video {
    width: 100%;
    background: rgb(245, 247, 250);
}

.feature-video__inner {
    margin: 0px auto;
}

.feature-video__title {
    margin: 0px 0px 1rem;
    color: rgb(19, 76, 143);
}

.feature-video__caption {
    max-width: 900px;
    margin: 0px 0px 2rem;
    font-size: 1.25rem;
    line-height: 1.6;
}

.feature-video__media {
    width: 100%;
    background: rgb(0, 0, 0);
    overflow: hidden;
}

.feature-video__media video {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    background: rgb(0, 0, 0);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0px, 0px, 0px, 0px);
    white-space: nowrap;
    border: 0px;
}

@media (max-width: 768px) {
    .feature-video {
    }

    .feature-video__inner {
        width: 100%;
    }

    .feature-video__media {
    }
}

.feature-video, .feature-video__inner, .feature-video__media, .feature-video__media video {
    position: relative;
    z-index: 2;
}

.hero__stage--backdrop, .bg-overlay {
    pointer-events: none;
}

.feature-video__media video {
    pointer-events: auto;
}

.feature-video {
    clear: both;
    isolation: isolate;
    max-width: 1800px;
    margin: auto;
}

.quote-feature {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0px, 1fr) minmax(420px, 1fr);
    background: rgb(255, 255, 255);
    overflow: hidden;
    margin-top: calc(-1 * var(--section-gap));
}

.quote-feature__image-wrap {
    width: 100%;
    min-height: 650px;
    background: rgb(238, 238, 238);
}

.quote-feature__image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 650px;
    object-fit: cover;
    object-position: center center;
}

.quote-feature__content-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(3rem, 6vw, 7rem) clamp(2rem, 5vw, 6rem);
}

.quote-feature__content {
    width: min(100%, 720px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
}

.quote-feature__title {
    margin: 0px;
    color: rgb(19, 76, 143);
    line-height: 1.1;
}

.quote-feature__video {
    width: 100%;
    background: rgb(0, 0, 0);
    overflow: hidden;
}

.quote-feature__video video {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    background: rgb(0, 0, 0);
}

.quote-feature__quote {
    margin: 0px;
    max-width: 650px;
}

.quote-feature__quote p {
    margin: 0px;
    font-size: clamp(1.5rem, 2vw, 2.25rem);
    line-height: 1.5;
    font-weight: 500;
    color: rgb(34, 34, 34);
}

.quote-feature__quote p::before {
    content: "“";
}

.quote-feature__quote p::after {
    content: "”";
}

.quote-feature__quote cite {
    display: block;
    margin-top: 1rem;
    font-size: 1.125rem;
    font-style: normal;
    font-weight: 700;
    color: rgb(19, 76, 143);
}

@media (max-width: 1000px) {
    .quote-feature {
        grid-template-columns: 1fr;
    }

    .quote-feature__image-wrap, .quote-feature__image {
        min-height: 420px;
    }

    .quote-feature__content-wrap {
        padding: 3rem 5%;
    }
}

@media (max-width: 600px) {
    .quote-feature__image-wrap, .quote-feature__image {
        min-height: 320px;
    }

    .quote-feature__video {
        border-radius: 16px;
    }

    .quote-feature__quote p {
        font-size: 1.35rem;
    }
}

.stats-ribbon {
    width: 100%;
    padding: clamp(3rem, 5vw, 5rem) 0px;
    color: rgb(255, 255, 255);
}

.stats-ribbon--apple {
    background: rgb(217, 217, 217);
    margin-top: calc(-1 * var(--section-gap));
}

.stats-ribbon--statistics {
    background: var(--color-dacc-crimson);
    margin-bottom: calc(-1 * var(--box-margin));
}

.stats-ribbon__inner {
    width: var(--default-section-width);
    margin: 0px auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stats-ribbon__title {
    margin: 0px 0px 2rem;
    color: black;
    line-height: 1.1;
}

.ribbon--head {
    display: flex;
    gap: 4rem;
    align-content: center;
}

.stats-ribbon--statistics .stats-ribbon__title {
    color: white;
    margin-bottom: 0px;
}

.stats-ribbon__action {
}

.stats-ribbon__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    height: 100%;
    padding: 0.85rem 1.5rem;
    border: 2px solid rgb(255, 255, 255);
    border-radius: 999px;
    color: rgb(255, 255, 255);
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.2s, color 0.2s, transform 0.2s;
}

.stats-ribbon__button:hover, .stats-ribbon__button:focus {
    background: rgb(255, 255, 255);
    color: rgb(19, 76, 143) !important;
    text-decoration: none;
    transform: translateY(-2px);
}

.stats-ribbon__button:focus-visible {
    outline: rgb(255, 255, 255) solid 3px;
    outline-offset: 4px;
}

.stats-ribbon__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: 2rem;
    align-items: stretch;
}

.stats-ribbon__grid--three {
    grid-template-columns: repeat(3, minmax(0px, 1fr));
}

.stats-ribbon__grid--seven {
    grid-template-columns: repeat(4, minmax(0px, 1fr));
}

.stats-ribbon__grid--seven .stats-ribbon__item:nth-child(n+5) {
    grid-column: span 1;
}

.stats-ribbon__grid--seven .stats-ribbon__item:nth-child(5) {
    grid-column-start: 1;
}

.stats-ribbon__item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.75rem;
    min-height: 150px;
    padding: 1.5rem;
    border-radius: 24px;
    align-items: center;
}

.stats-ribbon__item strong {
    display: block;
    font-size: clamp(3rem, 5vw, 5.5rem);
    line-height: 0.95;
    font-weight: 800;
}

.stats-ribbon__item span {
    display: block;
    font-size: clamp(1.125rem, 1.4vw, 1.5rem);
    line-height: 1.35;
    font-weight: 600;
}

.stats-ribbon__text {
    max-width: 950px;
    margin: 2.5rem auto 0px;
    color: black;
    font-size: clamp(1.2rem, 1.5vw, 1.5rem);
    line-height: 1.6;
}
.stats-ribbon--apple .stats-ribbon__title {
    text-align:center;
}
.stats-ribbon--apple .stats-ribbon__item strong {
    color: var(--color-dacc-crimson);
}

.stats-ribbon--apple .stats-ribbon__text {
    margin:0;
    width: 100%;
    max-width: 100%;
    font-weight: bold;
    font-size: 1.78rem;
}

.stats-ribbon--apple .stats-ribbon__item span {
    color: var(--color-dacc-blue);
}

.stats-ribbon--what_next {
    background-color: var(--color-dacc-crimson);
}

.stats-ribbon--what_next .stats-ribbon__text {
    margin: 0px;
    color: white;
    max-width: 100%;
}

.stats-ribbon--what_next .stats-ribbon__title {
    margin: 0px;
    color: white;
}

.success-story{
    font-size:1.575rem;
}

@media (max-width: 1000px) {
    .stats-ribbon__grid--three, .stats-ribbon__grid--seven {
        grid-template-columns: repeat(2, minmax(0px, 1fr));
    }
}

@media (max-width: 650px) {
    .stats-ribbon__inner {
        width: 90%;
    }

    .stats-ribbon__grid--three, .stats-ribbon__grid--seven {
        grid-template-columns: 1fr;
    }

    .stats-ribbon__item {
        min-height: auto;
    }
}




/* ##### SCROLL ENTRY ANIMATIONS ##### */

.scroll-reveal {
    opacity: 0;
    transform: translateY(36px);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
    will-change: opacity, transform;
}

.scroll-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Slide in from left */
.scroll-reveal--left {
    transform: translateX(-48px);
}

.scroll-reveal--left.is-visible {
    transform: translateX(0);
}

/* Slide in from right */
.scroll-reveal--right {
    transform: translateX(48px);
}

.scroll-reveal--right.is-visible {
    transform: translateX(0);
}

/* Slight delay options */
.scroll-reveal--delay-1 {
    transition-delay: 0.12s;
}

.scroll-reveal--delay-2 {
    transition-delay: 0.24s;
}

.scroll-reveal--delay-3 {
    transition-delay: 0.36s;
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .scroll-reveal,
    .scroll-reveal--left,
    .scroll-reveal--right {
        opacity: 1;
        transform: none;
        transition: none;
    }
}