﻿
/* =========================================
   SKTI DOEACC / NIELIT Courses
   Premium Navy Blue Theme
========================================= */

.dcx-page {
    --dcx-navy: #081F4D;
    --dcx-blue: #1E4FA8;
    --dcx-gold: #D6AD55;
    --dcx-text: #26364D;
    --dcx-muted: #68778C;
    --dcx-border: #E2E9F2;
    --dcx-light: #F5F8FC;
    background: #FFFFFF;
    color: var(--dcx-text);
    font-family: Arial, Helvetica, sans-serif;
}

    .dcx-page *,
    .dcx-page *:before,
    .dcx-page *:after {
        box-sizing: border-box;
    }

.dcx-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 22px;
}

/* Hero */

.dcx-hero {
    position: relative;
    overflow: hidden;
    padding: 48px 0 70px;
    color: #FFFFFF;
    background: linear-gradient(120deg, #061638, #081F4D 55%, #1E4FA8);
}

    .dcx-hero:after {
        content: "";
        position: absolute;
        top: -150px;
        right: -100px;
        width: 360px;
        height: 360px;
        border: 1px solid rgba(255,255,255,.13);
        border-radius: 50%;
        box-shadow: 0 0 0 35px rgba(255,255,255,.025), 0 0 0 75px rgba(255,255,255,.025);
        pointer-events: none;
    }

.dcx-breadcrumb {
    position: relative;
    z-index: 1;
    margin-bottom: 35px;
    color: #D6E4FF;
    font-size: 13px;
}

    .dcx-breadcrumb a {
        color: #FFFFFF;
        text-decoration: none;
    }

        .dcx-breadcrumb a:hover {
            color: var(--dcx-gold);
        }

    .dcx-breadcrumb span {
        margin: 0 9px;
    }

.dcx-eyebrow,
.dcx-section-label {
    display: inline-block;
    color: var(--dcx-gold);
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1.8px;
    line-height: 1.7;
    text-transform: uppercase;
}

.dcx-hero h1 {
    position: relative;
    z-index: 1;
    margin: 14px 0 18px;
    color: #FFFFFF;
    font-size: 44px;
    line-height: 1.2;
    font-weight: 800;
}

.dcx-hero p {
    position: relative;
    z-index: 1;
    max-width: 730px;
    margin: 0 0 28px;
    color: #E1E9F8;
    font-size: 16px;
    line-height: 1.9;
}

.dcx-primary-button,
.dcx-admission-button {
    display: inline-block;
    padding: 14px 22px;
    border-radius: 5px;
    background: var(--dcx-gold);
    color: var(--dcx-navy);
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    transition: all .25s ease;
}

    .dcx-primary-button span,
    .dcx-admission-button span {
        margin-left: 12px;
    }

    .dcx-primary-button:hover,
    .dcx-admission-button:hover {
        background: #FFFFFF;
        color: var(--dcx-navy);
    }

/* Introduction */

.dcx-intro {
    padding: 72px 0;
    background: #FFFFFF;
}

.dcx-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, .9fr);
    align-items: center;
    gap: 45px;
}

.dcx-intro-text h2,
.dcx-section-heading h2 {
    margin: 12px 0 16px;
    color: var(--dcx-navy);
    font-size: 31px;
    line-height: 1.35;
    font-weight: 800;
}

.dcx-intro-text p {
    margin: 0 0 14px;
    color: var(--dcx-muted);
    font-size: 15px;
    line-height: 1.9;
}

.dcx-highlight-panel {
    padding: 28px;
    border: 1px solid var(--dcx-border);
    border-radius: 11px;
    background: #F8FAFE;
    box-shadow: 0 12px 32px rgba(8,31,77,.06);
}

.dcx-highlight-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 14px;
    border-radius: 10px;
    background: #E8F1FF;
    color: var(--dcx-blue);
    font-size: 25px;
}

.dcx-highlight-panel h3 {
    margin: 0 0 20px;
    color: var(--dcx-navy);
    font-size: 20px;
}

.dcx-highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-bottom: 15px;
    color: var(--dcx-muted);
    font-size: 14px;
    line-height: 1.6;
}

    .dcx-highlight-item:last-child {
        margin-bottom: 0;
    }

.dcx-check {
    color: var(--dcx-blue);
    font-weight: bold;
}

/* Section headings */

.dcx-courses-section,
.dcx-literacy-section {
    padding: 72px 0;
}

.dcx-courses-section {
    background: var(--dcx-light);
}

.dcx-literacy-section {
    background: #FFFFFF;
}

.dcx-section-heading {
    max-width: 760px;
    margin: 0 auto 40px;
    text-align: center;
}

    .dcx-section-heading h2 {
        margin-bottom: 12px;
    }

    .dcx-section-heading p {
        margin: 0;
        color: var(--dcx-muted);
        font-size: 15px;
        line-height: 1.8;
    }

/* Level course cards */

.dcx-course-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

.dcx-course-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--dcx-border);
    border-radius: 10px;
    background: #FFFFFF;
    box-shadow: 0 8px 22px rgba(8,31,77,.045);
    transition: transform .25s ease, box-shadow .25s ease;
}

    .dcx-course-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(8,31,77,.1);
    }

.dcx-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 90px;
    padding: 17px;
    background: linear-gradient(120deg, #081F4D, #1E4FA8);
}

.dcx-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 45px;
    width: 45px;
    height: 45px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 10px;
    background: rgba(255,255,255,.12);
    color: #FFFFFF;
    font-size: 22px;
}

.dcx-code {
    padding: 7px 9px;
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 4px;
    color: #FFFFFF;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: .6px;
    white-space: nowrap;
}

.dcx-card-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 22px 18px 20px;
}

.dcx-category {
    margin-bottom: 9px;
    color: var(--dcx-blue);
    font-size: 10px;
    font-weight: bold;
    letter-spacing: .8px;
    line-height: 1.6;
    text-transform: uppercase;
}

.dcx-card-body h3 {
    min-height: 55px;
    margin: 0 0 12px;
    color: var(--dcx-navy);
    font-size: 19px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.dcx-card-body p {
    min-height: 105px;
    margin: 0 0 18px;
    color: var(--dcx-muted);
    font-size: 13px;
    line-height: 1.8;
}

.dcx-info-label {
    margin-bottom: 12px;
    padding-bottom: 9px;
    border-bottom: 1px solid var(--dcx-border);
    color: var(--dcx-navy);
    font-size: 12px;
    font-weight: bold;
}

.dcx-card-body ul {
    margin: 0 0 23px;
    padding: 0;
    list-style: none;
}

.dcx-card-body li {
    position: relative;
    margin-bottom: 10px;
    padding-left: 18px;
    color: #526176;
    font-size: 12px;
    line-height: 1.65;
}

    .dcx-card-body li:before {
        content: "\2713";
        position: absolute;
        left: 0;
        color: var(--dcx-blue);
        font-weight: bold;
    }

.dcx-course-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
    padding: 12px 13px;
    border: 1px solid var(--dcx-navy);
    border-radius: 5px;
    background: var(--dcx-navy);
    color: #FFFFFF;
    text-decoration: none;
    font-size: 12px;
    font-weight: bold;
    transition: all .25s ease;
}

    .dcx-course-button span {
        font-size: 17px;
    }

    .dcx-course-button:hover {
        border-color: var(--dcx-blue);
        background: var(--dcx-blue);
        color: #FFFFFF;
    }

/* Digital literacy cards */

.dcx-literacy-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.dcx-literacy-card {
    display: flex;
    align-items: flex-start;
    gap: 19px;
    min-width: 0;
    padding: 25px;
    border: 1px solid var(--dcx-border);
    border-radius: 9px;
    background: #FFFFFF;
    transition: all .25s ease;
}

    .dcx-literacy-card:hover {
        border-color: #A9C5F2;
        background: #FAFCFF;
        box-shadow: 0 10px 25px rgba(8,31,77,.07);
    }

.dcx-literacy-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    border-radius: 10px;
    background: #E8F1FF;
    color: var(--dcx-blue);
    font-size: 24px;
}

.dcx-literacy-content {
    flex: 1 1 auto;
    min-width: 0;
}

.dcx-small-code {
    display: inline-block;
    margin-bottom: 7px;
    color: var(--dcx-blue);
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 1px;
}

.dcx-literacy-content h3 {
    margin: 0 0 10px;
    color: var(--dcx-navy);
    font-size: 19px;
    line-height: 1.45;
}

.dcx-literacy-content p {
    margin: 0 0 15px;
    color: var(--dcx-muted);
    font-size: 13px;
    line-height: 1.8;
}

.dcx-literacy-content a {
    display: inline-block;
    color: var(--dcx-blue);
    font-size: 12px;
    font-weight: bold;
    line-height: 1.6;
    text-decoration: none;
}

    .dcx-literacy-content a span {
        margin-left: 5px;
        font-size: 16px;
    }

    .dcx-literacy-content a:hover {
        color: var(--dcx-navy);
    }

/* Admission CTA */

.dcx-admission {
    padding: 52px 0;
    background: var(--dcx-navy);
}

.dcx-admission-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

    .dcx-admission-inner h2 {
        margin: 10px 0;
        color: #FFFFFF;
        font-size: 29px;
        line-height: 1.35;
    }

    .dcx-admission-inner p {
        max-width: 720px;
        margin: 0;
        color: #D9E4F8;
        font-size: 14px;
        line-height: 1.8;
    }

.dcx-admission-button {
    flex-shrink: 0;
}

/* Other categories */

.dcx-other-section {
    padding: 68px 0;
    background: #FFFFFF;
}

    .dcx-other-section .dcx-section-heading {
        margin-bottom: 30px;
    }

.dcx-other-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.dcx-other-card {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 0;
    padding: 20px;
    border: 1px solid var(--dcx-border);
    border-radius: 8px;
    color: var(--dcx-text);
    text-decoration: none;
    transition: all .25s ease;
}

    .dcx-other-card:hover {
        border-color: #A9C5F2;
        background: #F8FAFE;
        box-shadow: 0 8px 20px rgba(8,31,77,.06);
    }

.dcx-other-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: #E8F1FF;
    color: var(--dcx-blue);
    font-size: 22px;
}

.dcx-other-text {
    flex: 1 1 auto;
    min-width: 0;
}

    .dcx-other-text strong,
    .dcx-other-text small {
        display: block;
    }

    .dcx-other-text strong {
        margin-bottom: 5px;
        color: var(--dcx-navy);
        font-size: 13px;
        line-height: 1.6;
    }

    .dcx-other-text small {
        color: var(--dcx-muted);
        font-size: 12px;
        line-height: 1.6;
    }

.dcx-other-arrow {
    flex-shrink: 0;
    color: var(--dcx-blue);
    font-size: 20px;
}

/* Tablet */

@media screen and (max-width: 1100px) {
    .dcx-course-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dcx-card-body p {
        min-height: auto;
    }

    .dcx-card-body h3 {
        min-height: auto;
    }
}

/* Mobile */

@media screen and (max-width: 767px) {
    .dcx-container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .dcx-hero {
        padding: 30px 0 48px;
    }

    .dcx-breadcrumb {
        margin-bottom: 26px;
        font-size: 11px;
    }

    .dcx-hero h1 {
        font-size: 31px;
    }

    .dcx-hero p {
        font-size: 14px;
    }

    .dcx-intro,
    .dcx-courses-section,
    .dcx-literacy-section,
    .dcx-other-section {
        padding: 48px 0;
    }

    .dcx-intro-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .dcx-intro-text h2,
    .dcx-section-heading h2 {
        font-size: 25px;
    }

    .dcx-highlight-panel {
        padding: 22px;
    }

    .dcx-section-heading {
        margin-bottom: 30px;
    }

    .dcx-course-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .dcx-card-body {
        padding: 22px;
    }

    .dcx-literacy-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .dcx-literacy-card {
        padding: 19px;
        gap: 14px;
    }

    .dcx-admission-inner {
        flex-direction: column;
        align-items: flex-start;
    }

        .dcx-admission-inner h2 {
            font-size: 25px;
        }

    .dcx-other-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .dcx-other-card {
        padding: 16px;
        gap: 12px;
    }
}

@media screen and (max-width: 380px) {
    .dcx-hero h1 {
        font-size: 27px;
    }

    .dcx-literacy-icon {
        flex-basis: 43px;
        width: 43px;
        height: 43px;
        font-size: 20px;
    }

    .dcx-literacy-card {
        padding: 15px;
    }
}
