:root {
    --ics-navy: #0b1f3a;
    --ics-navy-soft: #142d50;
    --ics-blue: #2563eb;
    --ics-blue-dark: #1748bd;
    --ics-cyan: #0ea5b7;
    --ics-orange: #f59e0b;
    --ics-ink: #142033;
    --ics-muted: #607087;
    --ics-line: #dfe6ef;
    --ics-surface: #ffffff;
    --ics-background: #f5f7fb;
    --ics-radius-sm: 12px;
    --ics-radius: 20px;
    --ics-radius-lg: 30px;
    --ics-shadow-sm: 0 8px 24px rgba(11, 31, 58, 0.08);
    --ics-shadow: 0 20px 60px rgba(11, 31, 58, 0.13);
    --ics-font: "Manrope", "Segoe UI", Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.public-site {
    margin: 0;
    overflow-x: hidden;
    background: var(--ics-background);
    color: var(--ics-ink);
    font-family: var(--ics-font);
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.public-site a {
    color: inherit;
    text-decoration: none;
}

.public-site a:hover,
.public-site a:focus {
    text-decoration: none;
}

.public-site img {
    max-width: 100%;
}

.public-site button,
.public-site input,
.public-site select,
.public-site textarea {
    font: inherit;
}

.public-site h1,
.public-site h2,
.public-site h3,
.public-site h4,
.public-site h5,
.public-site h6 {
    font-family: var(--ics-font);
}

.site-shell {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.skip-link {
    position: fixed;
    z-index: 9999;
    top: 12px;
    left: 12px;
    transform: translateY(-150%);
    padding: 10px 16px;
    border-radius: 8px;
    background: #fff;
    color: var(--ics-navy);
    font-weight: 700;
    box-shadow: var(--ics-shadow-sm);
}

.skip-link:focus {
    transform: translateY(0);
}

.site-topbar {
    background: var(--ics-navy);
    color: #d9e5f4;
    font-size: 12px;
}

.site-topbar__inner,
.site-topbar__links {
    display: flex;
    align-items: center;
}

.site-topbar__inner {
    min-height: 32px;
    justify-content: space-between;
    gap: 20px;
}

.site-topbar p {
    margin: 0;
}

.site-topbar__links {
    gap: 24px;
}

.site-topbar a {
    color: #fff;
    transition: color 0.2s ease;
}

.site-topbar a:hover,
.site-topbar a:focus {
    color: #9fd9ff;
}

.site-topbar i {
    margin-right: 7px;
    color: #65b8ff;
}

.site-header {
    position: relative;
    z-index: 50;
    background: #fff;
    box-shadow: 0 4px 18px rgba(11, 31, 58, 0.08);
}

.site-header__brand-row {
    display: flex;
    min-height: 84px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-brand {
    display: inline-flex;
    width: min(470px, 48vw);
    align-items: center;
}

.site-brand img {
    display: block;
    width: 100%;
    max-height: 72px;
    height: auto;
    object-fit: contain;
    object-position: left center;
}

.site-header__actions .site-button {
    min-height: 40px;
    padding: 9px 14px;
    border-radius: 11px;
    font-size: 13px;
    white-space: nowrap;
}

.site-header__actions,
.home-hero__actions,
.home-cta__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-header__actions {
    flex-shrink: 0;
}

.site-button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 10px 17px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: transparent;
    color: var(--ics-ink);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.site-button:hover,
.site-button:focus {
    transform: translateY(-2px);
}

.site-button--large {
    min-height: 52px;
    padding: 13px 21px;
    border-radius: 14px;
    font-size: 15px;
}

.site-button--primary {
    background: var(--ics-blue);
    color: #fff !important;
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.26);
}

.site-button--primary:hover,
.site-button--primary:focus {
    background: var(--ics-blue-dark);
    box-shadow: 0 16px 32px rgba(37, 99, 235, 0.32);
}

.site-button--accent {
    background: var(--ics-orange);
    color: #182236 !important;
    box-shadow: 0 10px 24px rgba(245, 158, 11, 0.22);
}

.site-button--accent:hover,
.site-button--accent:focus {
    background: #ffb526;
}

.site-button--ghost {
    border-color: var(--ics-line);
    background: #fff;
    color: var(--ics-navy) !important;
}

.site-button--ghost:hover,
.site-button--ghost:focus {
    border-color: #b7c7da;
    box-shadow: var(--ics-shadow-sm);
}

.site-button--light {
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.1);
    color: #fff !important;
    backdrop-filter: blur(8px);
}

.site-button--light:hover,
.site-button--light:focus {
    background: rgba(255, 255, 255, 0.17);
}

.site-button--white {
    background: #fff;
    color: var(--ics-blue-dark) !important;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.14);
}

.site-nav {
    border-top: 1px solid #edf1f6;
    border-bottom: 1px solid #edf1f6;
    background: #f8fafc;
}

.site-nav__inner {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-nav__menu {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-nav__menu a {
    position: relative;
    display: block;
    padding: 13px 12px;
    color: #41516a;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.site-nav__menu a::after {
    position: absolute;
    right: 12px;
    bottom: 5px;
    left: 12px;
    height: 3px;
    transform: scaleX(0);
    border-radius: 99px;
    background: var(--ics-blue);
    content: "";
    transition: transform 0.2s ease;
}

.site-nav__menu a:hover,
.site-nav__menu a:focus,
.site-nav__menu a.is-active {
    color: var(--ics-blue-dark);
}

.site-nav__menu a:hover::after,
.site-nav__menu a:focus::after,
.site-nav__menu a.is-active::after {
    transform: scaleX(1);
}

.site-nav__enquiry {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 10px;
    background: #eaf2ff;
    color: var(--ics-blue-dark) !important;
    font-size: 13px;
    font-weight: 800;
    transition: background 0.2s ease, transform 0.2s ease;
}

.site-nav__enquiry:hover,
.site-nav__enquiry:focus {
    transform: translateY(-1px);
    background: #dceaff;
}

.site-nav__toggle {
    display: none;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    padding: 13px 0;
    border: 0;
    background: transparent;
    color: var(--ics-navy);
    font-weight: 800;
}

.site-login-modal .modal-dialog {
    width: min(470px, calc(100% - 28px));
    max-width: 470px;
    margin: 7vh auto 30px;
}

.site-login-modal .modal-content {
    width: 100% !important;
    margin: 0 !important;
    overflow: hidden;
    border: 0;
    border-radius: 24px;
    box-shadow: var(--ics-shadow);
}

.site-login-modal .modal-header,
.site-login-modal .modal-body,
.site-login-modal .modal-footer {
    padding-right: 30px;
    padding-left: 30px;
}

.site-login-modal .modal-header {
    padding-top: 30px;
    padding-bottom: 18px;
    border-bottom: 0;
    background: linear-gradient(135deg, #f4f8ff, #fff);
}

.site-login-modal .modal-title {
    margin: 4px 0 5px;
    color: var(--ics-navy);
    font-size: 28px;
    font-weight: 800;
}

.site-login-modal .modal-header p {
    margin: 0;
    color: var(--ics-muted);
}

.modal-kicker {
    color: var(--ics-blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.site-login-modal .modal-body {
    padding-top: 24px;
    padding-bottom: 8px;
}

.site-login-modal .modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding-top: 14px;
    padding-bottom: 28px;
    border-top: 0;
}

.site-login-modal .site-alert {
    margin: 0 0 18px;
}

.site-login-modal .close {
    position: static;
    top: auto;
    right: auto;
    float: right;
    margin: -4px -4px 0 0;
    color: var(--ics-navy);
    font-size: 30px;
    line-height: 1;
    opacity: 0.6;
}

.site-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding: 13px 16px;
    border-radius: 12px;
}

.site-alert--error {
    border: 1px solid #fecaca;
    background: #fff1f2;
    color: #9f1239;
}

.home-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(125deg, #07182e 0%, #0b2850 55%, #0b3b69 100%);
    color: #fff;
}

.home-hero::before {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 42px 42px;
    content: "";
    mask-image: linear-gradient(to right, #000, transparent 75%);
    animation: heroGridDrift 22s linear infinite;
}

.home-hero__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
    opacity: 0.18;
    animation: heroGlowDrift 8s ease-in-out infinite alternate;
    will-change: transform;
}

.home-hero__glow--one {
    top: -160px;
    right: 10%;
    width: 470px;
    height: 470px;
    background: #1687ff;
}

.home-hero__glow--two {
    bottom: -220px;
    left: 30%;
    width: 420px;
    height: 420px;
    background: #00c2d8;
    animation-delay: -3s;
    animation-duration: 10s;
}

.home-hero__grid {
    position: relative;
    display: grid;
    min-height: 590px;
    align-items: center;
    grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
    gap: 54px;
    padding-top: 48px;
    padding-bottom: 52px;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ics-blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.home-hero .section-eyebrow,
.home-cta .section-eyebrow {
    color: #7dd3fc;
}

.home-hero__content h1 {
    max-width: 700px;
    margin: 18px 0 20px;
    color: #fff;
    font-size: clamp(38px, 4.3vw, 58px);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -0.045em;
}

.home-hero__content {
    animation: heroContentIn 0.72s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.home-hero__content h1 span {
    color: #75c9ff;
}

.home-hero__lead {
    max-width: 650px;
    margin: 0 0 26px;
    color: #c2d3e8;
    font-size: 16px;
    line-height: 1.7;
}

.home-hero__proof {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 24px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
    color: #d9e7f6;
    font-size: 14px;
    font-weight: 600;
}

.home-hero__proof i {
    display: inline-grid;
    width: 20px;
    height: 20px;
    margin-right: 7px;
    place-items: center;
    border-radius: 50%;
    background: rgba(52, 211, 153, 0.16);
    color: #6ee7b7;
    font-size: 10px;
}

.home-hero__visual {
    position: relative;
    min-height: 500px;
    animation: heroVisualIn 0.82s 0.12s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.home-hero__visual-card {
    position: absolute;
    inset: 12px 0 38px 20px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 38px;
    background: linear-gradient(145deg, rgba(255,255,255,0.14), rgba(255,255,255,0.045));
    box-shadow: 0 34px 70px rgba(0,0,0,0.26);
    backdrop-filter: blur(12px);
    isolation: isolate;
}

.home-hero__visual-card::after {
    position: absolute;
    inset: auto -20% -45% -20%;
    height: 70%;
    border-radius: 50%;
    background: rgba(14,165,183,0.22);
    content: "";
    filter: blur(30px);
}

.hero-dev-stage {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    min-height: 450px;
    overflow: hidden;
    background:
        radial-gradient(circle at 72% 24%, rgba(37,99,235,0.24), transparent 33%),
        radial-gradient(circle at 25% 78%, rgba(14,165,183,0.16), transparent 35%);
}

.hero-dev-stage::before {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(125,211,252,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(125,211,252,0.035) 1px, transparent 1px);
    background-size: 28px 28px;
    content: "";
    mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
}

.hero-code-editor,
.hero-app-preview,
.hero-mobile-preview {
    position: absolute;
    border: 1px solid rgba(125,211,252,0.28);
    box-shadow: 0 24px 45px rgba(0,0,0,0.32);
}

.hero-code-editor {
    z-index: 2;
    top: 52px;
    left: 22px;
    width: 52%;
    height: 270px;
    overflow: hidden;
    border-radius: 20px;
    background: rgba(4,18,37,0.96);
    transform: rotate(-2deg);
    animation: heroEditorFloat 6.2s ease-in-out infinite;
}

.hero-window-bar,
.hero-app-browser {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 34px;
    padding: 0 12px;
    border-bottom: 1px solid rgba(125,211,252,0.12);
    background: rgba(255,255,255,0.045);
}

.hero-window-bar > span,
.hero-app-browser > span {
    display: flex;
    gap: 5px;
}

.hero-window-bar > span i,
.hero-app-browser > span i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #fb7185;
}

.hero-window-bar > span i:nth-child(2),
.hero-app-browser > span i:nth-child(2) { background: #fbbf24; }

.hero-window-bar > span i:nth-child(3),
.hero-app-browser > span i:nth-child(3) { background: #34d399; }

.hero-window-bar small {
    color: #8ca7c7;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.hero-code-lines {
    display: grid;
    gap: 13px;
    padding: 24px 20px;
}

.hero-code-row {
    display: flex;
    align-items: center;
    gap: 8px;
    transform-origin: left center;
    animation: heroCodeType 4.8s ease-in-out infinite;
}

.hero-code-row i,
.hero-code-row b {
    display: block;
    height: 5px;
    border-radius: 999px;
}

.hero-code-row i { width: 24%; background: #fb923c; }
.hero-code-row b { width: 58%; background: #38bdf8; }
.hero-code-row:nth-child(3n) i { background: #a78bfa; }
.hero-code-row:nth-child(3n) b { background: #60a5fa; }
.hero-code-row:nth-child(even) i { background: #22d3ee; }
.hero-code-row:nth-child(even) b { background: #f8fafc; opacity: 0.72; }

.hero-code-row--1 { width: 86%; animation-delay: -0.2s; }
.hero-code-row--2 { width: 66%; margin-left: 11%; animation-delay: -0.7s; }
.hero-code-row--3 { width: 92%; animation-delay: -1.2s; }
.hero-code-row--4 { width: 58%; margin-left: 18%; animation-delay: -1.7s; }
.hero-code-row--5 { width: 78%; animation-delay: -2.2s; }
.hero-code-row--6 { width: 70%; margin-left: 9%; animation-delay: -2.7s; }
.hero-code-row--7 { width: 88%; animation-delay: -3.2s; }
.hero-code-row--8 { width: 54%; margin-left: 18%; animation-delay: -3.7s; }

.hero-app-preview {
    z-index: 3;
    top: 82px;
    right: 22px;
    width: 52%;
    height: 260px;
    overflow: hidden;
    border-color: rgba(255,255,255,0.65);
    border-radius: 20px;
    background: #f7fbff;
    transform: rotate(1.5deg);
    animation: heroAppFloat 6.8s -1.4s ease-in-out infinite;
}

.hero-app-browser {
    height: 32px;
    border-color: #d9e6f5;
    background: #fff;
}

.hero-app-browser > b {
    width: 38%;
    height: 6px;
    border-radius: 999px;
    background: #dce8f6;
}

.hero-app-layout {
    display: grid;
    height: calc(100% - 32px);
    grid-template-columns: 44px 1fr;
}

.hero-app-layout aside {
    display: grid;
    align-content: start;
    gap: 13px;
    padding: 22px 11px;
    background: #eaf2ff;
}

.hero-app-layout aside i {
    display: block;
    height: 6px;
    border-radius: 999px;
    background: #93b4dc;
}

.hero-app-canvas {
    padding: 22px 17px;
    background: #f8fbff;
}

.hero-app-heading {
    display: block;
    width: 54%;
    height: 10px;
    margin-bottom: 17px;
    border-radius: 999px;
    background: #2563eb;
}

.hero-app-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
    margin-bottom: 17px;
}

.hero-app-cards i {
    height: 47px;
    border: 1px solid #dbe7f6;
    border-radius: 9px;
    background: linear-gradient(145deg, #fff, #eaf3ff);
    box-shadow: 0 5px 12px rgba(37,99,235,0.08);
    animation: heroModuleBuild 5.4s ease-in-out infinite;
}

.hero-app-cards i:nth-child(2) { animation-delay: -1.8s; }
.hero-app-cards i:nth-child(3) { animation-delay: -3.6s; }

.hero-app-chart {
    display: flex;
    height: 72px;
    align-items: end;
    gap: 8px;
    padding: 11px 12px;
    border: 1px solid #dbe7f6;
    border-radius: 11px;
    background: #fff;
}

.hero-app-chart i {
    width: 13%;
    border-radius: 4px 4px 1px 1px;
    background: linear-gradient(#38bdf8, #2563eb);
    transform-origin: bottom;
    animation: heroChartGrow 4.6s ease-in-out infinite;
}

.hero-app-chart i:nth-child(1) { height: 32%; animation-delay: -0.4s; }
.hero-app-chart i:nth-child(2) { height: 68%; animation-delay: -1.1s; }
.hero-app-chart i:nth-child(3) { height: 47%; animation-delay: -1.8s; }
.hero-app-chart i:nth-child(4) { height: 84%; animation-delay: -2.5s; }
.hero-app-chart i:nth-child(5) { height: 61%; animation-delay: -3.2s; background: linear-gradient(#fb923c, #f59e0b); }

.hero-mobile-preview {
    z-index: 5;
    right: 10px;
    bottom: 28px;
    width: 82px;
    height: 158px;
    overflow: hidden;
    border: 4px solid #dceafe;
    border-radius: 20px;
    background: #f8fbff;
    animation: heroPhoneFloat 5.5s -2s ease-in-out infinite;
}

.hero-mobile-preview > span {
    display: block;
    width: 35px;
    height: 5px;
    margin: 7px auto 14px;
    border-radius: 999px;
    background: #b8cae1;
}

.hero-mobile-preview > i,
.hero-mobile-preview > b,
.hero-mobile-preview > em {
    display: block;
    margin: 0 10px 10px;
    border-radius: 7px;
    background: #dceafe;
}

.hero-mobile-preview > i { height: 46px; background: linear-gradient(135deg, #2563eb, #22d3ee); }
.hero-mobile-preview > b { width: 44px; height: 8px; background: #8dabd1; }
.hero-mobile-preview > em { height: 25px; background: #e7eef8; }

.hero-build-route {
    position: absolute;
    z-index: 6;
    top: 47%;
    left: 41%;
    display: flex;
    width: 28%;
    align-items: center;
}

.hero-build-route > span {
    display: grid;
    width: 29px;
    height: 29px;
    flex: 0 0 29px;
    place-items: center;
    border: 1px solid rgba(125,211,252,0.55);
    border-radius: 9px;
    background: #0b2b52;
    color: #7dd3fc;
    font-size: 10px;
    box-shadow: 0 0 18px rgba(56,189,248,0.32);
}

.hero-build-route > span:last-child {
    border-color: rgba(52,211,153,0.65);
    background: #0e3b42;
    color: #6ee7b7;
}

.hero-build-route > b {
    position: relative;
    height: 2px;
    flex: 1;
    overflow: hidden;
    background: rgba(125,211,252,0.28);
}

.hero-build-route > b::after {
    position: absolute;
    top: -2px;
    left: -12px;
    width: 12px;
    height: 6px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 0 10px #38bdf8;
    content: "";
    animation: heroRoutePulse 1.9s linear infinite;
}

.hero-build-route > b:nth-of-type(2)::after { animation-delay: -0.95s; }

.hero-build-status {
    position: absolute;
    z-index: 6;
    bottom: 26px;
    left: 27px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border: 1px solid rgba(255,255,255,0.17);
    border-radius: 11px;
    background: rgba(4,18,37,0.82);
    color: #dcecff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.03em;
    box-shadow: 0 12px 26px rgba(0,0,0,0.24);
    backdrop-filter: blur(8px);
}

.hero-build-status span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 0 0 rgba(52,211,153,0.55);
    animation: heroStatusPulse 1.8s ease-out infinite;
}

@keyframes heroEditorFloat {
    0%, 100% { transform: rotate(-2deg) translateY(0); }
    50% { transform: rotate(-1deg) translateY(-7px); }
}

@keyframes heroAppFloat {
    0%, 100% { transform: rotate(1.5deg) translateY(0); }
    50% { transform: rotate(0.5deg) translateY(6px); }
}

@keyframes heroPhoneFloat {
    0%, 100% { transform: translateY(0) rotate(1deg); }
    50% { transform: translateY(-9px) rotate(-1deg); }
}

@keyframes heroCodeType {
    0%, 12% { opacity: 0.28; transform: scaleX(0.18); }
    28%, 78% { opacity: 1; transform: scaleX(1); }
    100% { opacity: 0.45; transform: scaleX(0.72); }
}

@keyframes heroModuleBuild {
    0%, 18% { opacity: 0.35; transform: translateY(8px) scale(0.9); }
    36%, 82% { opacity: 1; transform: translateY(0) scale(1); }
    100% { opacity: 0.55; transform: translateY(2px) scale(0.97); }
}

@keyframes heroChartGrow {
    0%, 100% { transform: scaleY(0.45); opacity: 0.55; }
    48% { transform: scaleY(1); opacity: 1; }
}

@keyframes heroRoutePulse {
    from { left: -12px; }
    to { left: 100%; }
}

@keyframes heroStatusPulse {
    70% { box-shadow: 0 0 0 8px rgba(52,211,153,0); }
    100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); }
}

.home-hero__visual-card img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: cover;
    object-position: center;
    filter: saturate(0.96) contrast(1.02);
    animation: heroImageBreathe 9s ease-in-out infinite alternate;
    will-change: transform;
}

.floating-skill {
    position: absolute;
    z-index: 3;
    padding: 7px 12px;
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 999px;
    background: rgba(5, 23, 43, 0.72);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 10px 22px rgba(0,0,0,0.2);
    animation: heroChipFloat 4.6s ease-in-out infinite;
    will-change: transform;
}

.floating-skill i {
    margin-right: 5px;
    color: #7dd3fc;
    font-size: 10px;
}

.floating-skill--one { top: 13%; left: 8%; animation-delay: -0.8s; }
.floating-skill--two { top: 22%; right: 7%; animation-delay: -2.2s; }
.floating-skill--three { right: 10%; bottom: 18%; animation-delay: -3.4s; }

.hero-build-beam {
    position: absolute;
    z-index: 2;
    top: 51%;
    left: 34%;
    width: 32%;
    height: 3px;
    overflow: hidden;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(56,189,248,0.06), rgba(125,211,252,0.86), rgba(56,189,248,0.06));
    box-shadow: 0 0 14px rgba(56,189,248,0.72);
    transform: rotate(-1deg);
}

.hero-build-beam::before,
.hero-build-beam::after {
    position: absolute;
    top: -4px;
    left: -12px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 8px #fff, 0 0 18px #38bdf8;
    content: "";
    animation: heroBuildPulse 2.7s ease-in-out infinite;
}

.hero-build-beam::after {
    animation-delay: -1.35s;
    opacity: 0.65;
}

.home-hero__mentor-card {
    position: absolute;
    z-index: 4;
    right: -28px;
    bottom: 5px;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 245px;
    padding: 15px;
    border-radius: 18px;
    background: #fff;
    color: var(--ics-ink);
    box-shadow: var(--ics-shadow);
    animation: heroMentorFloat 5.4s ease-in-out infinite;
    will-change: transform;
}

@keyframes heroContentIn {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes heroVisualIn {
    from { opacity: 0; transform: translateX(30px) scale(0.97); }
    to { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes heroChipFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes heroMentorFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
}

@keyframes heroGlowDrift {
    from { transform: translate3d(-12px, -8px, 0) scale(0.96); }
    to { transform: translate3d(18px, 14px, 0) scale(1.05); }
}

@keyframes heroImageBreathe {
    from { transform: scale(1); }
    to { transform: scale(1.025); }
}

@keyframes heroGridDrift {
    to { background-position: 42px 42px; }
}

@keyframes heroBuildPulse {
    0% { left: -12px; opacity: 0; transform: scale(0.65); }
    18%, 78% { opacity: 1; }
    100% { left: 100%; opacity: 0; transform: scale(1.05); }
}

.mentor-icon {
    display: grid;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    place-items: center;
    border-radius: 14px;
    background: #e8f2ff;
    color: var(--ics-blue);
    font-size: 19px;
}

.home-hero__mentor-card span:last-child {
    color: var(--ics-muted);
    font-size: 12px;
    line-height: 1.45;
}

.home-hero__mentor-card strong {
    display: block;
    color: var(--ics-navy);
    font-size: 14px;
}

.home-trust {
    position: relative;
    z-index: 3;
    margin-top: -1px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(11,31,58,0.06);
}

.home-trust__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.home-trust__grid > div {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 21px 30px;
    border-right: 1px solid var(--ics-line);
}

.home-trust__grid > div:first-child { padding-left: 0; }
.home-trust__grid > div:last-child { border-right: 0; padding-right: 0; }

.home-trust i {
    display: grid;
    width: 45px;
    height: 45px;
    flex: 0 0 45px;
    place-items: center;
    border-radius: 13px;
    background: #edf5ff;
    color: var(--ics-blue);
}

.home-trust span {
    color: var(--ics-muted);
    font-size: 13px;
    line-height: 1.45;
}

.home-trust strong {
    display: block;
    margin-bottom: 2px;
    color: var(--ics-navy);
    font-size: 15px;
}

.site-section {
    padding: 72px 0;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 52px;
    margin-bottom: 30px;
}

.section-heading h2,
.home-why__content h2,
.home-cta h2 {
    margin: 8px 0 0;
    color: var(--ics-navy);
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.035em;
}

.section-heading > p {
    max-width: 480px;
    margin: 0;
    color: var(--ics-muted);
}

.section-heading--center {
    justify-content: center;
    text-align: center;
}

/* Home sections alternate brand tints so each band reads on its own: career tracks (blue) →
   why ICS (warm orange) → learning journey (cyan) → navy CTA. Each band is lightest at the top,
   where its heading and muted text sit, so that text keeps 4.5:1 contrast. */
.home-programs {
    background: linear-gradient(180deg, #f3f7ff 0%, #e3edff 100%);
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.program-card {
    position: relative;
    display: flex;
    min-height: 288px;
    flex-direction: column;
    overflow: hidden;
    padding: 25px;
    border: 1px solid #e3e9f1;
    border-radius: var(--ics-radius);
    background: #fff;
    box-shadow: 0 7px 22px rgba(11,31,58,0.045);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.program-card::before {
    position: absolute;
    top: -80px;
    right: -80px;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background: var(--card-soft);
    content: "";
}

.program-card:hover,
.program-card:focus {
    transform: translateY(-7px);
    border-color: var(--card-color);
    box-shadow: 0 22px 42px rgba(11,31,58,0.12);
    color: inherit;
}

.program-card--blue { --card-color: #2563eb; --card-soft: #dbeafe; }
.program-card--orange { --card-color: #ea580c; --card-soft: #ffedd5; }
.program-card--cyan { --card-color: #0891b2; --card-soft: #cffafe; }
.program-card--violet { --card-color: #7c3aed; --card-soft: #ede9fe; }
.program-card--green { --card-color: #059669; --card-soft: #d1fae5; }
.program-card--rose { --card-color: #e11d48; --card-soft: #ffe4e6; }

.program-card__icon {
    position: relative;
    z-index: 1;
    display: grid;
    width: 52px;
    height: 52px;
    margin-bottom: 22px;
    place-items: center;
    border-radius: 15px;
    background: var(--card-soft);
    color: var(--card-color);
    font-size: 22px;
    font-weight: 900;
}

.program-card__tag {
    margin-bottom: 6px;
    color: var(--card-color);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.program-card h3 {
    margin: 0 0 10px;
    color: var(--ics-navy);
    font-size: 19px;
    font-weight: 800;
    line-height: 1.25;
}

.program-card p {
    margin: 0 0 22px;
    color: var(--ics-muted);
    font-size: 14px;
    line-height: 1.65;
}

.program-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    color: var(--card-color);
    font-size: 13px;
    font-weight: 800;
}

.section-action {
    margin-top: 32px;
    text-align: center;
}

.home-why {
    background: linear-gradient(180deg, #fffaf3 0%, #ffefd9 100%);
}

.home-why__grid {
    display: grid;
    align-items: center;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 60px;
}

.home-why__media {
    position: relative;
}

.home-why__media::before {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 120px;
    height: 120px;
    border-radius: 28px 0 28px 0;
    background: #ffdcae;
    content: "";
}

.home-why__media > img {
    position: relative;
    display: block;
    width: 100%;
    height: 455px;
    border-radius: 30px;
    object-fit: cover;
    object-position: center;
    box-shadow: var(--ics-shadow);
}

.home-why__badge {
    position: absolute;
    right: -32px;
    bottom: 34px;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 17px 19px;
    border-radius: 18px;
    background: var(--ics-navy);
    color: #d8e7f7;
    font-size: 13px;
    line-height: 1.4;
    box-shadow: var(--ics-shadow);
}

.home-why__badge i {
    color: #77d6ff;
    font-size: 25px;
}

.home-why__badge strong {
    color: #fff;
}

.home-why__content > p {
    margin: 15px 0 24px;
    color: var(--ics-muted);
    font-size: 16px;
}

.feature-list {
    display: grid;
    gap: 13px;
    margin-bottom: 24px;
}

.feature-list__item {
    display: flex;
    gap: 15px;
    padding: 16px;
    border: 1px solid #f3e3cc;
    border-radius: 16px;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.feature-list__item:hover {
    border-color: #c6ddfa;
    box-shadow: var(--ics-shadow-sm);
}

.feature-list__item > span {
    display: grid;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    place-items: center;
    border-radius: 13px;
    background: #e9f3ff;
    color: var(--ics-blue);
}

.feature-list h3 {
    margin: 0 0 3px;
    color: var(--ics-navy);
    font-size: 16px;
    font-weight: 800;
}

.feature-list p {
    margin: 0;
    color: var(--ics-muted);
    font-size: 13px;
    line-height: 1.55;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--ics-blue) !important;
    font-size: 14px;
    font-weight: 800;
}

.home-steps {
    background: linear-gradient(180deg, #e9f8fa 0%, #d5eef3 100%);
}

.steps-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.steps-grid::before {
    position: absolute;
    top: 57px;
    right: 16.5%;
    left: 16.5%;
    border-top: 2px dashed #a5d3dc;
    content: "";
}

.steps-grid article {
    position: relative;
    z-index: 1;
    padding: 29px;
    border: 1px solid #e2e8f0;
    border-radius: var(--ics-radius);
    background: rgba(255,255,255,0.88);
    text-align: center;
    box-shadow: var(--ics-shadow-sm);
}

.steps-grid article > span {
    position: absolute;
    top: 18px;
    right: 20px;
    color: #dce5f1;
    font-size: 30px;
    font-weight: 900;
}

.steps-grid article > i {
    display: grid;
    width: 58px;
    height: 58px;
    margin: 0 auto 19px;
    place-items: center;
    border: 7px solid #fff;
    border-radius: 50%;
    background: var(--ics-blue);
    color: #fff;
    font-size: 18px;
    box-shadow: 0 0 0 1px #dce6f2, 0 10px 20px rgba(37,99,235,0.2);
}

.steps-grid h3 {
    margin: 0 0 8px;
    color: var(--ics-navy);
    font-size: 19px;
    font-weight: 800;
}

.steps-grid p {
    margin: 0;
    color: var(--ics-muted);
    font-size: 14px;
}

.home-cta {
    padding: 52px 0;
    background: linear-gradient(120deg, #0b2860, #1554ba);
    color: #fff;
}

.home-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.home-cta h2 {
    margin-top: 7px;
    color: #fff;
}

.home-cta p {
    margin: 9px 0 0;
    color: #c9dbf4;
}

.home-cta__actions {
    flex: 0 0 auto;
}

.home-cta__phone {
    display: flex;
    align-items: center;
    gap: 11px;
    color: #fff !important;
}

.home-cta__phone > i {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 50%;
}

.home-cta__phone span {
    color: #bcd1ef;
    font-size: 11px;
    line-height: 1.4;
}

.home-cta__phone strong {
    display: block;
    color: #fff;
    font-size: 15px;
}

.site-footer {
    background: #07172b;
    color: #afbed0;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1.35fr 0.65fr 0.9fr 1.05fr;
    gap: 44px;
    padding-top: 50px;
    padding-bottom: 44px;
}

.site-footer__brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    color: #fff !important;
}

.site-footer__brand-icon {
    display: grid;
    width: 68px;
    height: 68px;
    flex: 0 0 68px;
    place-items: center;
    overflow: hidden;
    padding: 5px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 10px 28px rgba(0,0,0,0.2);
}

.site-footer__brand-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.site-footer__brand-name {
    display: grid;
    line-height: 1.1;
}

.site-footer__brand-name small {
    margin-bottom: 3px;
    color: #9bb0c8;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.site-footer__brand-name strong {
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.site-footer__brand-name em {
    margin-top: 5px;
    color: #69c5ff;
    font-size: 11px;
    font-style: normal;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.site-footer__brand > p {
    max-width: 330px;
    margin: 16px 0 18px;
    font-size: 14px;
}

.site-footer h2 {
    margin: 5px 0 21px;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.site-footer ul {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer a {
    color: #afbed0;
    font-size: 14px;
    transition: color 0.2s ease;
}

.site-footer a:hover,
.site-footer a:focus {
    color: #fff;
}

.site-footer__social {
    display: flex;
    gap: 9px;
}

.site-footer__social a {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid #29405d;
    border-radius: 11px;
    color: #fff;
}

.site-footer__social a:hover {
    border-color: #4b7ab2;
    background: #173557;
}

.site-footer__contact p {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0 0 14px;
    font-size: 14px;
}

.site-footer__contact i {
    width: 17px;
    margin-top: 5px;
    color: #69c5ff;
    text-align: center;
}

.site-footer__bottom {
    border-top: 1px solid #1c304a;
    background: #051221;
}

.site-footer__bottom .site-shell {
    display: flex;
    min-height: 62px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.site-footer__bottom p {
    margin: 0;
    font-size: 12px;
}

.site-footer__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 9px 18px;
}

.site-footer__legal a {
    font-size: 12px;
}

/* Shared public-page polish */
.public-site:not(.page-home) #main-content {
    min-height: 50vh;
    padding-top: 30px;
    padding-bottom: 56px;
    background: linear-gradient(180deg, #f3f7fd 0, #f5f7fb 210px);
}

.public-site:not(.page-home) #main-content > .container {
    width: min(1120px, calc(100% - 40px));
}

.public-site .deepshd {
    margin: 4px 0 34px;
    padding: 0;
    color: var(--ics-navy);
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.035em;
    text-align: center;
    text-shadow: none;
}

.public-site .deepshd::after {
    display: block;
    width: 54px;
    height: 4px;
    margin: 14px auto 0;
    border-radius: 99px;
    background: var(--ics-blue);
    content: "";
}

.public-site .form-control {
    height: 46px;
    border: 1px solid #d8e1ec;
    border-radius: 10px;
    background: #fff;
    color: var(--ics-ink);
    box-shadow: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.public-site textarea.form-control {
    height: auto;
    min-height: 125px;
    resize: vertical;
}

.public-site .form-control:focus {
    border-color: #77a9ef;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

.public-site label {
    margin-bottom: 7px;
    color: #2a3b52;
    font-size: 13px;
    font-weight: 700;
}

.public-site .btn-send,
.public-site input.btn-send {
    min-height: 48px;
    padding: 11px 22px;
    border: 0;
    border-radius: 11px;
    background: var(--ics-blue) !important;
    color: #fff !important;
    font-weight: 800;
    box-shadow: 0 11px 24px rgba(37,99,235,0.22);
}

.public-site .success-msg,
.public-site .error-msg {
    border-radius: 10px;
    font-size: 13px;
}

.public-site #row1 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin: 0 0 20px;
}

/* Bootstrap 3 adds table-like row pseudo-elements. They become empty grid
   items unless removed, shifting the first course card into column two. */
.public-site #row1::before,
.public-site #row1::after {
    display: none;
    content: none;
}

.public-site #row1 > [class*="col-"] {
    float: none;
    width: auto;
    min-height: 0;
    padding: 0;
}

.public-site #row1 .card {
    height: 100%;
    margin: 0;
    overflow: hidden;
    border: 1px solid #e0e7f0;
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--ics-shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.public-site #row1 .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 38px rgba(11,31,58,0.12);
}

.public-site #row1 .card-header-blue {
    min-height: 88px;
    padding: 24px 25px;
    background: linear-gradient(125deg, var(--ics-navy), #174e8d);
}

.public-site #row1 .card-heading {
    margin: 0;
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.25;
}

.public-site #row1 .card-body {
    padding: 24px 25px 28px;
}

.public-site #row1 .card-p {
    margin: 0;
    color: var(--ics-muted);
    font-size: 14px;
    line-height: 1.7;
    text-align: left;
}

/* Course catalog visuals and technology-specific motion */
.page-courses .course-catalog__intro {
    max-width: 720px;
    margin: 0 auto 34px;
    text-align: center;
}

.page-courses .course-catalog__intro > span {
    display: inline-flex;
    margin-bottom: 10px;
    color: var(--ics-blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.page-courses .course-catalog__intro .deepshd {
    margin-bottom: 16px;
}

.page-courses .course-catalog__intro p {
    margin: 0;
    color: var(--ics-muted);
    font-size: 15px;
    line-height: 1.7;
}

.page-courses #row1 .course-card-shell {
    opacity: 0;
    transform: translateY(18px);
    animation: course-card-reveal 0.58s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: calc(var(--course-index) * 55ms);
}

.page-courses #row1 .course-card {
    --course-start: #0b1f3a;
    --course-end: #1d5ca0;
    --course-accent: #7dd3fc;
    isolation: isolate;
}

.page-courses #row1 .course-card .card-content {
    display: flex;
    width: 100%;
    height: 100%;
    overflow: hidden;
    flex-direction: column;
}

.public-site.page-courses #row1 .course-card__header {
    position: relative;
    display: flex;
    min-height: 110px;
    align-items: center;
    gap: 16px;
    padding: 22px 24px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--course-start), var(--course-end));
    isolation: isolate;
}

.public-site.page-courses #row1 .course-card__header::before,
.public-site.page-courses #row1 .course-card__header::after {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.17);
    border-radius: 50%;
    content: "";
    pointer-events: none;
    transition: transform 0.45s ease;
    z-index: -1;
}

.public-site.page-courses #row1 .course-card__header::before {
    top: -52px;
    right: -24px;
    width: 132px;
    height: 132px;
}

.public-site.page-courses #row1 .course-card__header::after {
    right: 46px;
    bottom: -62px;
    width: 96px;
    height: 96px;
}

.public-site.page-courses #row1 .course-card:hover .course-card__header::before {
    transform: scale(1.13) translate(-5px, 5px);
}

.public-site.page-courses #row1 .course-card:hover .course-card__header::after {
    transform: scale(0.82) translate(8px, -8px);
}

.public-site.page-courses #row1 .course-card__icon {
    position: relative;
    display: inline-flex;
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.27);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.13);
    color: #fff;
    font-size: 25px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 12px 22px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(5px);
}

.public-site.page-courses #row1 .course-card__icon > span {
    position: absolute;
    right: -4px;
    bottom: -4px;
    width: 13px;
    height: 13px;
    border: 3px solid var(--course-end);
    border-radius: 50%;
    background: var(--course-accent);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.15);
    animation: course-signal 2.2s ease-in-out infinite;
}

.public-site.page-courses #row1 .course-card__title {
    position: relative;
    margin: 0;
    color: #fff;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.25;
    text-align: left;
}

.public-site.page-courses #row1 .course-card__body {
    flex: 1;
}

.page-courses #row1 .course-card--c {
    --course-start: #082f49;
    --course-end: #0369a1;
    --course-accent: #7dd3fc;
}

.page-courses #row1 .course-card--cpp {
    --course-start: #172554;
    --course-end: #3730a3;
    --course-accent: #a5b4fc;
}

.page-courses #row1 .course-card--java {
    --course-start: #7f1d1d;
    --course-end: #c2410c;
    --course-accent: #fdba74;
}

.page-courses #row1 .course-card--python {
    --course-start: #164e63;
    --course-end: #a16207;
    --course-accent: #fde047;
}

.page-courses #row1 .course-card--web {
    --course-start: #134e4a;
    --course-end: #0f766e;
    --course-accent: #5eead4;
}

.page-courses #row1 .course-card--angular {
    --course-start: #7f1d1d;
    --course-end: #be123c;
    --course-accent: #fda4af;
}

.page-courses #row1 .course-card--react {
    --course-start: #0c4a6e;
    --course-end: #0369a1;
    --course-accent: #67e8f9;
}

.page-courses #row1 .course-card--stack {
    --course-start: #3b0764;
    --course-end: #7e22ce;
    --course-accent: #d8b4fe;
}

.page-courses #row1 .course-card--testing {
    --course-start: #14532d;
    --course-end: #15803d;
    --course-accent: #86efac;
}

.page-courses #row1 .course-card--aws {
    --course-start: #78350f;
    --course-end: #d97706;
    --course-accent: #fcd34d;
}

.page-courses #row1 .course-card--devops {
    --course-start: #312e81;
    --course-end: #6d28d9;
    --course-accent: #c4b5fd;
}

.page-courses #row1 .course-card--data {
    --course-start: #164e63;
    --course-end: #0e7490;
    --course-accent: #67e8f9;
}

.page-courses #row1 .course-card--security {
    --course-start: #052e16;
    --course-end: #047857;
    --course-accent: #6ee7b7;
}

.page-courses #row1 .course-card--mobile {
    --course-start: #365314;
    --course-end: #4d7c0f;
    --course-accent: #bef264;
}

.page-courses #row1 .course-card--dotnet {
    --course-start: #4c1d95;
    --course-end: #6d28d9;
    --course-accent: #ddd6fe;
}

.course-card--c .course-card__icon i { animation: course-code-pulse 2.3s steps(2, end) infinite; }
.course-card--cpp .course-card__icon i { animation: course-terminal-type 2.6s ease-in-out infinite; }
.course-card--java .course-card__icon i { animation: course-java-lift 2.8s ease-in-out infinite; }
.course-card--python .course-card__icon i { animation: course-python-sway 3s ease-in-out infinite; }
.course-card--web .course-card__icon i { animation: course-web-build 2.7s ease-in-out infinite; }
.course-card--angular .course-card__icon i { animation: course-angular-tilt 3s ease-in-out infinite; }
.course-card--react .course-card__icon i { animation: course-react-orbit 7s linear infinite; }
.course-card--stack .course-card__icon i { animation: course-stack-shift 2.6s ease-in-out infinite; }
.course-card--testing .course-card__icon i { animation: course-bug-scan 3.2s ease-in-out infinite; }
.course-card--aws .course-card__icon i { animation: course-cloud-float 3s ease-in-out infinite; }
.course-card--devops .course-card__icon i { animation: course-devops-flow 3.2s ease-in-out infinite; }
.course-card--data .course-card__icon i { animation: course-data-rise 2.8s ease-in-out infinite; }
.course-card--security .course-card__icon i { animation: course-shield-pulse 2.5s ease-in-out infinite; }
.course-card--mobile .course-card__icon i { animation: course-mobile-tilt 3s ease-in-out infinite; }
.course-card--dotnet .course-card__icon i { animation: course-tiles-flip 3.4s ease-in-out infinite; }

@keyframes course-card-reveal {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes course-signal {
    0%, 100% { transform: scale(0.82); opacity: 0.72; }
    50% { transform: scale(1); opacity: 1; }
}

@keyframes course-code-pulse {
    0%, 100% { opacity: 0.65; transform: scale(0.94); }
    50% { opacity: 1; transform: scale(1.08); }
}

@keyframes course-terminal-type {
    0%, 100% { transform: translateX(-2px); }
    50% { transform: translateX(3px); }
}

@keyframes course-java-lift {
    0%, 100% { transform: translateY(2px); }
    50% { transform: translateY(-4px) rotate(-3deg); }
}

@keyframes course-python-sway {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg) scale(1.05); }
}

@keyframes course-web-build {
    0%, 100% { transform: translateY(1px) scale(0.96); }
    50% { transform: translateY(-3px) scale(1.05); }
}

@keyframes course-angular-tilt {
    0%, 100% { transform: perspective(80px) rotateY(-10deg); }
    50% { transform: perspective(80px) rotateY(10deg); }
}

@keyframes course-react-orbit {
    to { transform: rotate(360deg); }
}

@keyframes course-stack-shift {
    0%, 100% { transform: translateY(2px); }
    50% { transform: translateY(-4px) scale(1.06); }
}

@keyframes course-bug-scan {
    0%, 100% { transform: translateX(-3px) rotate(-4deg); }
    50% { transform: translateX(3px) rotate(4deg); }
}

@keyframes course-cloud-float {
    0%, 100% { transform: translateY(2px); }
    50% { transform: translateY(-5px); }
}

@keyframes course-devops-flow {
    0%, 100% { transform: scaleX(0.92); opacity: 0.75; }
    50% { transform: scaleX(1.08); opacity: 1; }
}

@keyframes course-data-rise {
    0%, 100% { transform: translateY(3px) scaleY(0.92); }
    50% { transform: translateY(-3px) scaleY(1.06); }
}

@keyframes course-shield-pulse {
    0%, 100% { filter: drop-shadow(0 0 0 rgba(110, 231, 183, 0)); transform: scale(0.96); }
    50% { filter: drop-shadow(0 0 6px rgba(110, 231, 183, 0.75)); transform: scale(1.06); }
}

@keyframes course-mobile-tilt {
    0%, 100% { transform: rotate(-4deg); }
    50% { transform: translateY(-3px) rotate(4deg); }
}

@keyframes course-tiles-flip {
    0%, 100% { transform: perspective(100px) rotateY(0); }
    50% { transform: perspective(100px) rotateY(18deg) scale(1.04); }
}

@media (prefers-reduced-motion: reduce) {
    .page-courses #row1 .course-card-shell,
    .page-courses #row1 .course-card__icon i,
    .page-courses #row1 .course-card__icon > span {
        opacity: 1;
        transform: none;
        animation: none;
    }

    .public-site.page-courses #row1 .course-card__header::before,
    .public-site.page-courses #row1 .course-card__header::after {
        transition: none;
    }
}

.public-site.page-register-online #main-content .container > .row,
.public-site.page-course-enquiry #main-content .container > .row {
    margin-bottom: 0 !important;
}

.public-site.page-register-online #main-content [class*="col-md-offset"],
.public-site.page-course-enquiry #main-content [class*="col-md-offset"] {
    padding: 30px;
    border: 1px solid #e0e7f0;
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--ics-shadow-sm);
}

.page-register-online .registration-intro {
    max-width: 650px;
    margin: -20px auto 28px;
    color: var(--ics-muted);
    font-size: 14px;
    line-height: 1.7;
    text-align: center;
}

.page-register-online .registration-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 270px;
    align-items: start;
    gap: 24px;
    margin-bottom: 50px;
}

.page-register-online .registration-form-card {
    min-width: 0;
    padding: 30px;
    border: 1px solid #e0e7f0;
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--ics-shadow-sm);
}

.page-register-online .registration-form-card .form-group {
    margin-bottom: 18px;
}

.page-register-online .registration-status:empty {
    display: none;
}

.page-register-online .registration-status:not(:empty) {
    margin: 0 0 18px;
    padding: 12px 14px;
    border: 1px solid;
}

.page-register-online .registration-status.success-msg:not(:empty) {
    border-color: #a7f3d0;
    background: #ecfdf5;
    color: #047857;
}

.page-register-online .registration-status.error-msg:not(:empty) {
    border-color: #fecaca;
    background: #fff1f2;
    color: #b42318;
}

.page-register-online span.error-msg:not(:empty),
.page-register-online .field-error {
    display: block;
    margin-top: 6px;
    color: #b42318;
    font-size: 12px;
    font-weight: 600;
}

.page-register-online .registration-required {
    margin-left: 3px;
    color: #dc2626;
}

.page-register-online .registration-payment-card {
    position: sticky;
    top: 24px;
    padding: 24px 20px 20px;
    border: 1px solid #d8e5f7;
    border-radius: 22px;
    background: linear-gradient(180deg, #f4f8ff 0%, #fff 100%);
    box-shadow: var(--ics-shadow-sm);
    text-align: center;
}

.page-register-online .registration-payment-icon {
    display: inline-grid;
    width: 42px;
    height: 42px;
    margin-bottom: 10px;
    border-radius: 12px;
    background: #e4eeff;
    color: #1554b0;
    font-size: 19px;
    place-items: center;
}

.page-register-online .registration-payment-card h2 {
    margin: 0 0 8px;
    color: var(--ics-ink);
    font-size: 18px;
    font-weight: 800;
}

.page-register-online .registration-payment-card p,
.page-register-online .registration-payment-card small {
    display: block;
    color: var(--ics-muted);
    font-size: 11px;
    line-height: 1.55;
}

.page-register-online .registration-payment-card p {
    margin: 0 0 14px;
}

.page-register-online .registration-payment-card small {
    margin-top: 12px;
}

.page-register-online .registration-payment-card img {
    display: block;
    width: 100%;
    max-width: 220px;
    margin: 0 auto;
    border: 1px solid var(--ics-line);
    border-radius: 14px;
    background: #fff;
}

.page-register-online .btn-send {
    min-width: 210px;
}

.public-site.page-contact-us .contact,
.public-site.page-contact-us .contact-form,
.public-site.page-contact-us iframe {
    border-radius: 18px;
}

.subpage-shell {
    display: grid;
    gap: 58px;
}

.subpage-intro {
    display: grid;
    gap: 30px;
}

.subpage-title {
    max-width: 770px;
    margin: 0 auto;
    text-align: center;
}

.subpage-title h1 {
    margin: 7px 0 12px;
    color: var(--ics-navy);
    font-size: clamp(32px, 4vw, 46px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.045em;
}

.subpage-title > p {
    max-width: 680px;
    margin: 0 auto;
    color: var(--ics-muted);
    font-size: 15px;
}

/* Privacy policy */
.policy-shell {
    gap: 42px;
}

.policy-intro {
    gap: 26px;
}

.policy-updated {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 14px;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
}

.policy-updated i {
    color: var(--ics-blue);
}

.policy-highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.policy-highlights article {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-height: 128px;
    padding: 22px;
    border: 1px solid #dfe8f3;
    border-radius: 17px;
    background: rgba(255,255,255,0.92);
    box-shadow: 0 10px 28px rgba(11,31,58,0.06);
}

.policy-highlights article > span,
.policy-section-icon {
    display: grid;
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    place-items: center;
    border-radius: 12px;
    background: #e8f2ff;
    color: var(--ics-blue);
    font-size: 17px;
}

.policy-highlights h2 {
    margin: 1px 0 6px;
    color: var(--ics-navy);
    font-size: 15px;
    font-weight: 800;
}

.policy-highlights p {
    margin: 0;
    color: var(--ics-muted);
    font-size: 12px;
    line-height: 1.65;
}

.policy-layout {
    display: grid;
    align-items: start;
    grid-template-columns: 235px minmax(0, 1fr);
    gap: 26px;
}

.policy-navigation {
    position: sticky;
    top: 24px;
    padding: 22px;
    border: 1px solid #dfe8f3;
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(11,31,58,0.05);
}

.policy-navigation > span {
    display: block;
    margin-bottom: 12px;
    color: var(--ics-navy);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.policy-navigation nav {
    display: grid;
    gap: 2px;
}

.policy-navigation a {
    position: relative;
    padding: 8px 8px 8px 13px;
    border-radius: 8px;
    color: #53657b;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
}

.policy-navigation a::before {
    position: absolute;
    top: 13px;
    left: 1px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #bfdbfe;
    content: "";
}

.policy-navigation a:hover,
.policy-navigation a:focus {
    background: #eff6ff;
    color: var(--ics-blue);
}

.policy-content {
    overflow: hidden;
    border: 1px solid #dfe8f3;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 14px 36px rgba(11,31,58,0.07);
}

.policy-content > section {
    display: flex;
    gap: 18px;
    padding: 29px 32px;
    border-bottom: 1px solid #e7edf5;
    scroll-margin-top: 24px;
}

.policy-content > section:last-child {
    border-bottom: 0;
}

.policy-content h2 {
    margin: 2px 0 12px;
    color: var(--ics-navy);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.policy-content p,
.policy-content li,
.policy-content address {
    color: #52637a;
    font-size: 13px;
    line-height: 1.75;
}

.policy-content p {
    margin: 0 0 12px;
}

.policy-content p:last-child {
    margin-bottom: 0;
}

.policy-inline-link {
    color: var(--ics-blue);
    font-weight: 800;
    text-decoration: underline;
    text-decoration-color: #bfdbfe;
    text-underline-offset: 3px;
}

.policy-inline-link:hover,
.policy-inline-link:focus {
    color: #174ca5;
    text-decoration-color: currentColor;
}

.policy-content ul {
    display: grid;
    gap: 7px;
    margin: 0 0 14px;
    padding-left: 20px;
}

.policy-content li::marker {
    color: var(--ics-blue);
}

.policy-contact {
    background: linear-gradient(135deg, #f8fbff, #eef6ff);
}

.policy-contact__links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;
}

.policy-contact__links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border: 1px solid #cfe0f5;
    border-radius: 10px;
    background: #fff;
    color: var(--ics-blue);
    font-size: 12px;
    font-weight: 800;
}

.policy-contact__links a:hover,
.policy-contact__links a:focus {
    border-color: #93b8eb;
    box-shadow: 0 6px 16px rgba(37,99,235,0.1);
}

.policy-content address {
    margin: 0;
    font-style: normal;
}

.about-story {
    display: grid;
    align-items: center;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 45px;
}

.about-story__media {
    position: relative;
}

.about-story__media img {
    display: block;
    width: 100%;
    height: 420px;
    border-radius: 28px;
    object-fit: cover;
    box-shadow: var(--ics-shadow);
}

.about-story__media > span {
    position: absolute;
    right: 20px;
    bottom: 20px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(7, 23, 43, 0.9);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    backdrop-filter: blur(8px);
}

.about-story__content h2,
.contact-form-card h2,
.subpage-cta h2 {
    margin: 8px 0 16px;
    color: var(--ics-navy);
    font-size: clamp(26px, 3vw, 34px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.about-story__content p {
    margin: 0 0 14px;
    color: var(--ics-muted);
}

.about-story__content .text-link {
    margin-top: 8px;
}

.about-values {
    padding: 48px 42px;
    border-radius: var(--ics-radius-lg);
    background: var(--ics-navy);
    color: #fff;
}

.about-values .section-heading h2 {
    color: #fff;
}

.about-values .section-eyebrow {
    color: #74caff;
}

.about-values__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.about-values__grid article {
    padding: 26px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 18px;
    background: rgba(255,255,255,0.06);
}

.about-values__grid article > span {
    display: grid;
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    place-items: center;
    border-radius: 14px;
    background: rgba(116,202,255,0.13);
    color: #74caff;
}

.about-values__grid h3 {
    margin: 0 0 9px;
    color: #fff;
    font-size: 18px;
    font-weight: 800;
}

.about-values__grid p {
    margin: 0;
    color: #bfcee0;
    font-size: 14px;
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.staff-card {
    display: flex;
    align-items: center;
    gap: 17px;
    padding: 16px;
    border: 1px solid #e0e7f0;
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--ics-shadow-sm);
}

.staff-card__photo {
    width: 82px;
    height: 82px;
    flex: 0 0 82px;
    overflow: hidden;
    border-radius: 15px;
    background: #e9eff7;
}

.staff-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.staff-card__content h3 {
    margin: 0 0 2px;
    color: var(--ics-navy);
    font-size: 17px;
    font-weight: 800;
}

.staff-card__content p {
    margin: 0;
    color: var(--ics-blue);
    font-size: 13px;
    font-weight: 700;
}

.subpage-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    padding: 34px 40px;
    border: 1px solid #dbe6f2;
    border-radius: 24px;
    background: linear-gradient(120deg, #fff, #eef6ff);
}

.subpage-cta h2 {
    margin-bottom: 0;
    font-size: 27px;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.contact-cards > * {
    display: grid;
    padding: 24px;
    border: 1px solid #dfe7f1;
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--ics-shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-cards > a:hover,
.contact-cards > a:focus {
    transform: translateY(-4px);
    box-shadow: 0 18px 38px rgba(11,31,58,0.12);
}

.contact-cards span {
    display: grid;
    width: 45px;
    height: 45px;
    margin-bottom: 18px;
    place-items: center;
    border-radius: 13px;
    background: #eaf4ff;
    color: var(--ics-blue);
}

.contact-cards small {
    margin-bottom: 3px;
    color: var(--ics-muted);
    font-size: 12px;
    font-weight: 700;
}

.contact-cards strong {
    color: var(--ics-navy);
    font-size: 17px;
}

.contact-cards em {
    margin-top: 2px;
    color: #8190a4;
    font-size: 12px;
    font-style: normal;
}

.contact-main {
    display: grid;
    align-items: stretch;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 25px;
}

.contact-map,
.contact-form-card {
    overflow: hidden;
    border: 1px solid #e0e7f0;
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--ics-shadow-sm);
}

.contact-map {
    display: grid;
    min-height: 600px;
    grid-template-rows: 1fr auto;
}

.contact-map iframe {
    min-height: 470px;
    border-radius: 0 !important;
}

.contact-map__address {
    display: flex;
    gap: 14px;
    padding: 23px;
    border-top: 1px solid #e4eaf2;
}

.contact-map__address i {
    margin-top: 5px;
    color: var(--ics-blue);
}

.contact-map__address p {
    margin: 0;
    color: var(--ics-muted);
    font-size: 13px;
}

.contact-map__address strong {
    display: block;
    margin-bottom: 3px;
    color: var(--ics-navy);
    font-size: 15px;
}

.contact-form-card {
    padding: 30px;
}

.contact-form-card h2 {
    margin-bottom: 6px;
    font-size: 29px;
}

.contact-form-card > p {
    margin-bottom: 24px;
    color: var(--ics-muted);
}

.contact-form-card__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.contact-submit {
    width: 100%;
}

.site-alert--success {
    border: 1px solid #bbf7d0;
    background: #f0fdf4;
    color: #166534;
}

.field-error,
.course-fee-note {
    display: block;
    margin-top: 6px;
    color: #b42318;
    font-size: 12px;
    font-weight: 600;
}

.course-fee-note {
    padding: 10px 12px;
    border-radius: 9px;
    background: #eff6ff;
    color: var(--ics-blue-dark);
}

.achievement-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.achievement-card {
    overflow: hidden;
    border: 1px solid #e0e7f0;
    border-radius: 19px;
    background: #fff;
    box-shadow: var(--ics-shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.achievement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 38px rgba(11,31,58,0.12);
}

.achievement-card__photo {
    height: 235px;
    overflow: hidden;
    background: #e9eff7;
}

.achievement-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.achievement-card__content {
    padding: 20px;
}

.achievement-card__content > span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 9px;
    color: var(--ics-blue);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.achievement-card h2 {
    margin: 0 0 3px;
    color: var(--ics-navy);
    font-size: 17px;
    font-weight: 800;
}

.achievement-card p {
    margin: 0 0 4px;
    color: var(--ics-ink);
    font-size: 13px;
    font-weight: 600;
}

.achievement-card small {
    display: block;
    color: var(--ics-muted);
    font-size: 12px;
}

.empty-state {
    padding: 65px 30px;
    border: 1px dashed #c8d5e5;
    border-radius: 20px;
    text-align: center;
}

.empty-state > i {
    margin-bottom: 15px;
    color: var(--ics-blue);
    font-size: 35px;
}

.empty-state h2 {
    color: var(--ics-navy);
    font-size: 22px;
    font-weight: 800;
}

.empty-state p {
    margin: 0;
    color: var(--ics-muted);
}

.enquiry-layout {
    display: grid;
    align-items: stretch;
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
    gap: 24px;
}

.enquiry-aside {
    padding: 32px;
    border-radius: 24px;
    background: linear-gradient(145deg, var(--ics-navy), #164d86);
    color: #fff;
    box-shadow: var(--ics-shadow);
}

.enquiry-aside .section-eyebrow {
    color: #7dd3fc;
}

.enquiry-aside h2 {
    margin: 9px 0 24px;
    color: #fff;
    font-size: 30px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.enquiry-aside ol {
    display: grid;
    gap: 19px;
    margin: 0 0 38px;
    padding: 0;
    list-style: none;
}

.enquiry-aside li {
    display: flex;
    gap: 13px;
}

.enquiry-aside li > span {
    display: grid;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    place-items: center;
    border-radius: 10px;
    background: rgba(255,255,255,0.12);
    color: #7dd3fc;
    font-size: 12px;
    font-weight: 900;
}

.enquiry-aside li strong {
    display: block;
    margin-bottom: 2px;
    color: #fff;
    font-size: 14px;
}

.enquiry-aside li p {
    margin: 0;
    color: #bfd0e4;
    font-size: 13px;
}

.enquiry-aside > a {
    display: flex;
    align-items: center;
    gap: 11px;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.14);
    color: #fff !important;
}

.enquiry-aside > a i {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 12px;
    background: rgba(125,211,252,0.12);
    color: #7dd3fc;
}

.enquiry-aside > a span {
    color: #bcd0e7;
    font-size: 11px;
}

.enquiry-aside > a strong {
    display: block;
    color: #fff;
    font-size: 15px;
}

.enquiry-form-card {
    padding: 32px;
}

/* Lightweight scroll reveals; content remains visible when JavaScript is unavailable. */
.js .site-reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.62s ease, transform 0.62s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--reveal-delay, 0ms);
}

.js .site-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1050px) {
    .site-brand { width: min(410px, 48vw); }
    .home-hero__grid { grid-template-columns: minmax(0, 1fr) 390px; gap: 34px; }
    .home-hero__mentor-card { right: 0; }
    .home-why__grid { gap: 58px; }
    .site-footer__grid { grid-template-columns: 1.3fr 0.7fr 1fr; }
    .site-footer__contact { grid-column: 3; }
    .achievement-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
    .site-topbar__inner { justify-content: center; }
    .site-topbar__inner > p { display: none; }
    .site-header__brand-row { min-height: 70px; }
    .site-brand { width: min(350px, 52vw); }
    .site-header__actions .site-button--ghost { width: 40px; padding: 9px; font-size: 0; }
    .site-header__actions .site-button--ghost i { font-size: 17px; }
    .home-hero__grid { min-height: auto; grid-template-columns: 1fr; padding-top: 46px; padding-bottom: 52px; }
    .home-hero__content { max-width: 700px; }
    .home-hero__visual { width: min(520px, 100%); min-height: 480px; margin: 0 auto; }
    .program-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-why__grid { grid-template-columns: 1fr; }
    .home-why__media { width: min(590px, 100%); margin: 0 auto; }
    .home-why__content { max-width: 680px; }
    .steps-grid { grid-template-columns: 1fr; }
    .steps-grid::before { display: none; }
    .home-cta__inner { align-items: flex-start; flex-direction: column; }
    .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .site-footer__contact { grid-column: auto; }
    .public-site #row1 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .about-story { grid-template-columns: 1fr; }
    .about-story__media { width: min(620px, 100%); margin: 0 auto; }
    .about-values__grid { grid-template-columns: 1fr; }
    .staff-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .contact-main { grid-template-columns: 1fr; }
    .contact-map { min-height: 540px; }
    .achievement-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .enquiry-layout { grid-template-columns: 1fr; }
    .page-register-online .registration-layout { grid-template-columns: 1fr; }
    .page-register-online .registration-payment-card { position: static; }
    .policy-highlights { grid-template-columns: 1fr; }
    .policy-highlights article { min-height: 0; }
    .policy-layout { grid-template-columns: 1fr; }
    .policy-navigation { position: static; }
    .policy-navigation nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
    .site-shell { width: min(100% - 28px, 1180px); }
    .site-topbar { font-size: 11px; }
    .site-topbar__links { width: 100%; justify-content: space-between; gap: 10px; }
    .site-topbar__links a:last-child { display: none; }
    .site-header__brand-row { min-height: 66px; gap: 10px; }
    .site-brand { width: min(220px, 51vw); }
    .site-header__actions { gap: 7px; }
    .site-header__actions .site-button--accent { min-height: 38px; padding: 8px 10px; font-size: 11px; }
    .site-header__actions .site-button--accent i { display: none; }
    .site-nav__inner { min-height: 46px; flex-direction: column; align-items: stretch; gap: 0; }
    .site-nav__toggle { display: flex; }
    .site-nav__menu { display: none; align-items: stretch; flex-direction: column; gap: 0; padding: 4px 0 14px; }
    .site-nav__menu.is-open { display: flex; }
    .site-nav__menu a { padding: 11px 4px; }
    .site-nav__menu a::after { right: auto; bottom: 5px; left: 4px; width: 36px; }
    .site-nav__enquiry { display: none; }
    .site-login-modal .modal-dialog { margin: 24px auto; }
    .site-login-modal .modal-header,
    .site-login-modal .modal-body,
    .site-login-modal .modal-footer { padding-right: 22px; padding-left: 22px; }
    .site-login-modal .modal-footer { align-items: stretch; flex-direction: column-reverse; }
    .site-login-modal .modal-footer .site-button { width: 100%; }
    .home-hero__grid { gap: 28px; padding-top: 42px; padding-bottom: 46px; }
    .home-hero__content h1 { font-size: clamp(34px, 10vw, 44px); }
    .home-hero__lead { font-size: 15px; }
    .home-hero__actions { align-items: stretch; flex-direction: column; }
    .home-hero__actions .site-button { width: 100%; }
    .home-hero__visual { min-height: 380px; }
    .home-hero__visual-card { inset: 5px 0 30px; border-radius: 28px; }
    .home-hero__mentor-card { right: 8px; bottom: 0; min-width: 225px; }
    .hero-dev-stage { min-height: 345px; }
    .hero-code-editor { top: 38px; left: 12px; width: 58%; height: 208px; border-radius: 15px; }
    .hero-window-bar { height: 29px; padding: 0 9px; }
    .hero-code-lines { gap: 9px; padding: 17px 13px; }
    .hero-code-row i, .hero-code-row b { height: 4px; }
    .hero-app-preview { top: 64px; right: 10px; width: 58%; height: 205px; border-radius: 15px; }
    .hero-app-browser { height: 27px; padding: 0 9px; }
    .hero-app-layout { height: calc(100% - 27px); grid-template-columns: 34px 1fr; }
    .hero-app-layout aside { gap: 10px; padding: 16px 8px; }
    .hero-app-canvas { padding: 16px 11px; }
    .hero-app-heading { height: 8px; margin-bottom: 12px; }
    .hero-app-cards { gap: 5px; margin-bottom: 12px; }
    .hero-app-cards i { height: 34px; border-radius: 7px; }
    .hero-app-chart { height: 54px; gap: 5px; padding: 8px; }
    .hero-build-route { top: 47%; left: 39%; width: 30%; }
    .hero-build-route > span { width: 24px; height: 24px; flex-basis: 24px; border-radius: 7px; font-size: 8px; }
    .hero-mobile-preview { right: 7px; bottom: 19px; width: 65px; height: 126px; border-width: 3px; border-radius: 16px; }
    .hero-mobile-preview > span { width: 28px; height: 4px; margin-bottom: 10px; }
    .hero-mobile-preview > i { height: 34px; }
    .hero-mobile-preview > b { width: 34px; height: 6px; }
    .hero-mobile-preview > em { height: 19px; }
    .hero-build-status { bottom: 17px; left: 14px; padding: 7px 9px; font-size: 8px; }
    .home-trust__grid { grid-template-columns: 1fr; padding: 10px 0; }
    .home-trust__grid > div,
    .home-trust__grid > div:first-child,
    .home-trust__grid > div:last-child { padding: 17px 0; border-right: 0; border-bottom: 1px solid var(--ics-line); }
    .home-trust__grid > div:last-child { border-bottom: 0; }
    .site-section { padding: 52px 0; }
    .section-heading { align-items: flex-start; flex-direction: column; gap: 12px; margin-bottom: 24px; }
    .section-heading h2, .home-why__content h2, .home-cta h2 { font-size: 29px; }
    .program-grid { grid-template-columns: 1fr; }
    .program-card { min-height: 0; }
    .home-why__grid { gap: 36px; }
    .home-why__media > img { height: 360px; }
    .home-why__badge { right: 12px; bottom: -24px; }
    .home-cta__actions { width: 100%; align-items: stretch; flex-direction: column; }
    .home-cta__phone { justify-content: center; }
    .site-footer__grid { grid-template-columns: 1fr; gap: 30px; padding-top: 42px; padding-bottom: 38px; }
    .site-footer__bottom .site-shell { align-items: flex-start; flex-direction: column; justify-content: center; gap: 3px; padding: 14px 0; }
    .public-site #row1 { grid-template-columns: 1fr; }
    .public-site:not(.page-home) #main-content > .container { width: min(100% - 28px, 1120px); }
    .public-site.page-register-online #main-content [class*="col-md-offset"],
    .public-site.page-course-enquiry #main-content [class*="col-md-offset"] { padding: 22px 18px; }
    .page-register-online .registration-layout { grid-template-columns: 1fr; }
    .page-register-online .registration-form-card { padding: 22px 18px; }
    .page-register-online .registration-payment-card { position: static; }
    .page-register-online .btn-send { width: 100%; }
    .subpage-shell { gap: 44px; }
    .subpage-intro { gap: 24px; }
    .subpage-title h1 { font-size: 32px; }
    .about-story { gap: 30px; }
    .about-story__media img { height: 300px; }
    .about-values { padding: 38px 20px; }
    .staff-grid { grid-template-columns: 1fr; }
    .subpage-cta { align-items: flex-start; flex-direction: column; padding: 32px 24px; }
    .contact-cards { grid-template-columns: 1fr; }
    .contact-form-card { padding: 27px 20px; }
    .contact-form-card__row { grid-template-columns: 1fr; gap: 0; }
    .contact-map { min-height: 490px; }
    .contact-map iframe { min-height: 360px; }
    .achievement-grid { grid-template-columns: 1fr; }
    .achievement-card { display: grid; grid-template-columns: 120px 1fr; }
    .achievement-card__photo { height: 165px; }
    .enquiry-aside, .enquiry-form-card { padding: 28px 20px; }
    .policy-navigation nav { grid-template-columns: 1fr; }
    .policy-content > section { gap: 13px; padding: 24px 18px; }
    .policy-section-icon { width: 38px; height: 38px; flex-basis: 38px; font-size: 14px; }
    .policy-content h2 { font-size: 18px; }
    .policy-contact__links { align-items: stretch; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
    .home-hero::before,
    .home-hero__content,
    .home-hero__glow,
    .home-hero__visual,
    .home-hero__visual-card img,
    .hero-build-beam::before,
    .hero-build-beam::after,
    .floating-skill,
    .home-hero__mentor-card {
        animation: none !important;
        transform: none !important;
    }

    .hero-code-editor,
    .hero-app-preview,
    .hero-mobile-preview,
    .hero-code-row,
    .hero-app-cards i,
    .hero-app-chart i,
    .hero-build-route > b::after,
    .hero-build-status span {
        animation: none !important;
        transform: none !important;
    }

    *, *::before, *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* =========================================================================
   Website refresh (Website-Inputs.docx + Website Audit, Oct 2026)
   Courses mega menu, hero lead form, proof strip, WhatsApp, About partner
   block, course groups, blog, refund policy and the mobile quick-contact bar.
   ========================================================================= */

:root {
    /* WhatsApp green, darkened so white text meets WCAG AA (5.3:1). */
    --ics-whatsapp: #117a65;
    --ics-whatsapp-dark: #0d6352;
}

/* Buttons ---------------------------------------------------------------- */
.site-button--whatsapp {
    background: var(--ics-whatsapp);
    color: #fff !important;
    box-shadow: 0 10px 24px rgba(17, 122, 101, 0.25);
}

.site-button--whatsapp:hover,
.site-button--whatsapp:focus {
    background: var(--ics-whatsapp-dark);
}

.site-button--whatsapp i {
    font-size: 1.25em;
}

.site-button--block {
    width: 100%;
}

.site-header__actions .site-button--whatsapp i {
    font-size: 17px;
}

/* Courses mega menu ------------------------------------------------------ */
.site-nav__inner {
    position: relative;
}

.site-nav__item.has-dropdown {
    position: static;
}

.site-nav__dropdown-toggle i {
    margin-left: 3px;
    font-size: 9px;
    transition: transform 0.2s ease;
}

.site-mega {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1020;
    display: grid;
    width: min(820px, 100%);
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr) minmax(0, 0.95fr);
    gap: 22px;
    padding: 22px;
    border: 1px solid var(--ics-line);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--ics-shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}

/* Invisible bridge so the pointer can travel from the link into the panel. */
.site-mega::before {
    position: absolute;
    top: -12px;
    right: 0;
    left: 0;
    height: 12px;
    content: "";
}

.site-mega__title {
    margin: 0 0 10px;
    color: var(--ics-blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.site-mega ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-mega__group + .site-mega__group ul {
    columns: 2;
    column-gap: 12px;
}

.site-nav__menu .site-mega__group a {
    display: block;
    padding: 7px 10px;
    border-radius: 8px;
    color: var(--ics-ink);
    font-size: 13.5px;
    font-weight: 600;
    break-inside: avoid;
}

.site-nav__menu .site-mega__group a::after,
.site-nav__menu .site-mega__cta a::after {
    display: none;
}

.site-nav__menu .site-mega__group a:hover,
.site-nav__menu .site-mega__group a:focus {
    background: #eef4ff;
    color: var(--ics-blue-dark);
}

.site-mega__cta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    padding: 20px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--ics-navy), #174e8d);
    color: #fff;
}

.site-mega__cta p {
    margin: 0;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.35;
}

.site-nav__menu .site-mega__cta .site-button {
    display: inline-flex;
    padding: 10px 14px;
    font-size: 13px;
}

@media (min-width: 701px) {
    .site-nav__item.has-dropdown:hover > .site-mega,
    .site-nav__item.has-dropdown:focus-within > .site-mega,
    .site-nav__item.has-dropdown.is-open > .site-mega {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    /* Escape closes the panel even while focus stays on the Courses link. */
    .site-nav__item.has-dropdown.is-dismissed > .site-mega {
        opacity: 0;
        visibility: hidden;
        transform: translateY(8px);
    }

    .site-nav__item.has-dropdown:hover .site-nav__dropdown-toggle i,
    .site-nav__item.has-dropdown.is-open .site-nav__dropdown-toggle i {
        transform: rotate(180deg);
    }
}

/* Login modal: single login entry with a path to registration ------------ */
.site-login-modal__register {
    margin: 4px 0 0;
    color: var(--ics-muted);
    font-size: 14px;
    text-align: center;
}

.site-login-modal__register a {
    color: var(--ics-blue-dark);
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Hero with lead capture form -------------------------------------------- */
.home-hero--lead {
    background:
        linear-gradient(105deg, rgba(7, 24, 46, 0.97) 0%, rgba(9, 34, 66, 0.92) 46%, rgba(11, 59, 105, 0.8) 100%),
        url("../images/hero-classroom.jpg") center / cover no-repeat; /* 97 KB copy of about-classroom-v2.png */
}

.home-hero__overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 78% 42%, rgba(37, 99, 235, 0.24), transparent 55%);
    pointer-events: none;
}

.home-hero--lead .home-hero__proof {
    margin: 0 0 28px;
}

.home-hero--lead .home-hero__actions {
    flex-wrap: wrap;
}

.home-hero__form-wrap {
    position: relative;
    z-index: 1;
    animation: heroVisualIn 0.82s 0.12s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-lead {
    padding: 28px 28px 24px;
    border-radius: var(--ics-radius);
    background: #fff;
    color: var(--ics-ink);
    box-shadow: 0 30px 70px rgba(2, 10, 24, 0.45);
    scroll-margin-top: 24px;
}

.home-hero .hero-lead .section-eyebrow {
    color: var(--ics-blue);
}

.hero-lead__head h2 {
    margin: 8px 0 6px;
    color: var(--ics-navy);
    font-size: 23px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.hero-lead__head p {
    margin: 0 0 18px;
    color: var(--ics-muted);
    font-size: 14px;
}

.hero-lead .form-group {
    margin-bottom: 12px;
}

.hero-lead label {
    margin-bottom: 6px;
    color: #2a3a52;
    font-size: 13px;
    font-weight: 700;
}

.hero-lead .form-control {
    height: 46px;
    padding: 10px 14px;
    border: 1px solid #d5deea;
    border-radius: 11px;
    box-shadow: none;
    color: var(--ics-ink);
    font-size: 16px; /* 16px+ stops iOS Safari zooming the page on focus */
}

.hero-lead .form-control:focus {
    border-color: var(--ics-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.hero-lead .hero-lead__consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 4px 0 16px;
    color: var(--ics-muted);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.45;
    cursor: pointer;
}

.hero-lead .hero-lead__consent input {
    flex-shrink: 0;
    width: 17px;
    height: 17px;
    margin: 1px 0 0;
    accent-color: var(--ics-blue);
}

.hero-lead__disclaimer {
    margin: 12px 0 0;
    color: #66768c;
    font-size: 12px;
    line-height: 1.5;
}

.hero-lead__disclaimer i {
    margin-right: 4px;
    color: #15803d;
}

.hero-lead .site-alert {
    margin-bottom: 14px;
}

/* Spam trap: hidden from people, often filled in by bots. */
.hp-field {
    position: absolute !important;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Proof strip ------------------------------------------------------------ */
.home-proof {
    position: relative;
    border-bottom: 1px solid var(--ics-line);
    background: #fff;
}

.home-proof__grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px;
    padding: 28px 0;
}

.home-proof--compact .home-proof__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-proof__item {
    text-align: center;
}

.home-proof__item strong {
    display: block;
    color: var(--ics-navy);
    font-size: clamp(24px, 2.4vw, 32px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.home-proof__item span {
    display: block;
    margin-top: 6px;
    color: var(--ics-muted);
    font-size: 13px;
    font-weight: 600;
}

@media (min-width: 1051px) {
    .home-proof__item + .home-proof__item {
        border-left: 1px solid var(--ics-line);
    }
}

.subpage-shell .home-proof {
    margin: 0 0 64px;
    border: 1px solid var(--ics-line);
    border-radius: var(--ics-radius);
    box-shadow: var(--ics-shadow-sm);
}

.subpage-shell .home-proof .site-shell {
    width: auto;
    padding: 0 20px;
}

/* About: training partner block ----------------------------------------- */
.about-partner {
    margin: 0 0 72px;
    padding: 44px;
    border: 1px solid #dbe6f5;
    border-radius: var(--ics-radius-lg);
    background: linear-gradient(135deg, #f3f7ff 0%, #ffffff 100%);
}

.about-partner__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr);
    align-items: center;
    gap: 44px;
}

.about-partner__content h2 {
    margin: 12px 0 16px;
    color: var(--ics-navy);
    font-size: clamp(26px, 3vw, 34px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.about-partner__content p {
    margin: 0 0 14px;
    color: #4a5a70;
    font-size: 15.5px;
    line-height: 1.75;
}

.about-partner__content p:last-child {
    margin-bottom: 0;
}

.about-partner__content strong {
    color: var(--ics-navy);
}

.about-partner__tracks {
    padding: 26px;
    border: 1px solid var(--ics-line);
    border-radius: var(--ics-radius);
    background: #fff;
    box-shadow: var(--ics-shadow-sm);
}

.about-partner__tracks h3 {
    margin: 0 0 18px;
    color: var(--ics-navy);
    font-size: 17px;
    font-weight: 800;
}

.about-tracks {
    display: grid;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.about-tracks li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.about-tracks li > span {
    display: inline-grid;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    place-items: center;
    border-radius: 12px;
    background: #eaf2ff;
    color: var(--ics-blue-dark);
    font-size: 18px;
}

.about-tracks div {
    color: var(--ics-muted);
    font-size: 14px;
    line-height: 1.5;
}

.about-tracks strong {
    display: block;
    color: var(--ics-navy);
    font-size: 15px;
    font-weight: 800;
}

/* Courses: grouped catalog ---------------------------------------------- */
.public-site #row1 > .course-group__heading {
    grid-column: 1 / -1;
    margin: 0;
}

.public-site #row1 > .course-group__heading--next {
    margin-top: 26px;
}

.course-group__heading h2 {
    margin: 0 0 6px;
    color: var(--ics-navy);
    font-size: clamp(22px, 2.4vw, 28px);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.course-group__heading p {
    max-width: 720px;
    margin: 0;
    color: var(--ics-muted);
    font-size: 15px;
    line-height: 1.6;
}

.page-courses #row1 .course-card--analytics { --course-start: #134e4a; --course-end: #0f766e; --course-accent: #5eead4; }
.page-courses #row1 .course-card--dsa { --course-start: #3b0764; --course-end: #7e22ce; --course-accent: #d8b4fe; }
.page-courses #row1 .course-card--corejava { --course-start: #7c2d12; --course-end: #c2410c; --course-accent: #fdba74; }
.page-courses #row1 .course-card--mysql { --course-start: #0c4a6e; --course-end: #0e7490; --course-accent: #67e8f9; }
.page-courses #row1 .course-card--linux { --course-start: #1f2937; --course-end: #4b5563; --course-accent: #fde68a; }
.page-courses #row1 .course-card--english { --course-start: #831843; --course-end: #be185d; --course-accent: #f9a8d4; }
.page-courses #row1 .course-card--soft { --course-start: #14532d; --course-end: #15803d; --course-accent: #86efac; }
.page-courses #row1 .course-card--node { --course-start: #233d23; --course-end: #3c873a; --course-accent: #c5f2a8; }

.course-card--analytics .course-card__icon i { animation: course-data-rise 2.8s ease-in-out infinite; }
.course-card--dsa .course-card__icon i { animation: course-stack-shift 2.6s ease-in-out infinite; }
.course-card--corejava .course-card__icon i { animation: course-java-lift 2.8s ease-in-out infinite; }
.course-card--mysql .course-card__icon i { animation: course-cloud-float 3s ease-in-out infinite; }
.course-card--linux .course-card__icon i { animation: course-terminal-type 2.6s ease-in-out infinite; }
.course-card--english .course-card__icon i { animation: course-angular-tilt 3s ease-in-out infinite; }
.course-card--soft .course-card__icon i { animation: course-shield-pulse 2.5s ease-in-out infinite; }
.course-card--node .course-card__icon i { animation: course-stack-shift 2.6s ease-in-out infinite; }

.course-catalog__cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 34px;
    padding: 26px 30px;
    border-radius: var(--ics-radius);
    background: linear-gradient(125deg, var(--ics-navy), #174e8d);
    color: #fff;
}

.course-catalog__cta p {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
}

.course-catalog__cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Blog ------------------------------------------------------------------- */
.blog-section {
    margin: 0 0 72px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.blog-card {
    display: flex;
    flex-direction: column;
    padding: 24px;
    border: 1px solid var(--ics-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--ics-shadow-sm);
}

.blog-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.blog-card__icon {
    display: inline-grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 13px;
    background: #eaf2ff;
    color: var(--ics-blue-dark);
    font-size: 19px;
}

.blog-card__badge {
    padding: 5px 10px;
    border-radius: 999px;
    background: #fff4de;
    color: #92400e;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.blog-card__category {
    color: var(--ics-blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.blog-card h3 {
    margin: 8px 0 10px;
    color: var(--ics-navy);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.35;
}

.blog-card p {
    margin: 0;
    color: var(--ics-muted);
    font-size: 14.5px;
    line-height: 1.65;
}

/* Floating WhatsApp button (desktop/tablet) ------------------------------ */
.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1030; /* below Bootstrap modals (1040+) */
    display: inline-flex;
    height: 56px;
    align-items: center;
    gap: 10px;
    padding: 0 20px 0 16px;
    border-radius: 999px;
    background: var(--ics-whatsapp);
    color: #fff !important;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none !important;
    box-shadow: 0 14px 34px rgba(13, 99, 82, 0.4);
    transition: transform 0.2s ease, background 0.2s ease;
}

.whatsapp-float i {
    font-size: 28px;
}

.whatsapp-float:hover,
.whatsapp-float:focus {
    background: var(--ics-whatsapp-dark);
    transform: translateY(-3px);
}

.whatsapp-float::before {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    content: "";
    pointer-events: none;
    animation: whatsappPulse 2.4s ease-out infinite;
}

@keyframes whatsappPulse {
    0% { box-shadow: 0 0 0 0 rgba(17, 122, 101, 0.45); }
    70%, 100% { box-shadow: 0 0 0 16px rgba(17, 122, 101, 0); }
}

/* Mobile quick-contact bar (phones only) --------------------------------- */
.mobile-cta-bar {
    display: none;
}

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1050px) {
    .home-proof__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: 22px;
    }
}

@media (max-width: 860px) {
    .site-nav__enquiry {
        display: none;
    }

    .site-header__actions .site-button--ghost,
    .site-header__actions .site-button--whatsapp {
        gap: 0;
    }

    .site-header__actions .site-button--whatsapp {
        width: 40px;
        padding: 9px;
        font-size: 0;
    }

    .site-header__actions .site-button--whatsapp i {
        font-size: 18px;
    }

    .about-partner {
        padding: 30px 24px;
    }

    .about-partner__grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

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

@media (max-width: 700px) {
    body.public-site {
        padding-bottom: calc(66px + env(safe-area-inset-bottom, 0px));
    }

    .site-header__actions .site-button--whatsapp,
    .whatsapp-float {
        display: none;
    }

    /* Courses becomes an accordion inside the collapsed mobile menu. */
    .site-mega {
        position: static;
        display: none;
        width: auto;
        grid-template-columns: 1fr;
        gap: 14px;
        margin: 0 0 8px;
        padding: 10px 4px 4px 14px;
        border: 0;
        border-left: 2px solid var(--ics-line);
        border-radius: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .site-mega::before,
    .site-mega__cta {
        display: none;
    }

    .site-nav__item.has-dropdown.is-open > .site-mega {
        display: grid;
    }

    .site-nav__item.has-dropdown.is-open .site-nav__dropdown-toggle i {
        transform: rotate(180deg);
    }

    .site-nav__menu .site-mega__group a {
        padding: 8px 6px;
    }

    .hero-lead {
        padding: 22px 18px 20px;
    }

    .hero-lead__head h2 {
        font-size: 21px;
    }

    .home-proof__grid,
    .home-proof--compact .home-proof__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 22px 0;
    }

    .about-partner {
        padding: 24px 18px;
        border-radius: var(--ics-radius);
    }

    .course-catalog__cta {
        padding: 22px 18px;
    }

    .course-catalog__cta-actions,
    .course-catalog__cta-actions .site-button {
        width: 100%;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .mobile-cta-bar {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1030;
        display: grid;
        grid-template-columns: 1fr 1fr 1.3fr;
        gap: 8px;
        padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
        border-top: 1px solid var(--ics-line);
        background: rgba(255, 255, 255, 0.97);
        box-shadow: 0 -10px 30px rgba(11, 31, 58, 0.12);
        backdrop-filter: blur(8px);
    }

    .mobile-cta-bar a {
        display: flex;
        min-height: 50px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        border-radius: 12px;
        color: var(--ics-navy) !important;
        font-size: 12px;
        font-weight: 800;
        text-decoration: none !important;
    }

    .mobile-cta-bar a i {
        font-size: 18px;
    }

    .mobile-cta-bar .fa-phone-alt {
        color: var(--ics-blue);
    }

    .mobile-cta-bar .fa-whatsapp {
        color: var(--ics-whatsapp);
        font-size: 21px;
    }

    .mobile-cta-bar a.mobile-cta-bar__primary {
        background: var(--ics-orange);
        color: #182236 !important;
    }
}

/* =========================================================================
   Course landing pages (/courses/{slug}) and linked catalog cards
   Layout follows the course page template in the website audit (3.4).
   ========================================================================= */

/* Catalog cards link to their course page ---------------------------------- */
.course-card-link {
    display: block;
    height: 100%;
    border-radius: 18px;
    color: inherit !important;
    text-decoration: none !important;
}

.course-card-link:focus-visible {
    outline: 3px solid var(--ics-blue);
    outline-offset: 4px;
}

.page-courses #row1 .course-card__body {
    display: flex;
    flex-direction: column;
}

.course-card__more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 16px;
    color: var(--ics-blue-dark);
    font-size: 14px;
    font-weight: 800;
}

.course-card__more i {
    transition: transform 0.2s ease;
}

.course-card-link:hover .course-card__more i,
.course-card-link:focus .course-card__more i {
    transform: translateX(4px);
}

/* Catalog grid: job-oriented programs 2x2 on tablets and 4-across on wide screens,
   foundation courses 3-across. Below 861px the existing 2- and 1-column rules apply. */
@media (min-width: 861px) {
    .public-site #row1 {
        grid-template-columns: repeat(12, minmax(0, 1fr));
    }

    .public-site #row1 > .course-card-shell {
        grid-column: span 4;
    }

    .public-site #row1 > .course-card-shell--job {
        grid-column: span 6;
    }
}

@media (min-width: 1200px) {
    .public-site #row1 > .course-card-shell--job {
        grid-column: span 3;
    }
}

.site-nav__menu .site-mega__group a[aria-current="page"] {
    background: #eef4ff;
    color: var(--ics-blue-dark);
}

/* Hero --------------------------------------------------------------------- */
.course-hero .home-hero__content h1 {
    font-size: clamp(32px, 3.4vw, 46px);
    line-height: 1.08;
}

.course-breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
    color: #9fb4cf;
    font-size: 13px;
    font-weight: 600;
}

.course-breadcrumb li + li::before {
    margin-right: 6px;
    color: #5f7896;
    content: "/";
}

.course-breadcrumb a {
    color: #d9e7f6;
}

.course-breadcrumb a:hover,
.course-breadcrumb a:focus {
    color: #fff;
    text-decoration: underline;
}

.course-breadcrumb [aria-current="page"] {
    color: #fff;
}

.course-facts {
    display: grid;
    max-width: 620px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 22px;
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
}

.course-facts li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
}

.course-facts i {
    display: inline-grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.08);
    color: #7dd3fc;
    font-size: 15px;
}

.course-facts small {
    display: block;
    color: #9fb4cf;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Page layout -------------------------------------------------------------- */
.course-page {
    display: grid;
    gap: 56px;
    padding: 56px 0 72px;
}

.course-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: start;
    gap: 44px;
}

.course-section {
    padding: 40px 0;
    border-bottom: 1px solid var(--ics-line);
    scroll-margin-top: 20px;
}

.course-section:first-child {
    padding-top: 0;
}

.course-section:last-child {
    border-bottom: 0;
}

.course-section h2 {
    margin: 10px 0 16px;
    color: var(--ics-navy);
    font-size: clamp(24px, 2.4vw, 30px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.course-text {
    max-width: 72ch;
    margin: 0 0 14px;
    color: #4a5a70;
    font-size: 16px;
    line-height: 1.75;
}

.course-note {
    margin: -4px 0 18px;
    color: var(--ics-muted);
    font-size: 14px;
}

/* Overview boxes and lists ------------------------------------------------- */
.course-split {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 18px;
    margin-top: 24px;
}

.course-box {
    padding: 22px;
    border: 1px solid var(--ics-line);
    border-radius: 16px;
    background: #fff;
}

.course-box h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 12px;
    color: var(--ics-navy);
    font-size: 16px;
    font-weight: 800;
}

.course-box h3 i {
    color: var(--ics-blue);
}

.course-box p {
    margin: 0;
    color: #4a5a70;
    font-size: 15px;
    line-height: 1.65;
}

.course-list,
.course-module ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.course-list {
    display: grid;
    gap: 8px;
}

.course-list li,
.course-module li {
    position: relative;
    padding-left: 18px;
    color: #4a5a70;
    font-size: 15px;
    line-height: 1.5;
}

.course-list li::before,
.course-module li::before {
    position: absolute;
    top: 0.6em;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ics-blue);
    content: "";
}

.course-outcomes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.course-outcomes li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 18px;
    border: 1px solid var(--ics-line);
    border-radius: 14px;
    background: #fff;
    color: var(--ics-ink);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
}

.course-outcomes i {
    margin-top: 3px;
    color: #16a34a;
}

/* Syllabus accordion -------------------------------------------------------- */
.course-modules,
.course-faq {
    display: grid;
    gap: 12px;
}

.course-module,
.course-faq__item {
    overflow: hidden;
    border: 1px solid var(--ics-line);
    border-radius: 14px;
    background: #fff;
}

.course-module {
    box-shadow: var(--ics-shadow-sm);
}

.course-module summary,
.course-faq__item summary {
    display: flex;
    align-items: center;
    cursor: pointer;
    list-style: none;
}

.course-module summary::-webkit-details-marker,
.course-faq__item summary::-webkit-details-marker {
    display: none;
}

.course-module summary:focus-visible,
.course-faq__item summary:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.35);
    outline-offset: -3px;
}

.course-module summary {
    gap: 14px;
    padding: 16px 20px;
}

.course-module__num {
    display: inline-grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    place-items: center;
    border-radius: 10px;
    background: #eaf2ff;
    color: var(--ics-blue-dark);
    font-size: 13px;
    font-weight: 800;
}

.course-module__title {
    flex: 1;
    color: var(--ics-navy);
    font-size: 16px;
    font-weight: 800;
}

.course-module summary > i,
.course-faq__item summary > i {
    color: var(--ics-muted);
    transition: transform 0.2s ease;
}

.course-module[open] summary > i {
    transform: rotate(180deg);
}

.course-module ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 24px;
    padding: 2px 20px 20px 72px;
}

.course-module li {
    font-size: 14.5px;
}

/* Tools, projects, approach ------------------------------------------------- */
.course-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.course-tools li {
    padding: 9px 14px;
    border: 1px solid #d7e3f4;
    border-radius: 999px;
    background: #f3f7ff;
    color: var(--ics-blue-dark);
    font-size: 14px;
    font-weight: 700;
}

.course-projects,
.course-approach {
    display: grid;
    gap: 16px;
}

.course-projects {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.course-approach {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.course-projects article,
.course-approach article {
    padding: 22px;
    border: 1px solid var(--ics-line);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--ics-shadow-sm);
}

.course-projects article > span,
.course-approach article > span,
.course-related__icon {
    display: inline-grid;
    width: 42px;
    height: 42px;
    place-items: center;
    margin-bottom: 14px;
    border-radius: 12px;
    background: #eaf2ff;
    color: var(--ics-blue-dark);
    font-size: 17px;
}

.course-projects h3,
.course-approach h3 {
    margin: 0 0 8px;
    color: var(--ics-navy);
    font-size: 16.5px;
    font-weight: 800;
    line-height: 1.3;
}

.course-projects p,
.course-approach p {
    margin: 0;
    color: var(--ics-muted);
    font-size: 14.5px;
    line-height: 1.6;
}

/* FAQ ---------------------------------------------------------------------- */
.course-faq__item summary {
    justify-content: space-between;
    gap: 16px;
    padding: 16px 20px;
    color: var(--ics-navy);
    font-size: 15.5px;
    font-weight: 800;
    line-height: 1.4;
}

.course-faq__item summary > i {
    flex-shrink: 0;
    color: var(--ics-blue);
}

.course-faq__item[open] summary > i {
    transform: rotate(45deg);
}

.course-faq__item p {
    max-width: 75ch;
    margin: 0;
    padding: 0 20px 18px;
    color: #4a5a70;
    font-size: 15px;
    line-height: 1.7;
}

/* Sticky sidebar ------------------------------------------------------------ */
/* Stretch the column to the content's height so the card has room to stick. */
.course-aside {
    align-self: stretch;
}

.course-aside__card {
    position: sticky;
    top: 24px;
    padding: 22px;
    border: 1px solid var(--ics-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--ics-shadow-sm);
}

.course-aside__title {
    margin: 0 0 10px;
    color: var(--ics-blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.course-aside__nav {
    display: grid;
    gap: 2px;
    margin-bottom: 18px;
}

.course-aside__nav a {
    padding: 8px 10px;
    border-radius: 9px;
    color: #41516a;
    font-size: 14px;
    font-weight: 700;
}

.course-aside__nav a:hover,
.course-aside__nav a:focus {
    background: #eef4ff;
    color: var(--ics-blue-dark);
    text-decoration: none;
}

.course-aside__cta {
    display: grid;
    gap: 10px;
    padding-top: 18px;
    border-top: 1px solid var(--ics-line);
}

.course-aside__cta p {
    margin: 0 0 4px;
    color: var(--ics-navy);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.35;
}

.course-aside__phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 6px;
    color: var(--ics-navy);
    font-size: 14px;
    font-weight: 800;
}

/* Related courses ----------------------------------------------------------- */
.course-related__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.course-related__card {
    display: flex;
    flex-direction: column;
    padding: 22px;
    border: 1px solid var(--ics-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--ics-shadow-sm);
    color: inherit !important;
    text-decoration: none !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.course-related__card:hover,
.course-related__card:focus {
    transform: translateY(-4px);
    box-shadow: 0 18px 38px rgba(11, 31, 58, 0.12);
}

.course-related__group {
    color: var(--ics-blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.course-related__card h3 {
    margin: 6px 0 8px;
    color: var(--ics-navy);
    font-size: 17px;
    font-weight: 800;
}

.course-related__card p {
    margin: 0 0 14px;
    color: var(--ics-muted);
    font-size: 14px;
    line-height: 1.6;
}

.course-related__more {
    margin-top: auto;
    color: var(--ics-blue-dark);
    font-size: 14px;
    font-weight: 800;
}

/* Responsive ---------------------------------------------------------------- */
@media (max-width: 1050px) {
    .course-layout {
        grid-template-columns: minmax(0, 1fr) 260px;
        gap: 28px;
    }

    .course-projects {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .course-layout {
        grid-template-columns: 1fr;
    }

    /* Hero, closing CTA and the mobile contact bar already cover these links. */
    .course-aside {
        display: none;
    }

    .course-related__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .course-page {
        gap: 40px;
        padding: 36px 0 56px;
    }

    .course-hero .home-hero__content h1 {
        font-size: 30px;
    }

    .course-facts,
    .course-split,
    .course-outcomes,
    .course-projects,
    .course-approach,
    .course-related__grid {
        grid-template-columns: 1fr;
    }

    .course-section {
        padding: 32px 0;
    }

    .course-module summary,
    .course-faq__item summary {
        padding: 14px 16px;
    }

    .course-module ul {
        grid-template-columns: 1fr;
        padding: 0 16px 18px;
    }

    .course-faq__item p {
        padding: 0 16px 16px;
    }
}
