﻿/* ==========================================================================
   Home page
   ========================================================================== */

:root {
    --hp-ink: #111827;
    --hp-ink-2: #374151;
    --hp-muted: #6b7280;
    --hp-line: #e5e7eb;
    --hp-surface: #ffffff;
    --hp-bg: #fafafa;
    --hp-tint: #f2f6fa;
    --hp-brand: #0073e6;
    --hp-brand-dark: #005bb8;
    --hp-brand-soft: #e7f1fc;
    --hp-navy: #0b3954;
    --hp-teal: #006699;
    --hp-red: #e3262f;
    --hp-sky: #2fb6e9;
    --hp-yellow: #f5cf1d;
    --hp-green: #12a14b;
    --hp-radius: 16px;
    --hp-radius-sm: 10px;
    --hp-shadow-sm: 0 1px 2px rgba(17, 24, 39, .05), 0 1px 3px rgba(17, 24, 39, .07);
    --hp-shadow-md: 0 12px 32px rgba(17, 24, 39, .10);
    --hp-shadow-lg: 0 24px 60px rgba(11, 57, 84, .18);
    --hp-font: Poppins, system-ui, sans-serif;
}



body, html { background: var(--hp-bg) !important; }
#sitecontainer { margin-top: 0 !important; overflow: visible; max-width: 1050px; }
#theheaderrestraint { max-width: 1050px; }
#DivFooterContact {display:none; }
.RootPageContent, .SiteContainer, .widthRestraintPage { margin-top: 0; padding-top: 0; }
.footer { margin-top: 0; }
.threelistgroup { margin: 0; }
.MiniHeader .MIcon div { background-color: #006699 !important; }
headeritems .defaultButton:hover { border: 1px #cde3f8 solid !important; }
.AFALayout { display: none; visibility: hidden; }
.aReviewsHolder { max-height: 460px; }
@media (max-width: 1300px) { .RootBodyHolder { padding: 0; box-sizing: border-box; } }
@media (max-width: 350px)  { #BodyHolder { background: none; background-color: #f8f8f8; } }

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

.hp { font-family: var(--hp-font); color: var(--hp-ink-2); }
.hp *, .hp *::before, .hp *::after { box-sizing: border-box; }
.hp h1, .hp h2, .hp h3 {
    font-family: var(--hp-font); color: var(--hp-ink);
    margin: 0; padding: 0; border: 0; background: none; text-shadow: none;
}
.hp p { margin: 0; }
.hp ul { list-style: none; margin: 0; padding: 0; }
.hp li { float: none; background: none; margin: 0; padding: 0; }

.hp-wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 500px) { .hp-wrap { padding: 0 16px; } }

/* Full-bleed background without changing the layout's containers */
.hp-band { position: relative; }
.hp-band--tint {
    background: var(--hp-tint);
    box-shadow: 0 0 0 100vmax var(--hp-tint);
    clip-path: inset(0 -100vmax);
}

.hp-section { padding: 88px 0; }
@media (max-width: 700px) { .hp-section { padding: 56px 0; } }

.hp-section__head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.hp-section__lead { margin-top: 20px !important; font-size: 1.02em;  text-align:center; line-height: 1.7; color: var(--hp-muted); }
.hp-section__lead em { font-style: italic; color: var(--hp-ink); }

.hp-h2 {
    font-size: clamp(1.6rem, 1.15rem + 1.6vw, 2.35rem);
    font-weight: 600; line-height: 1.2; letter-spacing: -.02em;
}
.hp-h2--left { text-align: left; }

.hp-eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: .8em; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
    color: var(--hp-teal);
}
.hp-eyebrow::before {
    content: ""; width: 44px; height: 4px; border-radius: 2px; flex-shrink: 0;
    background: linear-gradient(90deg, var(--hp-red) 0 25%, var(--hp-sky) 25% 50%, var(--hp-yellow) 50% 75%, var(--hp-green) 75% 100%);
}

.hp-center { text-align: center; margin-top: 40px; }

/* --------------------------------------------------------------------------
   Buttons & links
   -------------------------------------------------------------------------- */

.hp-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 24px; border-radius: 10px; border: 1px solid transparent;
    font-family: var(--hp-font); font-size: .92em; font-weight: 600; line-height: 1.2;
    text-decoration: none; cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
a.hp-btn--primary, a.hp-btn--primary:link, a.hp-btn--primary:visited {
    background: var(--hp-brand); color: #fff; box-shadow: 0 4px 14px rgba(0, 115, 230, .28);
}
a.hp-btn--primary:hover { background: var(--hp-brand-dark); color: #fff; }
a.hp-btn--secondary, a.hp-btn--secondary:link, a.hp-btn--secondary:visited {
    background: #fff; color: var(--hp-brand); border-color: #bcd8f5;
}
a.hp-btn--secondary:hover { background: var(--hp-brand-soft); border-color: var(--hp-brand); }
a.hp-btn--light, a.hp-btn--light:link, a.hp-btn--light:visited { background: #fff; color: var(--hp-navy); }
a.hp-btn--light:hover { background: var(--hp-brand-soft); color: var(--hp-navy); }

a.hp-textlink, a.hp-textlink:link, a.hp-textlink:visited {
    display: inline-flex; align-items: center; gap: 6px; line-height:1.2em;
    font-weight: 600; font-size: .9em; color: var(--hp-brand); text-decoration: none;
}
.hp-btn--primary + a.hp-textlink{margin-top:10px;}
a.hp-textlink::after { content: "\2192"; transition: transform .2s ease; }
a.hp-textlink:hover::after { transform: translateX(3px); }

.hp a:focus-visible { outline: 3px solid rgba(0, 115, 230, .4); outline-offset: 3px; border-radius: 6px; }

/* --------------------------------------------------------------------------
   Sprite photos (from the existing homepage sprite)
   -------------------------------------------------------------------------- */

.hp-photo {
    display: block; width: 200px; height: 300px;
    background: url(/lib/aesthetics-pics/homePage/sprite1b.jpg) no-repeat transparent;
    border-radius: 100px 100px 18px 18px;
    box-shadow: var(--hp-shadow-md);
}
.hp-photo--a { background-position: -10px 0; }
.hp-photo--b { background-position: -860px -2px; }
.hp-photo--c { background-position: -427px 0; }
.hp-photo--d { background-position: -631px -2px; }

.hp-duo { display: flex; gap: 20px; justify-content: center; }
.hp-duo .hp-photo:nth-child(2) { margin-top: 60px; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hp-hero {
    padding: 62px 0 88px;
    background:
            radial-gradient(1200px 500px at 85% -10%, #e3effb 0%, transparent 60%),
            radial-gradient(800px 400px at -10% 110%, #eef8f2 0%, transparent 60%),
            var(--hp-bg);
    box-shadow: 0 0 0 100vmax var(--hp-bg);
    clip-path: inset(0 -100vmax);
}

.hp-hero__grid {
    display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: 64px; align-items: center;
}

.hp-hero__title {
    margin-top: 18px !important;
    font-size: clamp(2rem, 1.3rem + 2.8vw, 3.2rem);
    font-weight: 700; line-height: 1.08; letter-spacing: -.03em;
}
.hp-hero__lead { margin-top: 20px !important; max-width: 560px; font-size: 1.08em; line-height: 1.7; color: var(--hp-ink-2); }

.hp-hero__media { position: relative; display: flex; justify-content: center; }
.hp-hero__img {
    display: block; width: 100%; max-width: 520px; aspect-ratio: 7 / 8; height: auto;
    object-fit: cover;
    object-position: 65% center;
    border-radius: 28px; box-shadow: var(--hp-shadow-lg);
}

.hp-hero__badge {
    position: absolute; left: -8px; bottom: 32px;
    display: flex; align-items: center; gap: 12px;
    padding: 14px 18px; border-radius: 14px;
    background: #fff; box-shadow: var(--hp-shadow-md);
    text-decoration: none; color: var(--hp-ink);
    transition: transform .2s ease;
}
.hp-hero__badge:hover { transform: translateY(-2px); color: var(--hp-ink); }
.hp-hero__badge-num { font-size: 1.5em; font-weight: 700; color: var(--hp-brand); line-height: 1; }
.hp-hero__badge-text { font-size: .82em; line-height: 1.3; max-width: 120px; color: var(--hp-ink-2); }

.hp-stats {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px;
    margin: 36px 0 0; padding: 24px 0 0; border-top: 1px solid var(--hp-line);
}
.hp-stat dt { font-size: 1.25em; font-weight: 700; color: var(--hp-ink); line-height: 1.2; }
.hp-stat dd { margin: 4px 0 0; font-size: .8em; line-height: 1.4; color: var(--hp-muted); }

@media (max-width: 1000px) {
    .hp-hero { padding: 48px 0 64px; }
    .hp-hero__grid { grid-template-columns: 1fr; gap: 48px; }
    .hp-hero__media { order: -1; }
    .hp-hero__img { max-width: 100%; aspect-ratio: 16 / 9; border-radius: 20px; }
    .hp-hero__badge { left: 16px; bottom: 16px; }
    .hp-hero .hp-duo { display: none; }
    .hp-hero__media:has(.hp-duo) { order: 0; justify-content: flex-start; min-height: 0; }
    .hp-hero__media:has(.hp-duo) .hp-hero__badge { position: static; }
}
@media all and (max-width:999px)
{
    .hp-hero__media{display:none !important;}
}
@media (max-width: 600px) {
    .hp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}



.hp-search {
    margin-top: 32px; max-width: 580px; padding: 18px 20px 20px;
    background: #fff; border: 1px solid var(--hp-line); border-radius: var(--hp-radius);
    box-shadow: var(--hp-shadow-md);
}
.hp-search__label { display: block; margin: 0 0 10px 2px; font-size: .85em; font-weight: 600; color: var(--hp-ink); }

.hp-search .searchBoxHolder { width: 100%; max-width: none; margin: 0; padding: 0; background: transparent; border-radius: 8px; }
.hp-search .txtSiteSearch {
    width: 100%; display: inline-block; margin: 0; padding: 20px 15px;
    background: var(--hp-bg); border: 1px solid var(--hp-line) !important; border-radius: 8px; box-shadow: none;
}
.hp-search .txtSiteSearch:focus { background: #fff; border-color: var(--hp-brand) !important; outline: none; }
.hp-search .clearSearch { top: 17px !important; right: 35px; }
.hp-search .btnActivateSearch {
    top: 0 !important; height: 42px; width: 10px;
    font-size: .8em; padding-right: 30px; padding-left: 35px;
    border-radius: 0 8px 8px 0;
}
.hp-search .btnActivateSearch:before { top: 5px; left: 20px; }
.hp-search .LiveSearchResults { width: 100%; margin-left: 0; border-radius: 8px; }

@media (max-width: 600px) {
    .hp-search { padding: 14px; }
}

/* --------------------------------------------------------------------------
   Client logos (auto-scrolling strip)
   -------------------------------------------------------------------------- */

.hp-logos { padding: 48px 0 40px; border-top: 1px solid var(--hp-line); border-bottom: 1px solid var(--hp-line); background: #fff;
    box-shadow: 0 0 0 100vmax #fff; clip-path: inset(0 -100vmax); }
.hp-logos__title {
    font-size: .78em !important; font-weight: 600 !important; letter-spacing: .1em; text-transform: uppercase;
    color: var(--hp-muted) !important; text-align: center; margin-bottom: 24px !important;
}
.hp-logos__viewport {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.hp-logos__track { display: flex; width: max-content; animation: hp-marquee 40s linear infinite; }
.hp-logos__viewport:hover .hp-logos__track { animation-play-state: paused; }
.hp-logos__set { display: flex; align-items: center; gap: 56px; padding-right: 56px; }

@keyframes hp-marquee { to { transform: translateX(-50%); } }

.hp-logo {
    display: block; height: 55px;
    background: url(/lib/aesthetics-graphics/logos/ClientLogos/LogoList.svg) no-repeat -2px 2px transparent;
    background-size: cover;
    filter: grayscale(100%); opacity: .6; transition: filter .2s ease, opacity .2s ease;
}
.hp-logo:hover { filter: none; opacity: 1; }

.hp-logo--cmr       { width: 80px;  background-position: -270px 0; }
.hp-logo--egger     { width: 100px; background-position: -790px -4px; }
.hp-logo--durham    { width: 80px;  background-position: -185px -3px; }
.hp-logo--nissan    { width: 80px;  background-position: -2px -3px; }
.hp-logo--lyha      { width: 100px; background-position: -84px -2px; }
.hp-logo--spincraft { width: 90px;  background-position: -459px 2px; }
.hp-logo--encore    { width: 90px;  background-position: -580px -2px; }
.hp-logo--ryder     { width: 80px;  background-position: -680px 0; }
.hp-logo--tt        { width: 100px; background-position: -352px -2px; }
.hp-logo--zumtobel  { width: 120px; background-position: -900px -2px; }

.hp-logos__more { text-align: center; margin-top: 20px; }

@media (prefers-reduced-motion: reduce) {
    .hp-logos__track { animation: none; }
    .hp-logos__viewport { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
    .hp-logos__set[aria-hidden="true"] { display: none; }
}

/* --------------------------------------------------------------------------
   Categories
   -------------------------------------------------------------------------- */

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

.hp-cat {
    --hp-accent: var(--hp-brand);
    position: relative; display: flex; flex-direction: column;
    min-height: 200px; padding: 28px 28px 24px;
    background: #fff; border: 1px solid var(--hp-line); border-radius: var(--hp-radius);
    box-shadow: var(--hp-shadow-sm);
    text-decoration: none; color: var(--hp-ink-2); overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.hp-cat::before {
    content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 4px; background: var(--hp-accent);
}
.hp-cat:nth-child(2) { --hp-accent: var(--hp-sky); }
.hp-cat:nth-child(3) { --hp-accent: var(--hp-yellow); }
.hp-cat:nth-child(4) { --hp-accent: var(--hp-green); }
.hp-cat:nth-child(5) { --hp-accent: var(--hp-red); }
.hp-cat:nth-child(6) { --hp-accent: var(--hp-sky); }

.hp-cat:hover { transform: translateY(-4px); box-shadow: var(--hp-shadow-md); border-color: #d6e4f2; color: var(--hp-ink-2); }

.hp .hp-cat__title { font-size: 1.12em; font-weight: 600; line-height: 1.3; }
.hp-cat__text { margin-top: 10px; flex-grow: 1; font-size: .9em; line-height: 1.6; color: var(--hp-muted); }
.hp-cat__cta { margin-top: 24px; display: inline-flex; align-items: center; gap: 6px; font-size: .88em; font-weight: 600; color: var(--hp-brand); }
.hp-cat__cta::after { content: "\2192"; transition: transform .2s ease; }
.hp-cat:hover .hp-cat__cta::after { transform: translateX(4px); }

.hp-cat--featured {
    background: linear-gradient(140deg, var(--hp-navy) 0%, #0f5d86 100%);
    border-color: transparent; color: #d7e7f3;
}
.hp-cat--featured::before { background: linear-gradient(90deg, var(--hp-red) 0 25%, var(--hp-sky) 25% 50%, var(--hp-yellow) 50% 75%, var(--hp-green) 75% 100%); }
.hp .hp-cat--featured .hp-cat__title { color: #fff; font-size: 1.3em; }
.hp-cat--featured .hp-cat__text { color: #c4dbeb; }
.hp-cat--featured .hp-cat__cta { color: #fff; }
.hp-cat--featured:hover { color: #d7e7f3; border-color: transparent; }

@media (max-width: 900px) { .hp-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .hp-cats { grid-template-columns: 1fr; } .hp-cat { min-height: 0; } }

/* --------------------------------------------------------------------------
   Features (why us) — icon sprite positions from the existing SVG
   -------------------------------------------------------------------------- */

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

.hp-feature {
    padding: 28px 24px !important; background: #fff !important;
    border: 1px solid var(--hp-line); border-radius: var(--hp-radius);
    transition: box-shadow .2s ease;
}
.hp-feature:hover { box-shadow: var(--hp-shadow-md); }
.hp .hp-feature__title { margin-top: 16px; font-size: 1em; font-weight: 600; }
.hp-feature p { margin-top: 8px; font-size: .88em; line-height: 1.6; color: var(--hp-muted); }

.hp-icon {
    display: block; width: 70px; height: 70px;
    background: url(/lib/aesthetics-graphics/icons/TrainingDetailsIcons.svg) no-repeat 0 -5px transparent;
    background-size: cover;
}
.hp-icon--experts     { background-position: 0 -5px; }
.hp-icon--small-class { background-position: -140px 0; }
.hp-icon--flexible    { background-position: -72px 0; }
.hp-icon--virtual     { background-position: -290px 0; }
.hp-icon--classroom   { background-position: -212px 0; }
.hp-icon--materials   { background-position: -508px 12px; }
.hp-icon--lunch       { background-position: -363px 5px; }
.hp-icon--questions   { background-position: -440px 5px; }

@media (max-width: 1100px) { .hp-features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px)  { .hp-features { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Ways to train
   -------------------------------------------------------------------------- */

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

.hp-way {
    display: flex; flex-direction: column; align-items: flex-start;
    padding: 28px 24px; background: #fff;
    border: 1px solid var(--hp-line); border-radius: var(--hp-radius);
}
.hp-way p { margin: 10px 0 20px; flex-grow: 1; font-size: .9em; line-height: 1.6; color: var(--hp-muted); }
.hp-way__step { font-size: .78em; font-weight: 700; letter-spacing: .08em; color: var(--hp-teal); }
.hp .hp-way__title { margin-top: 12px; font-size: 1.1em; font-weight: 600; }

.hp-way--highlight { background: var(--hp-brand-soft); border-color: #c7defa; }
.hp-way--highlight .hp-way__step { color: var(--hp-brand); }
.hp-way--highlight p { color: var(--hp-ink-2); }

.hp-support {
    display: flex; align-items: center; justify-content: space-between; gap: 32px;
    margin-top: 20px; padding: 32px 36px; border-radius: var(--hp-radius);
    background: linear-gradient(120deg, var(--hp-navy) 0%, #0f5d86 100%); color: #d7e7f3;
}
.hp .hp-support__title { color: #fff; font-size: 1.25em; font-weight: 600; }
.hp-support p { margin-top: 8px; max-width: 760px; font-size: .92em; line-height: 1.65; }
.hp-support .hp-btn { flex-shrink: 0; }

.hp-note {
    margin: 24px auto 0 !important; max-width: 820px; padding: 16px 20px;
    border-left: 4px solid var(--hp-yellow); border-radius: 0 var(--hp-radius-sm) var(--hp-radius-sm) 0;
    background: #fffbea; font-size: .9em; line-height: 1.6; color: var(--hp-ink-2);
}
.hp-note strong { color: var(--hp-ink); }

@media (max-width: 1100px) { .hp-ways { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) {
    .hp-ways { grid-template-columns: 1fr; }
    .hp-support { flex-direction: column; align-items: flex-start; padding: 28px 24px; }
}

/* --------------------------------------------------------------------------
   Benefits
   -------------------------------------------------------------------------- */

.hp-benefits { display: grid; grid-template-columns: 420px minmax(0, 1fr); gap: 72px; align-items: center; }
.hp-duo--benefits { justify-content: flex-start; }

.hp-benefit-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin: 32px 0 36px; }
.hp .hp-benefit-group__title {
    font-size: .8em; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    color: var(--hp-teal); padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid #d6e2ec;
}

.hp-ticks { display: grid; gap: 12px; }
.hp-ticks li { position: relative; padding-left: 30px !important; font-size: .92em; line-height: 1.5; color: var(--hp-ink-2); }
.hp-ticks li::before {
    content: "\2713"; position: absolute; left: 0; top: 0;
    width: 20px; height: 20px; border-radius: 50%;
    background: #dff3e7; color: var(--hp-green);
    font-size: 11px; font-weight: 700; line-height: 20px; text-align: center;
}

@media (max-width: 1100px) {
    .hp-benefits { grid-template-columns: 1fr; gap: 40px; }
    .hp-duo--benefits { justify-content: center; }
}
@media (max-width: 760px)  { .hp-benefit-groups { grid-template-columns: 1fr; } }
@media (max-width: 480px)  { .hp-duo--benefits { display: none; } }

/* --------------------------------------------------------------------------
   Reviews
   -------------------------------------------------------------------------- */

.hp-reviews .hpStart { margin: 0; }
.hp-reviews__more { margin-top: 20px !important; }

/* --------------------------------------------------------------------------
   Popular subjects / courses
   -------------------------------------------------------------------------- */

.hp-popular { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }

.hp-panel { padding: 32px; background: #fff; border: 1px solid var(--hp-line); border-radius: var(--hp-radius); }
.hp .hp-panel__title { font-size: 1.25em; font-weight: 600; margin-bottom: 16px; }

.hp-linklist li + li { border-top: 1px solid var(--hp-line); }
.hp-linklist a {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 14px 4px; font-size: .95em; font-weight: 500; color: var(--hp-ink); text-decoration: none;
    transition: color .15s ease, padding .15s ease;
}
.hp-linklist a::after { content: "\2192"; color: var(--hp-brand); flex-shrink: 0; transition: transform .2s ease; }
.hp-linklist a:hover { color: var(--hp-brand-dark); padding-left: 8px; }
.hp-linklist a:hover::after { transform: translateX(3px); }

@media (max-width: 800px) { .hp-popular { grid-template-columns: 1fr; } .hp-panel { padding: 24px; } }

/* --------------------------------------------------------------------------
   Motion
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
    .hp-cat, .hp-btn, .hp-hero__badge, .hp-linklist a, .hp-logo { transition: none; }
    .hp-cat:hover, .hp-hero__badge:hover { transform: none; }
}

reviewscontainer{border-top:none; border-bottom:none; margin-top:0px;padding-top:0px; padding-bottom:0px;}