/* =========================================================
   TECHNICAL EDUCATION & DEVELOPMENT
   ========================================================= */

.ted-page {
    background: #f7f7f5;
    color: #17212b;
}

/* HERO */

.ted-hero {
    position: relative;
    overflow: hidden;
    background: #021a36;
    color: #ffffff;
    padding: 92px 0 100px;
}

.ted-hero::before {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 50%;
    right: -180px;
    top: -260px;
}

.ted-hero::after {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    border: 1px solid rgba(212, 168, 75, 0.20);
    border-radius: 50%;
    right: 80px;
    bottom: -190px;
}

.ted-hero-inner {
    position: relative;
    z-index: 1;
}

.ted-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: #d7a84b;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.ted-eyebrow::before {
    content: "";
    width: 34px;
    height: 2px;
    background: #d7a84b;
}

.ted-hero h1 {
    max-width: 900px;
    margin: 0;
    font-family: "Playfair Display", serif;
    font-size: clamp(2.8rem, 6vw, 5.6rem);
    font-weight: 500;
    line-height: 0.98;
    letter-spacing: -0.03em;
    color: var(--white);
}

.ted-hero-description {
    max-width: 720px;
    margin: 28px 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.04rem;
    line-height: 1.85;
}

/* INTRO */

.ted-intro {
    padding: 85px 0 40px;
}

.ted-intro-label {
    color: #9e6817;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.17em;
}

.ted-intro h2 {
    max-width: 800px;
    margin: 10px 0 16px;
    color: #021a36;
    font-family: "Playfair Display", serif;
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 500;
    line-height: 1.1;
}

.ted-intro p {
    max-width: 760px;
    margin: 0;
    color: #68737d;
    line-height: 1.8;
}

/* PROGRAM GRID */

.ted-programs {
    padding: 25px 0 95px;
}

.ted-program-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.ted-program-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 390px;
    overflow: hidden;
    padding: 34px;
    border: 1px solid #e2e5e7;
    border-radius: 24px;
    background: #ffffff;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 8px 30px rgba(2, 26, 54, 0.035);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.ted-program-card::after {
    content: "";
    position: absolute;
    width: 130px;
    height: 130px;
    right: -55px;
    top: -55px;
    border: 1px solid rgba(158, 104, 23, 0.12);
    border-radius: 50%;
}

.ted-program-card:hover {
    transform: translateY(-6px);
    border-color: rgba(158, 104, 23, 0.45);
    box-shadow: 0 20px 45px rgba(2, 26, 54, 0.10);
}

.ted-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.ted-card-number {
    color: #b48221;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.ted-card-tag {
    padding: 7px 11px;
    border-radius: 50px;
    background: #f4f1ea;
    color: #79500f;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.ted-program-card h3 {
    max-width: 530px;
    margin: 35px 0 15px;
    color: #021a36;
    font-family: "Playfair Display", serif;
    font-size: clamp(1.7rem, 3vw, 2.25rem);
    font-weight: 500;
    line-height: 1.1;
}

.ted-program-card p {
    margin: 0;
    color: #68737d;
    line-height: 1.75;
}

.ted-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
    padding-top: 30px;
}

.ted-meta-item {
    display: flex;
    flex-direction: column;
    min-width: 145px;
    padding: 13px 15px;
    border-radius: 12px;
    background: #f6f7f7;
}

.ted-meta-label {
    margin-bottom: 4px;
    color: #89929a;
    font-size: 0.63rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ted-meta-value {
    color: #25313b;
    font-size: 0.82rem;
    font-weight: 700;
}

.ted-card-link {
    margin-top: 28px;
    color: #9e6817;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.07em;
}

/* ASSESSMENT */

.ted-assessment {
    padding: 85px 0;
    background: #021a36;
    color: #ffffff;
}

.ted-assessment-label {
    color: #d7a84b;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.17em;
}

.ted-assessment h2 {
    max-width: 700px;
    margin: 10px 0 15px;
    font-family: "Playfair Display", serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 500;
}

.ted-assessment-intro {
    max-width: 720px;
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.8;
}

.ted-assessment-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 35px;
}

.ted-assessment-item {
    padding: 18px 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.035);
    color: rgba(255, 255, 255, 0.90);
    font-size: 0.9rem;
    font-weight: 700;
}

/* PROCESS */

.ted-process {
    padding: 85px 0;
}

.ted-process-label {
    color: #9e6817;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.17em;
}

.ted-process h2 {
    margin: 10px 0 35px;
    color: #021a36;
    font-family: "Playfair Display", serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 500;
}

.ted-process-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.ted-process-card {
    padding: 32px;
    border: 1px solid #e2e5e7;
    border-radius: 20px;
    background: #ffffff;
}

.ted-process-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-bottom: 20px;
    border-radius: 50%;
    background: #f4f1ea;
    color: #9e6817;
    font-size: 0.75rem;
    font-weight: 900;
}

.ted-process-card h3 {
    margin: 0 0 12px;
    color: #021a36;
    font-size: 1.15rem;
}

.ted-process-card p {
    margin: 0;
    color: #68737d;
    line-height: 1.8;
}

/* RESPONSIVE */

@media (max-width: 900px) {

    .ted-program-grid {
        grid-template-columns: 1fr;
    }

    .ted-assessment-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 700px) {

    .ted-hero {
        padding: 65px 0 75px;
    }

    .ted-breadcrumb {
        margin-bottom: 40px;
    }

    .ted-intro,
    .ted-assessment,
    .ted-process {
        padding: 60px 0;
    }

    .ted-assessment-grid,
    .ted-process-grid {
        grid-template-columns: 1fr;
    }

    .ted-program-card {
        min-height: auto;
        padding: 27px;
    }

}

@media (max-width: 480px) {

    .ted-card-top {
        align-items: flex-start;
        flex-direction: column;
    }

    .ted-card-meta {
        flex-direction: column;
    }

    .ted-meta-item {
        width: 100%;
    }

}
