/* =========================================================
   EduOrk — Corporate Training page
   Theme: brand maroon #670001 + gold, alternating white / cream bands.
   All classes start with "ct-" so nothing else on the site is touched.
   ========================================================= */
:root {
    --ct-maroon: #670001;
    --ct-deep: #430001;
    --ct-gold: #fbbf24;
    --ct-cream: #fff8f1;
    --ct-line: #f0d9c4;
    --ct-ink: #2a0001;
    --ct-text: #475569;
}

.ct-wrap {
    width: min(100% - 2rem, 76rem);
    margin-inline: auto;
}

h1,
h2,
h3 {
    font-family: 'Sora', 'Plus Jakarta Sans', sans-serif;
}

/* ---------- scroll reveal (only when JS is on) ---------- */
.ct-js [data-ct] {
    opacity: 0;
    transform: translateY(30px);
}

.ct-js [data-ct].ct-in {
    opacity: 1;
    transform: none;
    transition: opacity .8s cubic-bezier(.16, 1, .3, 1), transform .8s cubic-bezier(.16, 1, .3, 1);
    transition-delay: calc(var(--i, 0) * 90ms);
}

/* ---------- shared bits ---------- */
.ct-pill {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .45rem 1rem;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ct-gold);
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(251, 191, 36, .45);
}

.ct-grad {
    background: linear-gradient(90deg, #fecaca, #fbbf24 55%, #fde68a, #fecaca);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: ctShift 5s linear infinite;
}

.ct-grad-dark {
    background: linear-gradient(90deg, #670001, #dc2626 55%, #d97706);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

@keyframes ctShift {
    to {
        background-position: 200% center
    }
}

.ct-ico {
    flex: none;
    width: 3rem;
    height: 3rem;
    border-radius: .9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #fff;
    background: linear-gradient(145deg, #8a1a1c, #670001);
    box-shadow: 0 10px 18px -10px rgba(103, 0, 1, .7);
}

.ct-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    padding: .95rem 1.7rem;
    border-radius: 1rem;
    font-weight: 800;
    font-size: .95rem;
    text-decoration: none;
    border: 0;
    cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.ct-btn i {
    transition: transform .25s ease
}

.ct-btn:hover i {
    transform: translateX(4px)
}

.ct-btn-gold {
    color: #3a0000;
    background: linear-gradient(135deg, #fde68a, #fbbf24);
    box-shadow: 0 14px 28px -12px rgba(251, 191, 36, .7);
}

.ct-btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 34px -12px rgba(251, 191, 36, .85)
}

.ct-btn-ghost {
    color: #fff;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .35)
}

.ct-btn-ghost:hover {
    background: rgba(255, 255, 255, .18);
    transform: translateY(-3px)
}

.ct-bar-title {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--ct-ink);
    display: flex;
    align-items: center;
    gap: .75rem;
}

.ct-bar-title::before {
    content: "";
    width: .35rem;
    height: 1.8rem;
    border-radius: 99px;
    background: linear-gradient(var(--ct-maroon), var(--ct-gold));
}

/* ---------- HERO ---------- */
.ct-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: var(--ct-maroon);
    padding: 4.5rem 0 5rem;
}

.ct-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(620px circle at 90% 15%, rgba(251, 191, 36, .22), transparent 62%),
        radial-gradient(560px circle at 3% 95%, rgba(220, 38, 38, .38), transparent 62%);
}

.ct-hero-grid {
    position: relative;
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 960px) {
    .ct-hero-grid {
        grid-template-columns: 1.1fr .9fr
    }
}

.ct-hero h1 {
    margin: 1.1rem 0 1rem;
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -.02em;
    color: #fff;
}

.ct-lead {
    max-width: 38rem;
    font-size: 1.05rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, .86);
}

.ct-mini {
    list-style: none;
    margin: 1.8rem 0;
    padding: 0;
    display: grid;
    gap: .9rem;
}

@media (min-width: 640px) {
    .ct-mini {
        grid-template-columns: 1fr 1fr
    }
}

.ct-mini li {
    display: flex;
    gap: .8rem;
    padding: .95rem;
    border-radius: 1.1rem;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .16);
    backdrop-filter: blur(4px);
}

.ct-mini .ct-ico {
    width: 2.6rem;
    height: 2.6rem;
    background: linear-gradient(145deg, #fde68a, #fbbf24);
    color: #3a0000;
    box-shadow: none
}

.ct-mini h3 {
    font-size: .92rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.3
}

.ct-mini p {
    font-size: .78rem;
    line-height: 1.5;
    margin-top: .2rem;
    color: rgba(255, 255, 255, .72)
}

.ct-cta {
    display: flex;
    flex-wrap: wrap;
    gap: .9rem
}

.ct-hero-media {
    position: relative;
    padding: 1rem 1rem 2rem 0
}

.ct-photo {
    margin: 0;
    border-radius: 1.6rem;
    overflow: hidden;
    border: 4px solid rgba(251, 191, 36, .6);
    box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .75);
    animation: ctBob 6s ease-in-out infinite;
}

.ct-photo img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 5 / 4;
    object-fit: cover
}

.ct-badge {
    position: absolute;
    padding: .8rem 1.2rem;
    border-radius: 1.1rem;
    text-align: center;
    background: #fff;
    color: var(--ct-ink);
    box-shadow: 0 20px 36px -16px rgba(0, 0, 0, .6);
}

.ct-badge strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--ct-maroon);
    line-height: 1.1
}

.ct-badge span {
    font-size: .72rem;
    font-weight: 700;
    color: var(--ct-text)
}

.ct-badge-a {
    left: -1rem;
    bottom: 0;
    animation: ctBob 5s ease-in-out -1s infinite
}

.ct-badge-b {
    right: -.2rem;
    top: -.2rem;
    animation: ctBob 5.5s ease-in-out -2.5s infinite reverse
}

.ct-dots {
    position: absolute;
    right: -1rem;
    bottom: .5rem;
    width: 6rem;
    height: 6rem;
    z-index: -1;
    background-image: radial-gradient(rgba(251, 191, 36, .8) 2px, transparent 2.2px);
    background-size: 14px 14px
}

@keyframes ctBob {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-12px)
    }
}

/* ---------- SECTIONS ---------- */
.ct-section {
    padding: 4.5rem 0;
    background: #fff
}

.ct-cream {
    background: var(--ct-cream);
    border-block: 1px solid var(--ct-line)
}

.ct-head {
    text-align: center;
    max-width: 44rem;
    margin: 0 auto 3rem
}

.ct-head h2,
.ct-trust-grid h2 {
    font-size: clamp(1.7rem, 3.6vw, 2.6rem);
    font-weight: 900;
    line-height: 1.2;
    color: var(--ct-ink);
    letter-spacing: -.01em
}

.ct-head p {
    margin-top: .8rem;
    color: var(--ct-text);
    font-size: 1.02rem
}

.ct-head h2::after {
    content: "";
    display: block;
    width: 64px;
    height: 4px;
    margin: 1rem auto 0;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--ct-maroon), var(--ct-gold))
}

/* solutions grid */
.ct-grid {
    display: grid;
    gap: 1.4rem
}

@media (min-width: 640px) {
    .ct-grid {
        grid-template-columns: 1fr 1fr
    }
}

@media (min-width: 1000px) {
    .ct-grid {
        grid-template-columns: repeat(3, 1fr)
    }
}

.ct-card {
    display: flex;
    gap: 1rem;
    padding: 1.6rem;
    border-radius: 1.4rem;
    background: #fff;
    border: 1px solid var(--ct-line);
    box-shadow: 0 10px 28px -16px rgba(103, 0, 1, .3);
    transition: transform .35s cubic-bezier(.16, 1, .3, 1), box-shadow .35s, border-color .35s;
}

.ct-card:hover {
    transform: translateY(-8px);
    border-color: #8a1a1c;
    box-shadow: 0 26px 46px -20px rgba(103, 0, 1, .45)
}

.ct-card:hover .ct-ico {
    transform: rotate(-8deg) scale(1.08)
}

.ct-ico {
    transition: transform .35s cubic-bezier(.34, 1.56, .64, 1)
}

.ct-card h3 {
    font-size: 1.08rem;
    font-weight: 800;
    color: var(--ct-ink);
    line-height: 1.35
}

.ct-card p {
    margin-top: .4rem;
    font-size: .92rem;
    line-height: 1.65;
    color: var(--ct-text)
}

/* trusted */
.ct-trust-grid {
    display: grid;
    gap: 3rem;
    align-items: center
}

@media (min-width: 960px) {
    .ct-trust-grid {
        grid-template-columns: .95fr 1.05fr
    }
}

.ct-frame {
    margin: 0;
    position: relative;
    border-radius: 1.5rem
}

.ct-frame::before {
    content: "";
    position: absolute;
    inset: 1.1rem -1rem -1rem 1.1rem;
    border-radius: 1.5rem;
    background: linear-gradient(145deg, #ffcf86, #f5a524);
    z-index: 0
}

.ct-frame img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 1.5rem;
    box-shadow: 0 30px 50px -26px rgba(103, 0, 1, .55)
}

.ct-sub {
    margin: .9rem 0 1.6rem;
    color: var(--ct-text);
    line-height: 1.75
}

.ct-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem
}

.ct-stat {
    text-align: center;
    padding: 1.2rem .8rem;
    border-radius: 1.1rem;
    background: #fff;
    border: 1px solid var(--ct-line);
    box-shadow: 0 10px 24px -16px rgba(103, 0, 1, .35);
    transition: transform .3s
}

.ct-stat:hover {
    transform: translateY(-5px) scale(1.02)
}

.ct-stat strong {
    display: block;
    font-family: 'Sora', sans-serif;
    font-size: 1.9rem;
    font-weight: 900;
    color: var(--ct-maroon)
}

.ct-stat span {
    font-size: .82rem;
    font-weight: 700;
    color: var(--ct-text)
}

.ct-why {
    margin-top: 1.4rem;
    padding: 1.4rem;
    border-radius: 1.2rem;
    background: #fff;
    border: 1px solid var(--ct-line)
}

.ct-why h3 {
    font-weight: 800;
    color: var(--ct-ink);
    margin-bottom: .8rem
}

.ct-why ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: .6rem
}

.ct-why li {
    display: flex;
    align-items: center;
    gap: .7rem;
    font-size: .93rem;
    color: var(--ct-text)
}

.ct-why li i {
    flex: none;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .65rem;
    color: #fff;
    background: #16a34a
}

/* enroll */
.ct-enroll {
    position: relative;
    overflow: hidden;
    background: var(--ct-maroon);
    color: #fff
}

.ct-enroll::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(560px circle at 8% 0%, rgba(251, 191, 36, .16), transparent 60%), radial-gradient(520px circle at 95% 100%, rgba(220, 38, 38, .35), transparent 60%)
}

#enroll {
    scroll-margin-top: 5rem
}

.ct-head-light h2 {
    color: #fff;
    margin-top: 1rem
}

.ct-head-light p {
    color: rgba(255, 255, 255, .82)
}

.ct-head-light h2::after {
    background: linear-gradient(90deg, #fbbf24, #fde68a)
}

.ct-contact-grid {
    position: relative;
    display: grid;
    gap: 1.6rem
}

@media (min-width: 960px) {
    .ct-contact-grid {
        grid-template-columns: .8fr 1.2fr
    }
}

.ct-info,
.ct-form-card {
    padding: 2rem;
    border-radius: 1.6rem;
    background: #fff;
    color: var(--ct-text);
    box-shadow: 0 36px 60px -30px rgba(0, 0, 0, .6)
}

.ct-info-intro {
    margin: 1rem 0 1.4rem;
    line-height: 1.7
}

.ct-info ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1.2rem
}

.ct-info li {
    display: flex;
    gap: .9rem;
    align-items: flex-start
}

.ct-info small {
    display: block;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #94a3b8
}

.ct-info a,
.ct-info strong {
    font-weight: 800;
    color: var(--ct-ink);
    text-decoration: none;
    line-height: 1.5
}

.ct-info a:hover {
    color: var(--ct-maroon)
}

.ct-info em {
    display: block;
    font-style: normal;
    font-size: .8rem;
    color: #94a3b8
}

.ct-form {
    margin-top: 1.4rem;
    display: grid;
    gap: 1rem
}

.ct-row {
    display: grid;
    gap: 1rem
}

@media (min-width: 640px) {
    .ct-row {
        grid-template-columns: 1fr 1fr
    }
}

.ct-form label {
    display: grid;
    gap: .4rem;
    font-size: .82rem;
    font-weight: 800;
    color: var(--ct-ink)
}

.ct-form input,
.ct-form select,
.ct-form textarea {
    width: 100%;
    padding: .85rem 1rem;
    border-radius: .9rem;
    border: 1.5px solid #e2e8f0;
    background: #fff;
    font: inherit;
    font-weight: 600;
    color: #0f172a;
    transition: border-color .2s, box-shadow .2s
}

.ct-form input:focus,
.ct-form select:focus,
.ct-form textarea:focus {
    outline: 0;
    border-color: var(--ct-maroon);
    box-shadow: 0 0 0 4px rgba(103, 0, 1, .12)
}

.ct-form textarea {
    resize: vertical;
    min-height: 7rem
}

.ct-submit {
    width: 100%;
    padding: 1.05rem;
    font-size: 1rem
}

.ct-submit:disabled {
    opacity: .7;
    cursor: wait
}

#inquiry-msg {
    text-align: center;
    font-weight: 700;
    font-size: .85rem
}

/* faq */
.ct-faq-grid {
    margin-top: 1.8rem;
    display: grid;
    gap: 1rem
}

@media (min-width: 860px) {
    .ct-faq-grid {
        grid-template-columns: 1fr 1fr;
        align-items: start
    }
}

.ct-q {
    border-radius: 1.1rem;
    background: #fff;
    border: 1px solid var(--ct-line);
    box-shadow: 0 8px 20px -16px rgba(103, 0, 1, .4);
    transition: box-shadow .3s, border-color .3s
}

.ct-q[open] {
    border-color: #8a1a1c;
    box-shadow: 0 18px 34px -20px rgba(103, 0, 1, .45)
}

.ct-q summary {
    list-style: none;
    cursor: pointer;
    padding: 1.1rem 3rem 1.1rem 1.3rem;
    position: relative;
    font-weight: 800;
    color: var(--ct-ink)
}

.ct-q summary::-webkit-details-marker {
    display: none
}

.ct-q summary::after {
    content: "+";
    position: absolute;
    right: 1.2rem;
    top: 50%;
    translate: 0 -50%;
    width: 1.7rem;
    height: 1.7rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--ct-cream);
    color: var(--ct-maroon);
    font-weight: 900;
    transition: transform .3s, background .3s
}

.ct-q[open] summary::after {
    content: "\2212";
    background: var(--ct-maroon);
    color: #fff
}

.ct-q p {
    padding: 0 1.3rem 1.2rem;
    line-height: 1.7;
    color: var(--ct-text)
}

/* connect */
.ct-connect-wrap {
    padding: 0 0 4.5rem;
    background: #fff
}

.ct-connect {
    text-align: center;
    padding: 3rem 1.5rem;
    border-radius: 1.8rem;
    color: #fff;
    background: linear-gradient(135deg, #670001, #8a1a1c 60%, #430001);
    box-shadow: 0 30px 50px -28px rgba(103, 0, 1, .7)
}

.ct-connect h2 {
    font-size: 1.7rem;
    font-weight: 900
}

.ct-connect p {
    margin: .6rem auto 1.4rem;
    max-width: 34rem;
    color: rgba(255, 255, 255, .85)
}

.ct-social {
    display: flex;
    justify-content: center;
    gap: 1rem
}

.ct-social a {
    width: 3.4rem;
    height: 3.4rem;
    border-radius: 1rem;
    display: grid;
    place-items: center;
    font-size: 1.25rem;
    color: #fff;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .25);
    text-decoration: none;
    transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), background .3s, color .3s
}

.ct-social a:hover {
    transform: translateY(-6px) scale(1.08);
    background: var(--ct-gold);
    color: #3a0000
}

@media (max-width: 639px) {
    .ct-hero {
        padding: 3rem 0 3.5rem
    }

    .ct-section {
        padding: 3.2rem 0
    }

    .ct-info,
    .ct-form-card {
        padding: 1.4rem
    }

    .ct-badge-a {
        left: 0
    }
}

@media (prefers-reduced-motion: reduce) {

    .ct-photo,
    .ct-badge,
    .ct-grad {
        animation: none !important
    }

    .ct-js [data-ct] {
        opacity: 1 !important;
        transform: none !important
    }
}


/* =========================================================
   Hero photo - bigger (wider + taller). Text/cards/buttons are untouched.
   Works with any photo size: it is cropped to fill the frame (object-fit: cover).
   ========================================================= */
@media (min-width: 960px) {
    .ct-hero-media {
        /* stretch the photo a little into the gap on the left and towards the screen edge on the right */
        margin-left: -1.5rem;
        margin-right: max(-4rem, calc((min(100vw - 2rem, 76rem) - 100vw) / 2 + 1.25rem));
    }

    .ct-photo img {
        aspect-ratio: 1.12 / 1;
        /* taller than before (was 5:4) */
        object-position: 50% 40%;
    }
}