/* =========================================================
   ELEVPU - PCME WEBSITE
   Main Stylesheet
========================================================= */


/* =========================================================
   DESIGN TOKENS
========================================================= */

:root {

    --primary: #164A7B;
    --primary-dark: #0B2942;
    --primary-light: #4C9FE8;

    --accent: #16A6A0;
    --accent-light: #2CC5BE;

    --background: #F7F9FC;
    --surface: #FFFFFF;
    --surface-soft: #F1F5F9;

    --text: #17212B;
    --text-secondary: #5B6875;

    --border: #E2E8F0;

    --success: #178B78;

    --header-bg: rgba(255, 255, 255, 0.92);

    --shadow-sm:
        0 4px 16px rgba(15, 35, 55, 0.06);

    --shadow-md:
        0 12px 32px rgba(15, 35, 55, 0.10);

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --container: 1240px;

    --transition:
        180ms ease;

}


/* =========================================================
   DARK MODE
========================================================= */

html[data-theme="dark"] {

    --background: #0B1220;
    --surface: #121C2B;
    --surface-soft: #182538;

    --text: #F1F5F9;
    --text-secondary: #AAB7C7;

    --border: #26364A;

    --primary: #4C9FE8;
    --primary-dark: #D8ECFF;

    --accent: #2CC5BE;

    --header-bg: rgba(11, 18, 32, 0.94);

    --shadow-sm:
        0 4px 18px rgba(0, 0, 0, 0.20);

    --shadow-md:
        0 16px 36px rgba(0, 0, 0, 0.30);
}


/* =========================================================
   RESET
========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}


body {

    margin: 0;

    font-family:
        "Inter",
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    background: var(--background);

    color: var(--text);

    font-size: 16px;

    line-height: 1.65;

    transition:
        background-color 180ms ease,
        color 180ms ease;
}


body.menu-open {
    overflow: hidden;
}


img {
    max-width: 100%;
    display: block;
}


a {
    color: inherit;
    text-decoration: none;
}


button,
input,
textarea,
select {
    font: inherit;
}


button {
    cursor: pointer;
}


/* =========================================================
   COMMON
========================================================= */

.container {

    width: min(
        calc(100% - 40px),
        var(--container)
    );

    margin-inline: auto;
}


.section {
    padding: 96px 0;
}

.section-light {
    background: var(--surface);
    color: var(--text);
}

.section-dark {
    background: var(--primary-dark);
    color: #FFFFFF;
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-dark h5,
.section-dark h6 {
    color: #FFFFFF;
}

.section-dark p {
    color: #D7E2EE;
}

.section-dark .section-kicker {
    color: var(--accent-light);
}

.section-kicker h2 {
   color: var(--accent-light);
}

.section-heading {

    max-width: 800px;

    margin-bottom: 52px;

}


.section-kicker {

    display: inline-block;

    margin-bottom: 10px;

    color: var(--accent);

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 0.13em;

    text-transform: uppercase;

}


.section-heading h2 {

    margin: 0 0 14px;

    color: var(--text);

    font-size: clamp(
        30px,
        4vw,
        42px
    );

    line-height: 1.15;

    letter-spacing: -0.035em;

}


#technology .section-heading p {

    margin: 0;

    color: var(--text-secondary); 

    font-size: 18px;

    line-height: 1.65;

}

#lab .section-dark .section-heading h2 {
    color: #FFFFFF  !important;
}

.section-dark .section-heading p {
    color: #D7E2EE;
}


.btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 48px;

    padding:
        0 22px;

    border-radius: 11px;

    font-size: 14px;

    font-weight: 700;

    border: 1px solid transparent;

    transition:
        transform var(--transition),
        box-shadow var(--transition),
        background-color var(--transition),
        border-color var(--transition);

}


.btn:hover {

    transform: translateY(-2px);

}


.btn-primary {

    color: #ffffff;

    background: var(--primary);

    box-shadow:
        0 8px 18px rgba(22, 74, 123, 0.20);

}


.btn-primary:hover {

    box-shadow:
        0 12px 24px rgba(22, 74, 123, 0.28);

}


.btn-secondary {

    color: var(--primary);

    background: transparent;

    border-color: blueviolet;

}


.btn-secondary:hover {

    border-color: var(--primary);

    background: var(--surface-soft);

}

#career-pathways .section-kicker {
    color: #16A6A0;
}

/* =========================================================
   HEADER
========================================================= */

.site-header {

    position: sticky;

    top: 0;

    z-index: 1000;

    background: var(--header-bg);

    border-bottom: 1px solid var(--border);

    backdrop-filter: blur(16px);

    -webkit-backdrop-filter: blur(16px);

}


.header-inner {

    min-height: 76px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 24px;

}


.brand {

    display: flex;

    align-items: center;

    gap: 12px;

    flex-shrink: 0;

}


.brand-mark {

    width: 42px;

    height: 42px;

    display: grid;

    place-items: center;

    border-radius: 11px;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--accent)
        );

    font-size: 13px;

    font-weight: 800;

    letter-spacing: 0.03em;

}


.brand-text {

    display: flex;

    flex-direction: column;

    gap: 1px;

}


.brand-title {

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 0.05em;

    line-height: 1.3;

}


.brand-subtitle {

    color: var(--text-secondary);

    font-size: 11px;

    font-weight: 500;

}


.desktop-nav {

    display: flex;

    align-items: center;

    gap: 3px;

}


.desktop-nav a {

    padding:
        9px 10px;

    border-radius: 8px;

    color: var(--text-secondary);

    font-size: 12px;

    font-weight: 600;

    transition:
        color var(--transition),
        background-color var(--transition);

}


.desktop-nav a:hover {

    color: var(--primary);

    background: var(--surface-soft);

}


.desktop-nav .nav-enquire {

    margin-left: 6px;

    color: #ffffff;

    background: var(--primary);

}


.desktop-nav .nav-enquire:hover {

    color: #ffffff;

    background: var(--primary-dark);

}


.header-actions {

    display: flex;

    align-items: center;

    gap: 8px;

}


.theme-toggle,
.menu-toggle {

    width: 40px;

    height: 40px;

    display: grid;

    place-items: center;

    border: 1px solid var(--border);

    border-radius: 10px;

    color: var(--text);

    background: var(--surface);

}


.theme-toggle {

    font-size: 18px;

}


.theme-toggle:hover {

    border-color: var(--primary);

    color: var(--primary);

}


.menu-toggle {

    display: none;

    padding: 9px;

}


.menu-toggle span {

    width: 20px;

    height: 2px;

    display: block;

    background: currentColor;

    transition:
        transform var(--transition),
        opacity var(--transition);

}


.mobile-nav {

    display: none;

}


/* =========================================================
   HERO
========================================================= */

.hero {

    position: relative;

    min-height: 650px;

    display: flex;

    align-items: center;

    overflow: hidden;

    background:

        radial-gradient(
            circle at 80% 30%,
            rgba(22, 166, 160, 0.10),
            transparent 28%
        ),

        radial-gradient(
            circle at 15% 80%,
            rgba(76, 159, 232, 0.10),
            transparent 30%
        ),

        var(--background);

}


.hero::before {

    content: "";

    position: absolute;

    inset: 0;

    pointer-events: none;

    opacity: 0.32;

    background-image:
        linear-gradient(
            rgba(22, 74, 123, 0.04) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(22, 74, 123, 0.04) 1px,
            transparent 1px
        );

    background-size: 42px 42px;

}


.hero-grid {

    position: relative;

    z-index: 1;

    display: grid;

    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(420px, 0.95fr);

    align-items: center;

    gap: 60px;

}


.hero-content {

    max-width: 680px;

}


.eyebrow {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    margin-bottom: 20px;

    color: var(--accent);

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 0.14em;

}


.eyebrow::before {

    content: "";

    width: 28px;

    height: 2px;

    background: var(--accent);

}


.hero h1 {

    margin: 0;

    color: var(--primary);

    font-size: clamp(
        58px,
        8vw,
        92px
    );

    line-height: 0.95;

    letter-spacing: -0.07em;

}


.hero-subjects {

    margin: 18px 0 26px;

    color: var(--text-secondary);

    font-size: clamp(
        14px,
        2vw,
        17px
    );

    font-weight: 600;

}


.hero-subjects span {

    margin: 0 7px;

    color: var(--accent);

}


.hero h2 {

    max-width: 650px;

    margin: 0;

    color: var(--text);

    font-size: clamp(
        34px,
        5vw,
        58px
    );

    line-height: 1.08;

    letter-spacing: -0.045em;

}


.hero h2 span {

    display: block;

    color: var(--primary);

}


.hero-description {

    margin:
        22px 0 28px;

    color: var(--text-secondary);

    font-size: 18px;

    font-weight: 500;

}


.hero-buttons {

    display: flex;

    flex-wrap: wrap;

    gap: 12px;

}


.hero-note {

    display: flex;

    align-items: center;

    gap: 8px;

    margin-top: 26px;

    color: var(--text-secondary);

    font-size: 12px;

}


.hero-note-dot {

    width: 7px;

    height: 7px;

    border-radius: 50%;

    background: var(--accent);

}


/* =========================================================
   HERO ELECTRONICS VISUAL
========================================================= */

.hero-visual {

    display: flex;

    justify-content: center;

    align-items: center;

}


.circuit-board {

    position: relative;

    width: min(
        100%,
        520px
    );

    aspect-ratio: 1 / 0.88;

    border:
        1px solid var(--border);

    border-radius: 30px;

    overflow: hidden;

    background:

        radial-gradient(
            circle at center,
            rgba(22, 74, 123, 0.08),
            transparent 48%
        ),

        var(--surface);

    box-shadow: var(--shadow-md);

}


.circuit-board::before {

    content: "";

    position: absolute;

    inset: 24px;

    border:
        1px dashed
        rgba(22, 166, 160, 0.28);

    border-radius: 22px;

}


.circuit-line {

    position: absolute;

    height: 2px;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--accent),
            transparent
        );

    opacity: 0.65;

}


.line-1 {

    width: 40%;

    top: 30%;

    left: 4%;

    transform: rotate(18deg);

}


.line-2 {

    width: 34%;

    top: 69%;

    right: 3%;

    transform: rotate(-20deg);

}


.line-3 {

    width: 28%;

    top: 12%;

    right: 13%;

    transform: rotate(70deg);

}


.line-4 {

    width: 34%;

    bottom: 16%;

    left: 9%;

    transform: rotate(-68deg);

}


.node {

    position: absolute;

    width: 9px;

    height: 9px;

    border-radius: 50%;

    background: var(--accent);

    box-shadow:
        0 0 0 5px
        rgba(22, 166, 160, 0.10);

}


.node-1 {

    top: 26%;

    left: 16%;

}


.node-2 {

    top: 70%;

    right: 17%;

}


.node-3 {

    top: 17%;

    right: 25%;

}


.node-4 {

    bottom: 18%;

    left: 20%;

}


.chip {

    position: absolute;

    width: 190px;

    height: 160px;

    top: 50%;

    left: 50%;

    transform:
        translate(-50%, -50%);

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 18px;

    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            var(--primary-dark),
            var(--primary)
        );

    box-shadow:
        0 20px 40px
        rgba(11, 41, 66, 0.25);

}


.chip::before,
.chip::after {

    content: "";

    position: absolute;

    left: -12px;

    right: -12px;

    height: 7px;

    background:
        repeating-linear-gradient(
            90deg,
            var(--accent),
            var(--accent) 8px,
            transparent 8px,
            transparent 16px
        );

}


.chip::before {

    top: 28px;

}


.chip::after {

    bottom: 28px;

}


.chip-label {

    color: #ffffff;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 0.12em;

}


.chip-core {

    display: flex;

    gap: 8px;

}


.chip-core span {

    width: 12px;

    height: 12px;

    border-radius: 3px;

    background: var(--accent-light);

    box-shadow:
        0 0 12px
        rgba(44, 197, 190, 0.40);

}


.component {

    position: absolute;

}


.resistor {

    width: 75px;

    height: 22px;

    top: 18%;

    left: 12%;

    display: flex;

    align-items: center;

    justify-content: space-around;

    border:
        2px solid var(--primary);

    border-radius: 5px;

    background: var(--surface);

    transform: rotate(-12deg);

}


.resistor span {

    width: 2px;

    height: 14px;

    background: var(--accent);

}


.capacitor {

    width: 42px;

    height: 70px;

    bottom: 12%;

    right: 19%;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 7px;

}


.capacitor span {

    width: 3px;

    height: 58px;

    background: var(--primary);

}


.diode {

    width: 60px;

    height: 26px;

    right: 12%;

    top: 26%;

    border:
        2px solid var(--accent);

    border-radius: 4px;

    background: var(--surface);

    transform: rotate(15deg);

}


.diode span {

    width: 3px;

    height: 22px;

    margin-left: 36px;

    display: block;

    background: var(--primary);

}


.floating-label {

    position: absolute;

    padding:
        6px 9px;

    border:
        1px solid var(--border);

    border-radius: 7px;

    color: var(--text-secondary);

    background: var(--surface);

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 0.08em;

    box-shadow: var(--shadow-sm);

}


.label-semiconductor {

    left: 7%;

    bottom: 30%;

}


.label-digital {

    right: 8%;

    bottom: 40%;

}


.label-communication {

    top: 8%;

    left: 42%;

}


/* =========================================================
   PCME SECTION
========================================================= */

.pcme-identity-visual {

    width: 100%;
    max-width: 1000px;

    margin:
        10px auto 38px;

    overflow: hidden;

    border:
        1px solid var(--border);

    border-radius: var(--radius-lg);

    background: var(--surface);

    box-shadow: var(--shadow-sm);

}


.pcme-identity-visual img {

    display: block;

    width: 100%;
    height: auto;

}

.pcme-intro {

    max-width: 850px;

    margin:
        -18px 0 38px;

}


.pcme-intro p {

    margin: 0;

    color: var(--text-secondary);

    font-size: 17px;

    line-height: 1.75;

}


.subject-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 16px;

}


.subject-card {

    min-height: 245px;

    padding: 25px;

    border:
        1px solid var(--border);

    border-radius: var(--radius-md);

    background: var(--background);

    transition:
        transform var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);

}


.subject-card:hover {

    transform: translateY(-4px);

    border-color:
        rgba(22, 74, 123, 0.25);

    box-shadow: var(--shadow-sm);

}


.subject-card-featured {

    border-color:
        rgba(22, 166, 160, 0.35);

    background:
        linear-gradient(
            145deg,
            var(--surface),
            rgba(22, 166, 160, 0.06)
        );

}


.subject-icon {

    width: 48px;

    height: 48px;

    display: grid;

    place-items: center;

    margin-bottom: 25px;

    border-radius: 12px;

    color: var(--primary);

    background:
        rgba(22, 74, 123, 0.09);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 0.05em;

}


.electronics-icon {

    color: var(--accent);

    background:
        rgba(22, 166, 160, 0.11);

}


.subject-card h3 {

    margin: 0 0 8px;

    font-size: 19px;

    line-height: 1.25;

}


.subject-card p {

    min-height: 52px;

    margin: 0 0 17px;

    color: var(--text-secondary);

    font-size: 14px;

    line-height: 1.55;

}


.subject-tags {

    display: flex;

    flex-wrap: wrap;

    gap: 6px;

}


.subject-tags span {

    padding:
        4px 7px;

    border:
        1px solid var(--border);

    border-radius: 6px;

    color: var(--text-secondary);

    background: var(--surface);

    font-size: 10px;

    line-height: 1.3;

}


/* =========================================================
   PCME JOURNEY
========================================================= */

.pcme-journey {

    position: relative;

    width: min(
        100%,
        850px
    );

    min-height: 390px;

    margin:
        75px auto 0;

}


.journey-center {

    position: absolute;

    width: 150px;

    height: 150px;

    top: 50%;

    left: 50%;

    transform:
        translate(-50%, -50%);

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    border:
        8px solid var(--background);

    border-radius: 50%;

    color: #ffffff;

    background:
        linear-gradient(
            145deg,
            var(--primary),
            var(--primary-dark)
        );

    box-shadow:
        0 15px 35px
        rgba(22, 74, 123, 0.20);

    z-index: 3;

}


.journey-center strong {

    font-size: 28px;

    letter-spacing: -0.04em;

}


.journey-center span {

    font-size: 10px;

    opacity: 0.75;

}


.journey-item {

    position: absolute;

    width: 180px;

    padding: 14px;

    display: flex;

    flex-direction: column;

    gap: 3px;

    border:
        1px solid var(--border);

    border-radius: 12px;

    background: var(--surface);

    box-shadow: var(--shadow-sm);

    text-align: center;

    z-index: 2;

}


.journey-item strong {

    font-size: 14px;

}


.journey-item span {

    color: var(--text-secondary);

    font-size: 10px;

}


.journey-top {

    top: 0;

    left: 50%;

    transform: translateX(-50%);

}


.journey-left {

    left: 0;

    top: 50%;

    transform: translateY(-50%);

}


.journey-right {

    right: 0;

    top: 50%;

    transform: translateY(-50%);

}


.journey-bottom {

    bottom: 25px;

    left: 50%;

    transform: translateX(-50%);

}


.pcme-journey::before {

    content: "";

    position: absolute;

    width: 70%;

    height: 70%;

    top: 15%;

    left: 15%;

    border:
        1px dashed
        var(--border);

    border-radius: 50%;

}


.journey-result {

    position: absolute;

    bottom: -3px;

    left: 50%;

    transform: translateX(-50%);

    color: var(--accent);

    font-size: 12px;

    font-weight: 700;

    white-space: nowrap;

}


/* =========================================================
   WHY CHOOSE PCME
========================================================= */

.feature-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 16px;

}


.feature-card {

    position: relative;

    min-height: 275px;

    padding: 27px;

    overflow: hidden;

    border:
        1px solid var(--border);

    border-radius: var(--radius-md);

    background: var(--surface);

    transition:
        transform var(--transition),
        box-shadow var(--transition);

}


.feature-card:hover {

    transform: translateY(-4px);

    box-shadow: var(--shadow-sm);

}


.feature-card-accent {

    border-top:
        3px solid var(--accent);

}


.feature-number {

    margin-bottom: 35px;

    color: var(--accent);

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 0.08em;

}


.feature-card h3 {

    margin: 0 0 12px;

    font-size: 19px;

    line-height: 1.3;

}


.feature-card p {

    margin: 0;

    color: var(--text-secondary);

    font-size: 14px;

    line-height: 1.7;

}


/* =========================================================
   LEARNING PATH
========================================================= */

.learning-path {

    margin-top: 65px;

    padding: 35px;

    border:
        1px solid var(--border);

    border-radius: var(--radius-lg);

    background: var(--surface);

}


.learning-path h3 {

    margin: 0;

    font-size: 25px;

}


.path-flow {

    display: grid;

    grid-template-columns:
        1fr auto 1fr auto 1fr auto 1fr;

    align-items: center;

    gap: 12px;

    margin-top: 35px;

}


.path-step {

    min-height: 145px;

    padding: 20px;

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    justify-content: center;

    border:
        1px solid var(--border);

    border-radius: 12px;

    background: var(--background);

}


.path-dot {

    width: 27px;

    height: 27px;

    display: grid;

    place-items: center;

    margin-bottom: 12px;

    border-radius: 50%;

    color: #ffffff;

    background: var(--primary);

    font-size: 11px;

    font-weight: 800;

}


.path-step strong {

    margin-bottom: 4px;

    font-size: 14px;

}


.path-step small {

    color: var(--text-secondary);

    font-size: 11px;

    line-height: 1.45;

}


.path-arrow {

    color: var(--accent);

    font-size: 22px;

    font-weight: 600;

}
/* =========================================
   ABOUT THE COLLEGE
========================================== */

.college-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 55px;
    align-items: center;
}

.college-about-image {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.college-about-image img {
    display: block;
    width: 100%;
    height: 380px;
    object-fit: cover;
}

.college-about-content h2 {
    margin: 8px 0 18px;
}

.college-about-content p {
    margin: 0 0 16px;
    color: var(--text-secondary);
    line-height: 1.75;
}

/* =========================================
   ELECTRONICS DEPARTMENT
========================================== */

.department-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 55px;
    align-items: center;
}

.department-content h2 {
    margin: 8px 0 18px;
}

.department-content > p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.75;
}

.department-points {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 25px 0 28px;
}

.department-points span {
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.88);
    background: rgba(255, 255, 255, 0.05);
    font-size: 12px;
    font-weight: 600;
}

.department-image {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
}

.department-image img {
    display: block;
    width: 100%;
    height: 380px;
    object-fit: cover;
    object-position: center 35%;
}
/* Department Head button */

.department-content .text-button {
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.35);
}

.department-content .text-button:hover {
    color: #FFFFFF;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.08);
}

/* =========================================================
   STUDENT FIT
========================================================= */

.student-fit {

    display: grid;

    grid-template-columns:
        0.8fr 1.2fr;

    gap: 45px;

    align-items: center;

    margin-top: 65px;

    padding:
        38px;

    border-radius: var(--radius-lg);

    background:
        linear-gradient(
            135deg,
            var(--primary-dark),
            var(--primary)
        );

    color: #ffffff;

}


.student-fit .section-kicker {

    color: var(--accent-light);

}

#lab .section-heading h2 {
    color: #FFFFFF !important;
}


.student-fit h3 {

    margin: 0;

    font-size: 25px;

    line-height: 1.3;

}


.interest-list {

    display: flex;

    flex-wrap: wrap;

    gap: 9px;

}


.interest-list span {

    padding:
        9px 12px;

    border:
        1px solid
        rgba(255,255,255,0.18);

    border-radius: 8px;

    color: rgba(255,255,255,0.90);

    background:
        rgba(255,255,255,0.07);

    font-size: 12px;

}


/* =========================================================
   PREVIEW BANNER
========================================================= */

.section-preview {

    padding:
        60px 0;

}


.preview-banner {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 35px;

    padding:
        38px 42px;

    border:
        1px solid var(--border);

    border-radius: var(--radius-lg);

    background: var(--background);

}


.preview-banner h2 {

    margin: 0 0 8px;

    font-size: 25px;

    line-height: 1.25;

}


.preview-banner p {

    max-width: 650px;

    margin: 0;

    color: var(--text-secondary);

    font-size: 14px;

}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {

    padding:
        45px 0 25px;

    color: rgba(255,255,255,0.75);

    background: #0B2942;

}


.footer-main {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

    padding-bottom: 30px;

}


.footer-brand {

    display: flex;

    align-items: center;

    gap: 12px;

}


.footer-brand .brand-mark {

    flex-shrink: 0;

}


.footer-brand strong {

    display: block;

    color: #ffffff;

    font-size: 12px;

    letter-spacing: 0.05em;

}


.footer-brand p {

    margin: 3px 0 0;

    font-size: 11px;

}


.footer-tagline {

    margin: 0;

    font-size: 12px;

}


.footer-bottom {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    padding-top: 20px;

    border-top:
        1px solid
        rgba(255,255,255,0.12);

    font-size: 11px;

}


.footer-bottom a {

    color: #ffffff;

}


.footer-bottom a:hover {

    color: var(--accent-light);

}


/* =========================================================
   FOCUS ACCESSIBILITY
========================================================= */

:focus-visible {

    outline:
        3px solid
        rgba(44, 197, 190, 0.45);

    outline-offset: 3px;

}


/* =========================================================
   RESPONSIVE — LARGE TABLET
========================================================= */

@media (max-width: 1100px) {

    .desktop-nav {

        gap: 0;

    }


    .desktop-nav a {

        padding-inline: 7px;

        font-size: 11px;

    }


    .hero-grid {

        grid-template-columns:
            minmax(0, 1fr)
            minmax(350px, 0.8fr);

        gap: 35px;

    }


    .subject-grid,
    .feature-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .path-flow {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .path-arrow {

        display: none;

    }

}


/* =========================================================
   RESPONSIVE — TABLET
========================================================= */

@media (max-width: 900px) {

    .desktop-nav {

        display: none;

    }


    .menu-toggle {

        display: grid;

    }


    .mobile-nav {

        display: flex;

        flex-direction: column;

        max-height: 0;

        overflow: hidden;

        padding-inline: 20px;

        border-top: 0 solid var(--border);

        background: var(--surface);

        transition:
            max-height 250ms ease,
            border-color 250ms ease,
            padding 250ms ease;

    }


    .mobile-nav.open {

        max-height: 650px;

        padding-top: 12px;

        padding-bottom: 16px;

        border-top-width: 1px;

    }


    .mobile-nav a {

        padding:
            13px 10px;

        border-radius: 8px;

        color: var(--text-secondary);

        font-size: 14px;

        font-weight: 600;

    }


    .mobile-nav a:hover {

        color: var(--primary);

        background: var(--surface-soft);

    }


    .mobile-nav .mobile-enquire {

        margin-top: 8px;

        color: #ffffff;

        text-align: center;

        background: var(--primary);

    }


    .hero {

        min-height: auto;

        padding:
            75px 0;

    }


    .hero-grid {

        grid-template-columns: 1fr;

    }


    .hero-content {

        max-width: 760px;

    }


    .hero-visual {

        max-width: 600px;

        margin: 0 auto;

        width: 100%;

    }


    .pcme-journey {

        transform: scale(0.92);

    }


    .student-fit {

        grid-template-columns: 1fr;

        gap: 25px;

    }


    .footer-main {

        flex-direction: column;

        align-items: flex-start;

    }

}


/* =========================================================
   RESPONSIVE — MOBILE
========================================================= */

@media (max-width: 767px) {

    .container {

        width:
            min(
                calc(100% - 28px),
                var(--container)
            );

    }


    .section {

        padding:
            65px 0;

    }


    .header-inner {

        min-height: 68px;

    }


    .brand-title {

        font-size: 10px;

    }


    .brand-subtitle {

        font-size: 9px;

    }


    .brand-mark {

        width: 38px;

        height: 38px;

    }


    .theme-toggle,
    .menu-toggle {

        width: 38px;

        height: 38px;

    }


    .hero {

        padding:
            65px 0 70px;

    }


    .hero h1 {

        font-size: 60px;

    }


    .hero h2 {

        font-size: 36px;

    }


    .hero-description {

        font-size: 16px;

    }


    .hero-buttons {

        width: 100%;

    }


    .hero-buttons .btn {

        flex: 1;

    }


    .circuit-board {

        width: 100%;

        border-radius: 22px;

    }


    .chip {

        width: 150px;

        height: 130px;

    }


    .floating-label {

        font-size: 7px;

    }


    .section-heading {

        margin-bottom: 38px;

    }


    .section-heading p {

        font-size: 16px;

    }


    .subject-grid,
    .feature-grid {

        grid-template-columns: 1fr;

    }


    .subject-card {

        min-height: auto;

    }


    .subject-card p {

        min-height: auto;

    }


    .pcme-journey {

        width: 100%;

        min-height: 500px;

        transform: none;

    }


    .journey-center {

        width: 125px;

        height: 125px;

    }


    .journey-center strong {

        font-size: 24px;

    }


    .journey-item {

        width: 145px;

    }


    .journey-top {

        top: 10px;

    }


    .journey-left {

        left: -3px;

    }


    .journey-right {

        right: -3px;

    }


    .journey-bottom {

        bottom: 35px;

    }


    .journey-result {

        font-size: 9px;

    }


    .learning-path {

        padding: 25px;

    }


    .path-flow {

        grid-template-columns: 1fr;

    }


    .path-step {

        min-height: 115px;

    }


    .student-fit {

        padding: 28px;

    }


    .student-fit h3 {

        font-size: 22px;

    }


    .preview-banner {

        flex-direction: column;

        align-items: flex-start;

        padding: 28px;

    }


    .preview-banner .btn {

        width: 100%;

    }


    .coming-soon-box {

        padding:
            40px 24px;

    }


    .footer-bottom {

        flex-direction: column;

        align-items: flex-start;

    }

    .college-about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
}

#about-college {
    padding-top: 55px;
    padding-bottom: 70px;
}

.college-about-image img {
    height: 280px;
}
.department-grid {
    grid-template-columns: 1fr;
    gap: 30px;
}

.department-image img {
    height: 280px;
}
}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 430px) {

    .brand-text {

        max-width: 165px;

    }


    .hero h2 {

        font-size: 32px;

    }


    .hero-subjects {

        line-height: 1.9;

    }


    .hero-subjects span {

        margin-inline: 3px;

    }


    .hero-buttons {

        flex-direction: column;

    }


    .hero-buttons .btn {

        width: 100%;

    }


    .circuit-board {

        aspect-ratio: 1 / 1;

    }


    .floating-label {

        display: none;

    }


    .journey-item {

        width: 125px;

        padding: 11px;

    }


    .journey-item span {

        font-size: 9px;

    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {

        scroll-behavior: auto;

    }


    *,
    *::before,
    *::after {

        transition-duration: 0.01ms !important;

        animation-duration: 0.01ms !important;

        animation-iteration-count: 1 !important;

    }

}
/* =========================================================
   STAGE 2 — ELECTRONICS LEARNING
========================================================= */

.learning-intro {

    max-width: 850px;
    margin: -18px 0 42px;

}

.learning-intro p {

    margin: 0;

    color: var(--text-secondary);

    font-size: 17px;

    line-height: 1.75;

}


/* =========================================================
   PUC LEVEL CARDS
========================================================= */

.pu-level-grid {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 20px;

}


.pu-level-card {

    padding: 32px;

    border:
        1px solid var(--border);

    border-radius: var(--radius-lg);

    background: var(--background);

}


.pu-level-card-featured {

    border-color:
        rgba(22, 166, 160, 0.40);

    background:
        linear-gradient(
            145deg,
            var(--background),
            rgba(22, 166, 160, 0.06)
        );

}


.pu-level-top {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    margin-bottom: 22px;

}


.pu-badge {

    padding:
        6px 10px;

    border-radius: 7px;

    color: #ffffff;

    background: var(--primary);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 0.06em;

}


.pu-label {

    color: var(--accent);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 0.08em;

    text-align: right;

}


.pu-level-card h3 {

    margin:
        0 0 9px;

    font-size: 25px;

    line-height: 1.25;

}


.pu-level-card > p {

    margin:
        0 0 24px;

    color: var(--text-secondary);

    font-size: 14px;

}


.topic-list {

    display: flex;

    flex-direction: column;

    gap: 0;

    margin: 0;

    padding: 0;

    list-style: none;

}


.topic-list li {

    display: flex;

    align-items: center;

    gap: 12px;

    padding:
        10px 0;

    border-bottom:
        1px solid var(--border);

    color: var(--text);

    font-size: 13px;

}


.topic-list li:last-child {

    border-bottom: none;

}


.topic-list li span {

    min-width: 22px;

    color: var(--accent);

    font-size: 10px;

    font-weight: 800;

}


.text-button {

    display: inline-flex;

    align-items: center;

    gap: 5px;

    margin-top: 22px;

    padding: 0;

    border: 0;

    color: var(--primary);

    background: transparent;

    font-size: 13px;

    font-weight: 700;

}


.text-button:hover {

    color: var(--accent);

}

#lab .text-button {
    color: #4C9FE8;
}

#lab .text-button:hover {
    color: #2CC5BE;
}


/* =========================================================
   ELECTRONICS CHAIN
========================================================= */

.electronics-chain {

    display: flex;

    align-items: center;

    justify-content: center;

    flex-wrap: wrap;

    gap: 10px;

    margin-top: 48px;

}


.electronics-chain span {

    color: var(--accent);

    font-weight: 700;

}


.chain-item {

    padding:
        9px 13px;

    border:
        1px solid var(--border);

    border-radius: 8px;

    color: var(--text-secondary);

    background: var(--surface);

    font-size: 11px;

    font-weight: 700;

}

.electronics-chain .chain-item {
    color: var(--text);
    background: var(--surface);
}

#lab .text-button {
    color: #4C9FE8;
}

#lab .text-button:hover {
    color: #2CC5BE;
}

/* =========================================================
   ELECTRONICS AROUND YOU
========================================================= */

.around-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 16px;

}


.around-card {

    min-height: 220px;

    padding: 26px;

    border:
        1px solid var(--border);

    border-radius: var(--radius-md);

    background: var(--surface);

    transition:
        transform var(--transition),
        box-shadow var(--transition);

}


.around-card:hover {

    transform: translateY(-4px);

    box-shadow: var(--shadow-sm);

}


.around-number {

    margin-bottom: 32px;

    color: var(--accent);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 0.08em;

}


.around-card h3 {

    margin:
        0 0 9px;

    font-size: 19px;

}


.around-card p {

    margin: 0;

    color: var(--text-secondary);

    font-size: 13px;

    line-height: 1.65;

}


.around-flow {

    display: flex;

    align-items: center;

    justify-content: center;

    flex-wrap: wrap;

    gap: 12px;

    margin-top: 45px;

    color: var(--text-secondary);

    font-size: 12px;

    font-weight: 700;

}


.around-flow b {

    color: var(--accent);

}


/* =========================================================
   TECHNOLOGY TODAY
========================================================= */

.technology-core {

    padding:
        35px;

    border:
        1px solid var(--border);

    border-radius: var(--radius-lg);

    background: var(--background);

}


.technology-core-main {

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    width: 170px;

    height: 170px;

    margin: 0 auto;

    border-radius: 50%;

    color: #ffffff;

    background:
        linear-gradient(
            145deg,
            var(--primary-dark),
            var(--primary)
        );

    text-align: center;

    box-shadow:
        0 15px 35px
        rgba(22, 74, 123, 0.18);

}


.technology-core-main span {

    margin-bottom: 6px;

    color: var(--accent-light);

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 0.1em;

}


.technology-core-main strong {

    font-size: 25px;

}


.technology-core-main small {

    max-width: 110px;

    margin-top: 5px;

    color: rgba(255,255,255,0.75);

    font-size: 9px;

    line-height: 1.4;

}


.technology-core-flow {

    display: flex;

    align-items: center;

    justify-content: center;

    flex-wrap: wrap;

    gap: 10px;

    margin-top: 30px;

}


.technology-core-flow div {

    padding:
        10px 14px;

    border:
        1px solid var(--border);

    border-radius: 8px;

    background: var(--surface);

    font-size: 11px;

    font-weight: 700;

}


.technology-core-flow span {

    color: var(--accent);

    font-weight: 700;

}


.technology-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 16px;

    margin-top: 24px;

}


.technology-card {

    padding: 26px;

    border:
        1px solid var(--border);

    border-radius: var(--radius-md);

    background: var(--surface);

}


.technology-icon {

    display: inline-grid;

    place-items: center;

    width: 38px;

    height: 38px;

    margin-bottom: 22px;

    border-radius: 9px;

    color: var(--accent);

    background:
        rgba(22,166,160,0.10);

    font-size: 10px;

    font-weight: 800;

}


.technology-card h3 {

    margin:
        0 0 10px;

    font-size: 18px;

}


.technology-card p {

    margin: 0;

    color: var(--text-secondary);

    font-size: 13px;

    line-height: 1.65;

}


.technology-note {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

    margin-top: 45px;

    padding:
        30px;

    border-radius: var(--radius-lg);

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            var(--primary-dark),
            var(--primary)
        );

}


.technology-note .section-kicker {

    color: var(--accent-light);

}


.technology-note h3 {

    margin:
        0 0 8px;

    font-size: 21px;

}


.technology-note p {

    max-width: 700px;

    margin: 0;

    color: rgba(255,255,255,0.76);

    font-size: 13px;

}


.technology-note .btn {

    flex-shrink: 0;

    color: #ffffff;

    border-color:
        rgba(255,255,255,0.22);

    background:
        rgba(255,255,255,0.08);

}


/* =========================================================
   LAB
========================================================= */

.lab-layout {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: center;
}


.lab-visual {
    width: 100%;
    height: 100%;
    overflow: hidden;

    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.12);
}

.lab-visual img {
    display: block;

    width: 100%;
    height: 100%;
    min-height: 440px;

    object-fit: cover;
    object-position: center;
}

/* =========================================
   ELECTRONICS LAB GALLERY
========================================== */

.lab-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    width: 100%;
}


.lab-gallery-item {

    margin: 0;

    overflow: hidden;

    border:
        1px solid var(--border);

    border-radius:
        var(--radius-lg);

    background:
        var(--surface);

    box-shadow:
        var(--shadow-sm);

}


.lab-gallery-item img {

    display: block;

    width: 100%;

    height: 230px;

    object-fit: cover;

}


.lab-gallery-item figcaption {

    padding:
        14px 16px;

    color:
        var(--text);

    font-size:
        13px;

    font-weight:
        600;

}


.lab-placeholder {

    height: 100%;

    min-height: 420px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    padding: 35px;

    border:
        1px dashed var(--border);

    border-radius: var(--radius-lg);

    background:

        radial-gradient(
            circle at center,
            rgba(22,166,160,0.10),
            transparent 45%
        ),

        var(--surface);

    text-align: center;

}


.lab-placeholder-chip {

    width: 90px;

    height: 90px;

    display: grid;

    place-items: center;

    margin-bottom: 25px;

    border-radius: 20px;

    color: #ffffff;

    background:
        linear-gradient(
            145deg,
            var(--primary-dark),
            var(--primary)
        );

    font-weight: 800;

}


.lab-placeholder strong {

    font-size: 19px;
    color: #17212B; 

}


.lab-placeholder span {

    margin-top: 5px;

    color: var(--text-secondary);

    font-size: 12px;

}


.lab-placeholder small {

    max-width: 250px;

    margin-top: 22px;

    color: var(--accent);

    font-size: 10px;

}


.lab-content > p {

    margin:
        0 0 28px;

    color: #D7E2EE;

    font-size: 15px;

    line-height: 1.75;

}


.lab-list {

    display: flex;

    flex-direction: column;

}


.lab-item {

    padding:
        15px 0;

    border-bottom:
        1px solid var(--border);

}


.lab-item:last-child {

    border-bottom: none;

}


.lab-item strong {

    display: block;

    margin-bottom: 4px;

    font-size: 14px;

}


.lab-item span {

    color: #B7C7D8;

    font-size: 12px;

    line-height: 1.55;

}


/* =========================================================
   CONCEPT TO CIRCUIT
========================================================= */

.concept-to-circuit {

    display: flex;

    align-items: center;

    justify-content: center;

    flex-wrap: wrap;

    gap: 12px;

    margin-top: 55px;

    padding:
        25px;

    border:
        1px solid var(--border);

    border-radius: var(--radius-lg);

    background: var(--surface);

}


.concept-step {

    min-width: 120px;

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 5px;

    text-align: center;
    color: var(--text);

}


.concept-step span {

    width: 30px;

    height: 30px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    color: #ffffff;

    background: var(--primary);

    font-size: 10px;

    font-weight: 800;

}


.concept-step strong {

    font-size: 11px;

}


.concept-to-circuit > b {

    color: var(--accent);

}


/* =========================================================
   MODAL SYSTEM
========================================================= */

.modal {

    position: fixed;

    inset: 0;

    z-index: 2000;

    display: none;

}


.modal.open {

    display: block;

}


.modal-overlay {

    position: absolute;

    inset: 0;

    background:
        rgba(5, 15, 25, 0.68);

    backdrop-filter: blur(5px);

}


.modal-dialog {

    position: absolute;

    top: 50%;

    left: 50%;

    width: min(
        calc(100% - 40px),
        900px
    );

    max-height:
        calc(100vh - 60px);

    overflow-y: auto;

    transform:
        translate(-50%, -50%);

    padding:
        42px;

    border:
        1px solid var(--border);

    border-radius: 22px;

    color: var(--text);

    background: var(--surface);

    box-shadow:
        0 30px 80px
        rgba(0,0,0,0.30);

}


.modal-dialog-wide {

    width: min(
        calc(100% - 40px),
        1000px
    );

}


.modal-x {

    position: absolute;

    top: 17px;

    right: 17px;

    width: 38px;

    height: 38px;

    display: grid;

    place-items: center;

    border:
        1px solid var(--border);

    border-radius: 9px;

    color: var(--text);

    background: var(--surface);

    font-size: 24px;

    line-height: 1;

}


.modal-x:hover {

    color: var(--primary);

    border-color: var(--primary);

}


.modal-kicker {

    margin-bottom: 9px;

    color: var(--accent);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 0.12em;

}


.modal-dialog h2 {

    margin:
        0 0 12px;

    font-size:
        clamp(27px, 4vw, 38px);

    line-height: 1.2;

}


.modal-lead {

    max-width: 750px;

    margin:
        0 0 30px;

    color: var(--text-secondary);

    font-size: 15px;

}


.modal-topic-grid {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 12px;

}


.modal-topic-grid > div {

    padding: 20px;

    border:
        1px solid var(--border);

    border-radius: 12px;

    background: var(--background);

}


.modal-topic-grid strong {

    display: block;

    margin-bottom: 7px;

    font-size: 14px;

}


.modal-topic-grid p {

    margin: 0;

    color: var(--text-secondary);

    font-size: 12px;

    line-height: 1.6;

}


/* =========================================================
   PRACTICAL MODAL
========================================================= */

.practical-detail-grid {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 14px;

}


.practical-detail {

    padding: 22px;

    border:
        1px solid var(--border);

    border-radius: 12px;

    background: var(--background);

}


.practical-detail > span {

    display: block;

    margin-bottom: 18px;

    color: var(--accent);

    font-size: 10px;

    font-weight: 800;

}


.practical-detail h3 {

    margin:
        0 0 8px;

    font-size: 16px;

}


.practical-detail p {

    margin: 0;

    color: var(--text-secondary);

    font-size: 12px;

    line-height: 1.65;

}


/* =========================================================
   STAGE 2 RESPONSIVE
========================================================= */

@media (max-width: 1000px) {

    .around-grid,
    .technology-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .lab-layout {

        grid-template-columns: 1fr;

    }


    .lab-visual {

        min-height: 350px;

    }


    .lab-placeholder {

        min-height: 350px;

    }

}


@media (max-width: 767px) {

    .pu-level-grid {

        grid-template-columns: 1fr;

    }


    .pu-level-card {

        padding: 25px;

    }


    .pu-level-top {

        align-items: flex-start;

        flex-direction: column;

    }


    .pu-label {

        text-align: left;

    }


    .electronics-chain {

        justify-content: flex-start;

    }


    .around-grid,
    .technology-grid {

        grid-template-columns: 1fr;

    }


    .technology-core {

        padding: 25px;

    }


    .technology-core-flow {

        flex-direction: column;

    }


    .technology-core-flow span {

        transform: rotate(90deg);

    }


    .technology-note {

        flex-direction: column;

        align-items: flex-start;

    }


    .technology-note .btn {

        width: 100%;

    }


    .lab-placeholder {

        min-height: 300px;

    }

    .lab-gallery-grid {

    grid-template-columns:
        1fr;

}

.lab-gallery-item img {

    height: 240px;

}


    .concept-to-circuit {

        flex-direction: column;

    }


    .concept-to-circuit > b {

        transform: rotate(90deg);

    }


    .modal-dialog,
    .modal-dialog-wide {

        top: auto;

        bottom: 0;

        left: 0;

        width: 100%;

        max-height: 92vh;

        transform: none;

        padding:
            32px 22px 28px;

        border-radius:
            22px 22px 0 0;

    }


    .modal-topic-grid,
    .practical-detail-grid {

        grid-template-columns: 1fr;

    }

}


@media (max-width: 430px) {

    .around-card {

        min-height: auto;

    }


    .electronics-chain {

        align-items: flex-start;

        flex-direction: column;

    }


    .electronics-chain > span {

        transform: rotate(90deg);

        margin-left: 20px;

    }

}
body.modal-open {
    overflow: hidden;
}

/* =========================================================
   STAGE 3 — TECHNOLOGY SPOTLIGHT
========================================================= */

.spotlight-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 18px;

}


.spotlight-card {

    position: relative;

    min-height: 280px;

    padding: 28px;

    border:
        1px solid var(--border);

    border-radius: var(--radius-md);

    background: var(--surface);

    color: var(--text);

    cursor: pointer;

    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);

}


.spotlight-card:hover {

    transform: translateY(-5px);

    border-color:
        rgba(22,166,160,0.45);

    box-shadow: var(--shadow-sm);

}


.spotlight-number {

    color: var(--accent);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 0.08em;

}


.spotlight-play {

    width: 44px;

    height: 44px;

    display: grid;

    place-items: center;

    margin:
        45px 0 22px;

    border-radius: 50%;

    color: #ffffff;

    background: var(--primary);

    font-size: 12px;

}


.spotlight-card h3 {

    margin:
        0 0 9px;
    color: var(--text);

    font-size: 19px;

}


.spotlight-card p {

    margin:
        0 0 18px;

    color: var(--text-secondary);

    font-size: 13px;

    line-height: 1.65;

}


.spotlight-tag {

    display: inline-block;

    padding:
        5px 8px;

    border-radius: 6px;

    color: var(--accent);

    background:
        rgba(22,166,160,0.09);

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 0.06em;

}


/* =========================================================
   HIGHER STUDY PATHWAYS
========================================================= */

#pathways .pathway-intro {

    max-width: 850px;

    margin:
        -15px 0 35px;

}


#pathways .pathway-intro p {

    margin: 0;

    color: var(--text-secondary);

    font-size: 16px;

    line-height: 1.75;

}


#pathways .pathway-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 16px;

}


.pathway-card {

    min-height: 250px;

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    padding: 26px;

    border:
        1px solid var(--border);

    border-radius: var(--radius-md);

    background: var(--surface);

    cursor: pointer;

    transition:
        transform var(--transition),
        box-shadow var(--transition);

}


.pathway-card:hover {

    transform: translateY(-4px);

    box-shadow: var(--shadow-sm);

}


.pathway-card > span {

    width: 34px;

    height: 34px;

    display: grid;

    place-items: center;

    margin-bottom: 25px;

    border-radius: 9px;

    color: var(--accent);

    background:
        rgba(22,166,160,0.10);

    font-size: 10px;

    font-weight: 800;

}


#pathways .pathway-card h3 {

    margin: 0 0 10px;
    color: var(--text);
    font-size: 18px;

}


.pathway-card p {

    margin: 0;

    color: var(--text-secondary);

    font-size: 13px;

    line-height: 1.65;

}


#pathways .pathway-card b {

    margin-top: auto;

    padding-top: 20px;

    color: var(--primary);

    font-size: 12px;

}

#pathways .section-heading h2 {
    color: var(--text);
}

#pathways .section-heading p {
    color: var(--text-secondary);
}


.eligibility-note {

    margin-top: 25px;

    padding: 20px 22px;

    border-left:
        3px solid var(--accent);

    border-radius: 8px;

    background: var(--surface);
    color: var(--text)

}


.eligibility-note strong {

    display: block;

    margin-bottom: 5px;

    font-size: 13px;

}


.eligibility-note p {

    margin: 0;

    color: var(--text-secondary);

    font-size: 12px;

    line-height: 1.6;

}


.pathway-flow {

    display: flex;

    align-items: center;

    justify-content: center;

    flex-wrap: wrap;

    gap: 12px;

    margin-top: 45px;

    color: var(--text-secondary);

    font-size: 12px;

    font-weight: 700;

}


.pathway-flow b {

    color: var(--accent);

}


/* =========================================================
   CAREER PATHWAYS
========================================================= */

.career-flow {

    display: flex;

    align-items: center;

    justify-content: center;

    flex-wrap: wrap;

    gap: 10px;

    margin-bottom: 35px;

}


.career-flow div {

    padding:
        11px 15px;

    border:
        1px solid var(--border);

    border-radius: 8px;

    background: var(--surface);

    font-size: 11px;

    font-weight: 700;

}


.career-flow span {

    color: var(--accent);

    font-weight: 800;

}


.career-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 16px;

}


.career-card {

    min-height: 260px;

    padding: 26px;

    border:
        1px solid var(--border);

    border-radius: var(--radius-md);

    background: var(--background);

}


.career-card > span {

    display: block;

    margin-bottom: 30px;

    color: var(--accent);

    font-size: 10px;

    font-weight: 800;

}


.career-card h3 {

    margin: 0 0 10px;
    color: var(--text);
    font-size: 18px;

}


.career-card p {

    margin:
        0 0 18px;

    color: var(--text-secondary);

    font-size: 13px;

    line-height: 1.65;

}

#career-pathways .section-heading p {
    color: #17212B;
}


.career-card small {

    display: block;

    padding-top: 14px;

    border-top:
        1px solid var(--border);

    color: var(--primary);

    font-size: 10px;

    font-weight: 700;

    line-height: 1.5;

}


.interest-guide {

    margin-top: 45px;

    padding: 30px;

    border-radius: var(--radius-lg);

    background: var(--primary-dark);

    color: #ffffff;

}


.interest-guide h3 {

    margin:
        0 0 22px;

    font-size: 21px;

}


.interest-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 10px;

}


.interest-grid div {

    padding: 16px;

    border:
        1px solid rgba(255,255,255,0.13);

    border-radius: 10px;

    background:
        rgba(255,255,255,0.04);

}


.interest-grid strong {

    display: block;

    margin-bottom: 5px;

    font-size: 12px;

}


.interest-grid span {

    color:
        rgba(255,255,255,0.68);

    font-size: 11px;

}


/* =========================================================
   PCME VS PCMCs
========================================================= */

.combination-compare {

    display: grid;

    grid-template-columns:
        1fr auto 1fr;

    gap: 20px;

    align-items: stretch;

}


.combination-card {

    padding: 32px;

    border:
        1px solid var(--border);

    border-radius: var(--radius-lg);

    background: var(--surface);

}


.pcme-card {

    border-color:
        rgba(22,166,160,0.40);

}


.combination-code {

    margin-bottom: 22px;

    color: var(--accent);

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 0.08em;

}


.combination-card h3 {
    margin: 0 0 15px;
    color: var(--text);
    font-size: 21px;
    line-height: 1.4;
}


.combination-card p {

    margin:
        0 0 25px;

    color: var(--text-secondary);

    font-size: 13px;

    line-height: 1.7;

}


.emphasis-list {

    display: flex;

    flex-wrap: wrap;

    gap: 7px;

}


.emphasis-list span {

    padding:
        6px 9px;

    border:
        1px solid var(--border);

    border-radius: 6px;

    color: var(--text-secondary);

    background: var(--background);

    font-size: 10px;

}


.combination-divider {

    display: flex;

    align-items: center;

    justify-content: center;

}


.combination-divider span {

    width: 42px;

    height: 42px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    color: var(--accent);

    background: var(--surface);

    border:
        1px solid var(--border);

    font-size: 10px;

    font-weight: 800;

}


.choice-guide {

    margin-top: 35px;

}


.choice-guide h3 {

    margin:
        0 0 18px;

    font-size: 20px;

}


.choice-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 12px;

}


.choice-grid div {

    padding: 18px;

    border:
        1px solid var(--border);

    border-radius: 10px;

    background: var(--background);

}


.choice-grid strong {

    display: block;

    margin-bottom: 6px;

    font-size: 12px;

}


.choice-grid span {

    display: block;

    color: var(--text-secondary);

    font-size: 11px;

    line-height: 1.55;

}


.parent-note {

    margin-top: 25px;

    padding: 22px;

    border-radius: 10px;

    background:
        rgba(22,166,160,0.07);

}


.parent-note strong {

    display: block;

    margin-bottom: 5px;

    font-size: 13px;

}


.parent-note p {

    max-width: 900px;

    margin: 0;

    color: var(--text-secondary); 
    

    font-size: 12px;

    line-height: 1.65;

}


/* =========================================================
   STAGE 3 RESPONSIVE
========================================================= */

@media (max-width: 1000px) {

    .spotlight-grid,
    .career-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .pathway-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .interest-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .choice-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }

}


@media (max-width: 767px) {

    .spotlight-grid,
    .pathway-grid,
    .career-grid {

        grid-template-columns: 1fr;

    }


    .spotlight-card {

        min-height: 240px;

    }


    .career-flow {

        flex-direction: column;

    }


    .career-flow span {

        transform: rotate(90deg);

    }


    .interest-grid,
    .choice-grid {

        grid-template-columns: 1fr;

    }


    .combination-compare {

        grid-template-columns: 1fr;

    }


    .combination-divider {

        padding: 4px 0;

    }


    .combination-divider span {

        width: 36px;

        height: 36px;

    }


    .pathway-flow {

        flex-direction: column;

    }


    .pathway-flow b {

        transform: rotate(90deg);

    }

}

/* =========================================================
   TECHNOLOGY SPOTLIGHT MODAL
========================================================= */

.video-placeholder {

    min-height: 240px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    margin:
        10px 0 25px;

    border:
        1px dashed var(--border);

    border-radius: 14px;

    background:
        radial-gradient(
            circle at center,
            rgba(22,166,160,0.08),
            transparent 55%
        );

    text-align: center;

}

.video-placeholder video {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    border-radius: 12px;
    background: #0B1220;
}

.video-placeholder > span {

    width: 54px;

    height: 54px;

    display: grid;

    place-items: center;

    margin-bottom: 12px;

    border-radius: 50%;

    color: #ffffff;

    background: var(--primary);

    font-size: 14px;

}


.video-placeholder strong {

    font-size: 14px;

}


.video-placeholder small {

    margin-top: 5px;

    color: var(--text-secondary);

    font-size: 11px;

}


.spotlight-explanation {

    padding:
        20px;

    border-radius: 12px;

    background: var(--background);

}


.spotlight-explanation strong {

    display: block;

    margin-bottom: 7px;

    color: var(--accent);

    font-size: 12px;

}


.spotlight-explanation p {

    margin: 0;

    color: var(--text-secondary);

    font-size: 13px;

    line-height: 1.7;

}

/* =========================================================
   TECHNOLOGY SPOTLIGHT
   ========================================================= */

#technology .technology-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 42px;
}

#technology .technology-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;

  width: 100%;
  min-height: 285px;

  padding: 28px;

  border: 1px solid var(--border);
  border-radius: 18px;

  background: var(--surface);

  color: var(--text);

  cursor: pointer;

  font: inherit;

  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

#technology .technology-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 14px 32px rgba(11, 41, 66, 0.08);
}

#technology .technology-card:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

#technology .technology-number {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
}

#technology .technology-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 58px;
  height: 42px;

  margin-top: 18px;
  margin-bottom: 24px;

  padding: 0 12px;

  border-radius: 10px;

  background: var(--surface-soft);
  color: var(--primary);

  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

#technology .technology-card h3 {
  margin: 0 0 12px;
  font-size: 21px;
  line-height: 1.25;
}

#technology .technology-card p {
  margin: 0;

  color: var(--text-secondary);

  font-size: 15px;
  line-height: 1.65;
}

#technology .technology-link {
  margin-top: auto;
  padding-top: 22px;

  color: var(--primary);

  font-size: 14px;
  font-weight: 700;
}


/* =========================================================
   TECHNOLOGY MODALS
   ========================================================= */

.modal.tech-modal {
  z-index: 2000;
}

.tech-modal-dialog {
  position: relative;

  width: min(920px, calc(100% - 32px));
  max-height: min(820px, calc(100vh - 48px));

  overflow-y: auto;

  padding: 42px;

  border: 1px solid var(--border);
  border-radius: 22px;

  background: var(--surface);

  color: var(--text);

  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.20);
}

.tech-modal-kicker {
  margin-bottom: 12px;

  color: var(--accent);

  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.tech-modal-dialog h2 {
  margin: 0;

  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.15;
}

.tech-modal-intro {
  max-width: 760px;

  margin: 18px 0 32px;

  color: var(--text-secondary);

  font-size: 17px;
  line-height: 1.7;
}

.tech-modal-content {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 30px;
  align-items: stretch;
}

.tech-video-placeholder {
  min-height: 260px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  padding: 30px;

  border: 1px dashed var(--border);
  border-radius: 16px;

  background: var(--surface-soft);

  text-align: center;
}

.video-placeholder-icon {
  width: 58px;
  height: 58px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 18px;

  border-radius: 50%;

  background: var(--primary);
  color: #ffffff;

  font-size: 18px;
}

.tech-video-placeholder strong {
  margin-bottom: 8px;
  font-size: 16px;
}

.tech-video-placeholder span {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.5;
}

.tech-info-block {
  padding: 4px 0;
}

.tech-info-block h3 {
  margin: 0 0 12px;

  font-size: 18px;
}

.tech-info-block h3:not(:first-child) {
  margin-top: 28px;
}

.tech-info-block p {
  margin: 0;

  color: var(--text-secondary);

  font-size: 15px;
  line-height: 1.7;
}

.tech-info-block ul {
  margin: 0;
  padding-left: 20px;

  color: var(--text-secondary);

  font-size: 15px;
  line-height: 1.7;
}

.tech-info-block li + li {
  margin-top: 8px;
}

.tech-modal .modal-x {
  position: absolute;
  top: 18px;
  right: 18px;

  width: 42px;
  height: 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid var(--border);
  border-radius: 50%;

  background: var(--surface-soft);
  color: var(--text);

  font-size: 25px;
  line-height: 1;

  cursor: pointer;
}

.tech-modal .modal-x:hover {
  border-color: var(--primary);
}


/* =========================================================
   TECHNOLOGY SPOTLIGHT — MOBILE
   ========================================================= */

@media (max-width: 900px) {

  .technology-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tech-modal-content {
    grid-template-columns: 1fr;
  }

}


@media (max-width: 620px) {

  .technology-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .technology-card {
    min-height: 250px;
    padding: 24px;
  }

  .tech-modal-dialog {
    width: calc(100% - 20px);
    max-height: calc(100vh - 20px);

    padding: 30px 22px 24px;

    border-radius: 18px;
  }

  .tech-modal-dialog h2 {
    padding-right: 40px;
  }

  .tech-modal-intro {
    font-size: 16px;
  }

  .tech-video-placeholder {
    min-height: 210px;
  }

}

/* =========================================================
   STAGE 5 — FAQ & ENQUIRY
========================================================= */

.faq-list { max-width: 900px; margin: 0 auto; display: grid; gap: 10px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); overflow: hidden; }
.faq-item summary { position: relative; list-style: none; cursor: pointer; padding: 19px 52px 19px 22px; color: var(--text); font-size: 15px; font-weight: 700; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; top: 50%; right: 20px; transform: translateY(-50%); color: var(--accent); font-size: 22px; font-weight: 500; }
.faq-item[open] summary::after { content: '−'; }
.faq-item[open] summary { border-bottom: 1px solid var(--border); }
.faq-answer { padding: 17px 22px 19px; }
.faq-answer p { margin: 0; color: var(--text-secondary); font-size: 14px; line-height: 1.7; }
.enquiry-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 28px; align-items: stretch; }
.enquiry-content { padding: 34px; border-radius: var(--radius-lg); background: var(--primary-dark); color: #ffffff; }
.enquiry-badge { display: inline-flex; margin-bottom: 18px; padding: 6px 10px; border: 1px solid rgba(255,255,255,0.18); border-radius: 999px; color: #9FE7E2; font-size: 10px; font-weight: 800; letter-spacing: 0.08em; }
.enquiry-content h3 { margin: 0 0 12px; color: #ffffff; font-size: 28px; line-height: 1.2; }
.enquiry-content p { margin: 0 0 22px; color: #D7E2EE; font-size: 14px; line-height: 1.7; }
.enquiry-points { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.enquiry-points li { position: relative; padding-left: 20px; color: #F1F5F9; font-size: 13px; }
.enquiry-points li::before { content: '✓'; position: absolute; left: 0; color: var(--accent-light); font-weight: 800; }
.enquiry-card { padding: 30px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-sm); }
.enquiry-card h3 { margin: 0 0 20px; color: var(--text); font-size: 22px; }
.enquiry-form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.enquiry-form label { display: grid; gap: 7px; color: var(--text); font-size: 12px; font-weight: 700; }
.enquiry-form input, .enquiry-form textarea { width: 100%; padding: 11px 13px; border: 1px solid var(--border); border-radius: 9px; outline: none; color: var(--text); background: var(--background); font-size: 13px; transition: border-color var(--transition), box-shadow var(--transition); }
.enquiry-form input:focus, .enquiry-form textarea:focus { border-color: var(--primary-light); box-shadow: 0 0 0 3px rgba(76,159,232,0.12); }
.enquiry-form textarea { resize: vertical; min-height: 110px; }
.enquiry-form .btn { justify-self: start; }
.form-note { color: var(--text-secondary); font-size: 11px; line-height: 1.55; }

@media (max-width: 760px) { .enquiry-grid, .form-row { grid-template-columns: 1fr; } .enquiry-content, .enquiry-card { padding: 26px; } .enquiry-content h3 { font-size: 24px; } }

/* =========================================
   SECTION IMAGE BLOCKS
========================================== */

.section-image {
    width: 100%;
    margin: 32px auto 42px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.section-image-wide {
    max-width: 1000px;
}

.section-image img {
    display: block;
    width: 100%;
    height: auto;
}

/* =========================================
   REAL ELECTRONICS LAB PHOTO
========================================== */

.lab-visual {
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.lab-visual img {
    display: block;
    width: 100%;
    height: auto;
}

@media (max-width: 700px) {

    .section-image {
        margin: 24px auto 32px;
        border-radius: var(--radius-md);
    }

    .lab-visual {
        border-radius: var(--radius-md);
    }

}
/* =========================================
   ADMISSION ACTION
========================================= */

.admission-action {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}

.admission-button {
    width: 100%;
    text-align: center;
    justify-content: center;
}

.admission-action .form-note {
    display: block;
    margin-top: 10px;
}

/* Electronics Study Resources */
.study-resources {
    margin-top: 32px;
    padding: 24px;
    border: 1px solid var(--border-color, #dbe4ee);
    border-radius: 16px;
    background: var(--card-bg, #ffffff);
}

.study-resources-heading h3 {
    margin: 0 0 8px;
}

.study-resources-heading p {
    margin: 0 0 18px;
    line-height: 1.7;
}

.study-resources-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.study-resources-links a {
    display: block;
    padding: 13px 15px;
    border: 1px solid var(--border-color, #dbe4ee);
    border-radius: 10px;
    color: var(--primary, #164A7B);
    text-decoration: none;
    font-weight: 600;
    line-height: 1.5;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.study-resources-links a:hover {
    background: var(--surface, #f2f7fb);
    border-color: var(--primary, #164A7B);
}

@media (max-width: 600px) {
    .study-resources {
        padding: 18px;
    }

    .study-resources-links {
        grid-template-columns: 1fr;
    }
}

.footer-credit {
    font-size: 0.85rem;
    opacity: 0.85;
    text-align: center;
}

/* Department Head Button */
.department-head-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 18px;
    padding: 13px 22px;
    border: 2px solid #74167b;
    border-radius: 18px;
    background: #164f7b;
    color: #ffffff;
    font: inherit;
    font-weight: 400;
    line-height: 1;
    cursor: pointer;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.department-head-button:hover {
    background: #370b42;
    border-color: #3e0b42;
    box-shadow: 0 4px 12px rgba(11, 41, 66, 0.18);
    transform: translateY(-1px);
}

.department-head-button:focus-visible {
    outline: 3px solid #16A6A0;
    outline-offset: 3px;
}

.department-head-button span {
    font-size: 1em;
    transition: transform 0.2s ease;
}

.department-head-button:hover span {
    transform: translateX(3px);
}

@media (prefers-reduced-motion: reduce) {
    .department-head-button,
    .department-head-button span {
        transition: none;
    }

    .department-head-button:hover {
        transform: none;
    }
}
