:root {
    --graphite: #1f2328;
    --sand: #c8b38a;
    --offwhite: #f4f1ea;
    --muted-blue: #5a7285;
    --text: #17202a;
}

* {
    box-sizing: border-box;
}

html {
    overflow-y: scroll;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: #fff;
    overflow-x: hidden;
}

img {
    max-width: 100%;
}

/* Navigation */

.site-navbar {
    background: #fff;
    border-top: 4px solid var(--graphite);
    box-shadow: 0 2px 18px rgba(0,0,0,.06);
    min-height: 76px;
}

.site-navbar .container {
    min-height: 72px;
}

.site-navbar .navbar-nav {
    gap: .15rem;
    align-items: center;
}

.nav-link {
    font-weight: 700;
    color: #334 !important;
    font-size: .95rem;
}

.site-navbar .nav-link,
.site-navbar .dropdown-toggle,
.site-navbar .member-login-link {
    white-space: nowrap;
}

.dropdown-menu {
    min-width: 270px;
    border: 0;
    box-shadow: 0 18px 45px rgba(0,0,0,.16);
    border-radius: 14px;
    padding: .7rem;
    z-index: 1050;
}

.dropdown-item {
    border-radius: 10px;
    font-weight: 600;
    padding: .65rem .85rem;
}

.site-navbar .navbar-nav > .nav-item > .member-login-link {
    font-weight: 700;
    color: #334 !important;
    font-size: .95rem;
    line-height: 1.5;
    padding: .5rem .75rem;
    display: block;
    background: transparent;
    text-transform: none;
    letter-spacing: normal;
}

.site-navbar .navbar-nav > .nav-item > .member-login-link:hover,
.site-navbar .navbar-nav > .nav-item > .member-login-link:focus {
    color: #111 !important;
    background: transparent;
}

.dropdown-menu .member-login-link {
    font-size: .95rem;
    font-weight: 600;
}

/* Logo */

.brand-mark {
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: .04em;
    color: #000;
}

.brand-logo-link {
    display: flex;
    align-items: center;
    gap: 0;
    padding-top: .15rem;
    padding-bottom: .15rem;
}

.brand-logo,
.navbar-brand img,
.site-logo {
    height: 68px;
    width: auto;
    max-width: 92px;
    object-fit: contain;
    background: transparent !important;
    display: block;
}

.brand-logo-text {
    display: none !important;
}

.footer-logo {
    height: 92px;
    width: auto;
    max-width: 128px;
    object-fit: contain;
    background: transparent !important;
}

/* Buttons */

.btn {
    border-radius: 9px;
    font-weight: 800;
}

.btn-primary-imdt {
    background: var(--sand);
    border-color: var(--sand);
    color: #101820;
    padding: .9rem 1.2rem;
}

.btn-primary-imdt:hover {
    background: #bca573;
    border-color: #bca573;
    color: #101820;
}

.btn-outline-imdt {
    border: 1px solid rgba(255,255,255,.75);
    color: #fff;
    padding: .9rem 1.2rem;
}

.btn-outline-imdt:hover {
    background: #fff;
    color: #111;
}

/* Shared hero system
   Fixed top position: headline block starts at the same vertical point on all pages. */

.home-hero,
.page-hero {
    position: relative;
    min-height: 720px;
    color: #fff;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
    display: block;
}

.home-hero:before,
.page-hero:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(8,15,22,.88),
        rgba(8,15,22,.55) 42%,
        rgba(8,15,22,.20)
    );
}

.home-hero .container,
.page-hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-top: 224px;
}

.eyebrow {
    display: inline-block;
    color: var(--sand);
    font-weight: 900;
    letter-spacing: .18em;
    text-transform: uppercase;
    font-size: .78rem;
    line-height: 1.2;
    margin: 0 0 1rem 0;
}

.home-hero h1,
.page-hero h1 {
    font-size: clamp(2.35rem, 4.2vw, 4.4rem);
    line-height: .98;
    max-width: 850px;
    font-weight: 900;
    letter-spacing: -.055em;
    margin: 0;
}

.home-hero p,
.page-hero p {
    max-width: 620px;
    font-size: 1.25rem;
    line-height: 1.6;
    margin: 1.5rem 0 0;
}

@media (max-width: 991px) {
    .home-hero,
    .page-hero {
        min-height: 620px;
    }

    .home-hero .container,
    .page-hero .container {
        padding-top: 184px;
    }

    .home-hero h1,
    .page-hero h1 {
        font-size: 3.3rem;
    }
}

@media (max-width: 575px) {
    .home-hero,
    .page-hero {
        min-height: 560px;
    }

    .home-hero .container,
    .page-hero .container {
        padding-top: 132px;
    }

    .home-hero h1,
    .page-hero h1 {
        font-size: 2.65rem;
    }

    .home-hero p,
    .page-hero p {
        font-size: 1.05rem;
        line-height: 1.6;
    }
}
/* Sections */

.section {
    padding: 84px 0;
}

.section-light {
    background: var(--offwhite);
}

.section-title {
    text-align: center;
    max-width: 860px;
    margin: 0 auto 3rem;
}

.section-title .eyebrow {
    margin-bottom: 1rem;
}

.section-title h2 {
    font-weight: 900;
    letter-spacing: -.03em;
    font-size: clamp(2rem, 3vw, 3.1rem);
    line-height: 1.08;
    margin-top: 0;
}

.section-title p {
    font-size: 1.08rem;
    color: #5d6873;
}

.section-title > :last-child,
.content-grid-card > :last-child,
.cert-panel > :last-child,
.path-step > :last-child,
.visual-card-content > :last-child {
    margin-bottom: 0;
}

.row.g-4,
.row.g-5 {
    align-items: stretch;
}

/* Trust strip */

.trust-strip {
    background: #fff;
    border-bottom: 1px solid rgba(0,0,0,.08);
}

.trust-item {
    padding: 2.2rem 1rem;
    text-align: center;
}

.trust-icon {
    width: 54px;
    height: 54px;
    margin: 0 auto 1rem;
    border: 2px solid var(--sand);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    color: var(--sand);
}

.trust-item h3 {
    font-size: .9rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: .55rem;
}

.trust-item p {
    color: #55606a;
    margin: 0;
    font-size: .95rem;
}

/* Cards */

.content-grid-card {
    border-radius: 18px;
    padding: 2rem;
    border: 1px solid rgba(0,0,0,.08);
    background: #fff;
    height: 100%;
    min-height: 100%;
    box-shadow: 0 12px 30px rgba(0,0,0,.06);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.content-grid-card h2 {
    font-weight: 900;
    letter-spacing: -.025em;
    margin-bottom: 1rem;
}

.content-grid-card h3 {
    font-weight: 900;
}

.content-grid-card p + p {
    margin-top: .8rem;
}

.content-grid-card .link-arrow {
    display: inline-block;
    margin-top: .7rem;
    text-decoration: none;
}

/* Visual cards */

.visual-card {
    position: relative;
    display: block;
    height: 100%;
    min-height: 390px;
    border-radius: 18px;
    overflow: hidden;
    color: #fff;
    text-decoration: none;
    background: #111;
    box-shadow: 0 18px 50px rgba(0,0,0,.16);
}

.visual-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.visual-card:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,rgba(0,0,0,.08),rgba(0,0,0,.78));
}

.visual-card:hover img {
    transform: scale(1.045);
}

.visual-card-content {
    position: absolute;
    z-index: 2;
    left: 1.5rem;
    right: 1.5rem;
    bottom: 1.5rem;
    min-height: 155px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.visual-card h3 {
    font-weight: 900;
    font-size: 1.35rem;
    margin-bottom: .65rem;
}

.visual-card p {
    color: #f0f0f0;
    margin-bottom: .8rem;
}

.link-arrow {
    color: var(--sand);
    font-weight: 900;
}

/* Home visual cards */

.home-card-visual {
    overflow: hidden;
    padding: 0;
}

.home-card-visual .home-card-image {
    display: block;
    width: 100%;
    height: 190px;
    object-fit: cover;
    object-position: center;
    border-radius: 18px 18px 0 0;
    filter: saturate(.82) contrast(.96);
}

.home-card-visual h3,
.home-card-visual p {
    padding-left: 2rem;
    padding-right: 2rem;
}

.home-card-visual h3 {
    padding-top: 1.35rem;
}

.home-card-visual p {
    padding-bottom: 2rem;
}

/* CTA */

.cta-visual {
    position: relative;
    min-height: 390px;
    color: #fff;
    background-size: cover;
    background-position: center;
    border-radius: 22px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.cta-visual:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,rgba(8,15,22,.88),rgba(8,15,22,.28));
}

.cta-visual .content {
    position: relative;
    z-index: 2;
    padding: 3rem;
    max-width: 700px;
}

.cta-visual h2 {
    font-size: clamp(2rem,4vw,3.8rem);
    font-weight: 900;
    letter-spacing: -.04em;
}

/* Certification / pathway */

.cert-panel {
    background: #fff;
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
    min-height: 100%;
    box-shadow: 0 12px 36px rgba(0,0,0,.08);
    border: 1px solid rgba(0,0,0,.06);
    display: flex;
    flex-direction: column;
}

.cert-panel h3 {
    font-weight: 900;
}

.cert-badge {
    width: 110px;
    height: 110px;
    border: 3px solid var(--sand);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: .85rem;
    font-weight: 900;
    color: var(--graphite);
    margin-bottom: 1.2rem;
}

.pathway {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}

.path-step {
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 18px;
    padding: 1.6rem;
    box-shadow: 0 12px 30px rgba(0,0,0,.06);
    height: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.path-step span {
    display: inline-flex;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background: var(--graphite);
    color: var(--sand);
    font-weight: 900;
    margin-bottom: 1rem;
}

.path-step h3 {
    font-size: 1.05rem;
    font-weight: 900;
}

.path-step p {
    color: #5d6873;
    margin-bottom: 0;
}

/* Images */

.section-image,
.content-image,
figure img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    height: auto;
    max-height: none;
    object-fit: cover;
    object-position: center center;
    border-radius: 22px;
    box-shadow: 0 18px 48px rgba(0,0,0,.18);
}

/* FAQ */

.faq-item {
    border-bottom: 1px solid rgba(0,0,0,.1);
    padding: 1.25rem 0;
}

.faq-item h3 {
    font-size: 1.1rem;
    font-weight: 900;
}

/* Contact */

.contact-topic-list {
    padding-left: 1.15rem;
    margin-bottom: 0;
    color: #4e5a65;
}

.contact-topic-list li + li {
    margin-top: .65rem;
}

.contact-form-card .form-label {
    font-weight: 800;
    color: #26313a;
}

.contact-form-card .form-control,
.contact-form-card .form-select {
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,.16);
    padding: .82rem .9rem;
}

.contact-form-card textarea.form-control {
    resize: vertical;
}

.contact-privacy-note {
    color: #6a747d;
    font-size: .9rem;
    margin: .85rem 0 0;
}

.imdt-hp-field {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

/* Language notice */

.language-notice {
    background: #101820;
    color: #fff;
    font-size: .92rem;
    border-bottom: 1px solid rgba(255,255,255,.18);
}

.language-notice-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .65rem 1rem;
}

.language-notice-close {
    appearance: none;
    border: 1px solid rgba(255,255,255,.45);
    background: transparent;
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    line-height: 1;
    font-size: 1.15rem;
}

.language-notice-close:hover,
.language-notice-close:focus {
    background: rgba(255,255,255,.12);
}

/* Footer */

.site-footer {
    color: #fff;
    background: var(--graphite);
}

.footer-visual {
    background-size: cover;
    background-position: center;
}

.footer-overlay {
    background: linear-gradient(90deg,rgba(8,15,22,.94),rgba(8,15,22,.75));
    padding: 4rem 0 1.3rem;
}

.footer-brand {
    font-weight: 900;
    letter-spacing: .05em;
}

.site-footer h3 {
    font-size: .9rem;
    text-transform: uppercase;
    color: var(--sand);
    font-weight: 900;
}

.site-footer a {
    display: block;
    color: #e5e9ed;
    text-decoration: none;
    margin: .45rem 0;
}

.site-footer a:hover {
    color: var(--sand);
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255,255,255,.16);
    color: #cfd5da;
    font-size: .9rem;
    display: flex;
    flex-wrap: wrap;
    gap: .75rem 1.5rem;
    align-items: center;
    justify-content: space-between;
}

.footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem 1rem;
    align-items: center;
}

.site-footer .footer-legal-links a {
    display: inline-block;
    margin: 0;
}

/* Optional concept image utilities */

.home-visual-subline {
    padding: 42px 0 0;
    background: #f5f1ea;
}

.home-visual-frame {
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 24px 70px rgba(9,15,20,.16);
    background: #101820;
}

.home-visual-frame img {
    display: block;
    width: 100%;
    height: clamp(280px, 38vw, 520px);
    object-fit: cover;
    object-position: center;
}

.home-concept-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr;
    gap: 1rem;
    margin-top: 2.25rem;
}

.home-concept-grid img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 18px 50px rgba(9,15,20,.12);
}

/* Responsive */

@media (max-width: 1199px) {
    .pathway {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .site-navbar .navbar-nav {
        align-items: stretch;
    }

    .home-hero,
    .page-hero {
        min-height: 620px;
    }

    .home-hero h1,
    .page-hero h1 {
        font-size: 3.3rem;
    }

    .section {
        padding: 64px 0;
    }

    .visual-card {
        min-height: 340px;
    }

    .home-concept-grid {
        grid-template-columns: 1fr;
    }

    .home-concept-grid img {
        height: 260px;
    }
}

@media (max-width: 768px) {
    .brand-logo,
    .navbar-brand img,
    .site-logo {
        height: 56px;
        max-width: 78px;
    }

    .footer-logo {
        height: 74px;
        max-width: 104px;
    }
}

@media (max-width: 767px) {
    .pathway {
        grid-template-columns: 1fr;
    }

    .trust-item {
        border-bottom: 1px solid rgba(0,0,0,.06);
    }

    .visual-card {
        min-height: 320px;
    }

    .visual-card-content {
        min-height: 135px;
    }

    .language-notice-inner {
        align-items: flex-start;
    }

    .footer-bottom {
        display: block;
    }

    .footer-legal-links {
        margin-top: .85rem;
    }
}

@media (max-width: 575px) {
    .home-hero,
    .page-hero {
        min-height: 560px;
    }

    .home-hero h1,
    .page-hero h1 {
        font-size: 2.65rem;
    }

    .home-hero p,
    .page-hero p {
        font-size: 1.05rem;
        line-height: 1.6;
    }

    .cta-visual .content {
        padding: 2rem;
    }

    .home-card-visual .home-card-image {
        height: 210px;
    }
}
