@charset "utf-8";
/* ==========================================================================
   Yuniq HR & Learning Solutions — standalone stylesheet
   Modern flexbox/grid layout. No dependency on the legacy grax_tm_* /
   float-based system. Visual identity (colors, fonts, spacing rhythm,
   card style) intentionally matches the main site.
   ========================================================================== */

:root {
    --color-primary: #e54b4b;
    /* red accent — headings, links, buttons */
    --color-accent: #fa5b0f;
    /* orange accent — card border/icons */
    --color-text: #767676;
    --color-text-dark: #000;
    --color-bg: #fff;
    --color-bg-alt: #f9f9f9;
    --color-bg-dark: #000;
    --color-border: #e9ecef;

    --font-heading: "Poppins", sans-serif;
    --font-body: "Mulish", sans-serif;

    --container-max: 1200px;
    --radius: 8px;
    --transition: all .3s ease;
}

* {
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.8;
    letter-spacing: .3px;
    color: var(--color-text);
    background-color: var(--color-bg);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-text-dark);
    margin: 0 0 .6em 0;
}

p {
    margin: 0 0 1em 0;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 40px;
}

.section {
    width: 100%;
    padding: 110px 0;
}

.section--alt {
    background-color: var(--color-bg-alt);
}

.section--dark {
    background-color: var(--color-bg-dark);
    color: #ddd;
}

.section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 70px auto;
}

.eyebrow {
    display: block;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 6px;
    font-size: 14px;
    color: var(--color-primary);
    margin-bottom: 16px;
}

.section-title {
    font-size: 34px;
    margin-bottom: 16px;
}

.section-lede {
    color: var(--color-text);
    font-size: 16px;
}

.section--dark .section-lede {
    color: #bbb;
}

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 500;
    padding: 14px 38px;
    border-radius: 6px;
    border: 2px solid var(--color-primary);
    background-color: var(--color-primary);
    color: #fff;
    transition: var(--transition);
    cursor: pointer;
}

.btn:hover {
    background-color: transparent;
    color: var(--color-primary);
}

.btn--outline {
    background-color: transparent;
    color: #fff;
    border-color: #fff;
}

.btn--outline:hover {
    background-color: #fff;
    color: var(--color-bg-dark);
}

/* ---------- Header / Nav ---------- */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 26px 0;
    transition: var(--transition);
}

.site-header.is-scrolled {
    background-color: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
    padding: 18px 0;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.nav-logo img {
    max-width: 100px;
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 14px;
    color: #fff;
    transition: var(--transition);
}

.site-header.is-scrolled .nav-links a {
    color: #000;
}

.nav-links a:hover,
.nav-links a.is-current {
    color: var(--color-primary);
}

/* ---------- Dropdown nav (Services → HR / IT → IT sub-services) ---------- */

.nav-links>li {
    position: relative;
}

.nav-links>li.has-dropdown>a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.caret {
    font-size: 10px;
    line-height: 1;
    transition: transform .25s ease;
}

.has-dropdown:hover>a>.caret {
    transform: rotate(180deg);
}

.has-dropdown--right:hover>a>.caret--right {
    transform: translateX(2px);
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 300px;
    list-style: none;
    margin: 16px 0 0 0;
    padding: 10px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, .14);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
    z-index: 300;
}

.has-dropdown:hover>.dropdown,
.has-dropdown:focus-within>.dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li {
    position: relative;
}

.dropdown li a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--color-text-dark);
    transition: var(--transition);
}

.dropdown li a:hover {
    background-color: var(--color-bg-alt);
}

.dd-icon {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    color: var(--color-accent);
}

.dd-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.dd-text strong {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-dark);
}

.dd-text small {
    font-size: 12px;
    color: var(--color-text);
}

.dropdown li a .caret--right {
    margin-left: auto;
    color: var(--color-text);
}

/* second-level flyout — opens to the right of the first dropdown */
.dropdown--flyout {
    top: 0;
    left: 100%;
    margin: 0 0 0 12px;
    min-width: 260px;
}

.dropdown--flyout .dd-icon {
    width: 18px;
    height: 18px;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background-color: #fff;
    margin: 5px 0;
    transition: var(--transition);
}

.site-header.is-scrolled .nav-toggle span {
    background-color: #000;
}

/* ---------- Hero ---------- */
.bg {
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
}

.bg_hero_section {

    min-height: 100vh;
    display: flex;
    align-items: center;
    background-image: linear-gradient(rgba(0, 0, 0, .45), rgba(0, 0, 0, .45)), url("img/slider/hr.jpg");
    background-size: cover;
    background-position: center;
    filter: brightness(0.6);
    width: 100%;
    height: 100%;
    z-index: 2;

}

.my_shape {
    position: absolute;
    width: 100%;
    left: 0px;
    bottom: -11px;
    z-index: 5;
}


.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-inner {
    /* max-width: 720px; */
}

.hero-title {
    color: #fff;
    font-size: 54px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-lede {
    color: #eee;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.7;
    margin-bottom: 36px;
    /* max-width: 600px; */
}

/* ---------- About ---------- */

.about {
    display: flex;
    align-items: center;
    gap: 70px;
}

.about-media {
    flex: 0 0 40%;
}

.about-media img {
    border-radius: var(--radius);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .15);
}

.about-body {
    flex: 1;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 30px;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.value-item .dot {
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-accent);
    margin-top: 8px;
}

.value-item strong {
    color: var(--color-text-dark);
    font-family: var(--font-heading);
    font-weight: 600;
}

/* ---------- Card grid (services / quality) ---------- */

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    background-color: #fff;
    border-bottom: 3px solid var(--color-accent);
    border-radius: var(--radius);
    box-shadow: 0 2px 10px rgba(0, 0, 0, .06);
    padding: 40px 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 30px rgba(0, 0, 0, .1);
}

.card-icon {
    width: 52px;
    height: 52px;
    color: var(--color-accent);
    margin-bottom: 22px;
}

.card-title {
    font-size: 19px;
    margin-bottom: 14px;
}

.card-text {
    color: var(--color-text);
    font-size: 14.5px;
}

/* ---------- Process / partnership steps ---------- */

.process {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    counter-reset: step;
}

.process-step {
    position: relative;
    padding: 34px 24px;
    background-color: #fff;
    border-radius: var(--radius);
    box-shadow: 0 2px 10px rgba(0, 0, 0, .06);
}

.process-step .step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 600;
    margin-bottom: 18px;
}

.process-step h4 {
    font-size: 16px;
    margin-bottom: 8px;
}

.process-step p {
    font-size: 14px;
    color: var(--color-text);
    margin-bottom: 0;
}

/* ---------- CTA band ---------- */

.cta-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
    padding: 70px 0;
}

.cta-band h3 {
    color: #fff;
    font-size: 26px;
    margin: 0;
}

/* ---------- Contact ---------- */

.contact-grid {
    display: flex;
    gap: 60px;
}

.contact-info {
    flex: 1;
}

.contact-list {
    list-style: none;
    margin: 24px 0 0 0;
    padding: 0;
}

.contact-list li {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
    font-size: 14.5px;
}

.contact-list li strong {
    color: var(--color-text-dark);
    font-family: var(--font-heading);
    min-width: 90px;
    display: inline-block;
}

.contact-list li a {
    text-decoration: none;
    color: var(--color-text);
    transition: var(--transition);
}

.contact-list li a:hover {
    color: var(--color-primary);
}

.contact_form {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.contact_form input,
.contact_form textarea {
    width: 100%;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    padding: 14px 16px;
    font-family: var(--font-body);
    font-size: 14px;
    background-color: #fff;
}

.contact_form input:focus,
.contact_form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

.contact_form textarea {
    min-height: 130px;
    resize: none;
}

/* ---------- Footer ---------- */

.site-footer {
    background-color: var(--color-bg-dark);
    padding: 60px 0;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-inner img {
    max-width: 90px;
}

.footer-copy {
    color: #fff;
    font-family: var(--font-heading);
    font-size: 13px;
    text-transform: uppercase;
    display: flex;
    gap: 6px;
}

.footer-copy a {
    color: var(--color-primary);
    text-decoration: none;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1040px) {
    .container {
        padding: 0 24px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background-color: #fff;
        box-shadow: 0 20px 30px rgba(0, 0, 0, .12);
        padding: 12px 24px;
        max-height: 80vh;
        overflow-y: auto;
    }

    .nav-links.is-open {
        display: flex;
    }

    .nav-links>li {
        width: 100%;
        border-bottom: 1px solid var(--color-border);
    }

    .nav-links>li:last-child {
        border-bottom: none;
    }

    .nav-links a {
        color: #000 !important;
        padding: 14px 0;
        width: 100%;
    }

    .nav-links>li.has-dropdown>a {
        justify-content: space-between;
        width: 100%;
    }

    /* dropdowns become static, collapsible panels instead of hover flyouts */
    .dropdown,
    .dropdown--flyout {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background-color: transparent;
        margin: 0;
        padding: 0;
        min-width: 0;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height .3s ease;
    }

    .has-dropdown.is-open>.dropdown {
        max-height: 900px;
        padding: 6px 0 10px 8px;
    }

    .dropdown li a {
        padding: 10px 8px;
    }

    .dd-text small {
        display: none;
        /* keep mobile rows compact — title is enough once nested */
    }

    .caret,
    .caret--right {
        transition: transform .25s ease;
    }

    .has-dropdown.is-open>a>.caret {
        transform: rotate(180deg);
    }

    .nav-toggle {
        display: block;
    }

    .nav-toggle.is-active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-toggle.is-active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.is-active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .about {
        flex-direction: column;
    }

    .about-media {
        flex: none;
        width: 100%;
    }

    .process {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        flex-direction: column;
        gap: 40px;
    }
}

@media (min-width: 1041px) and (max-width: 1220px) {

    /* not enough room to open the IT-services flyout to the right without
	   clipping the viewport edge — stack it below its parent row instead */
    .dropdown--flyout {
        position: static;
        left: auto;
        top: auto;
        box-shadow: none;
        background-color: var(--color-bg-alt);
        border-radius: 8px;
        margin: 6px 0 6px 12px;
        min-width: 0;
        width: calc(100% - 12px);
        max-height: 0;
        overflow: hidden;
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: max-height .25s ease;
    }

    .has-dropdown--right:hover>.dropdown--flyout,
    .has-dropdown--right:focus-within>.dropdown--flyout {
        max-height: 500px;
    }
}

@media (max-width: 640px) {
    .section {
        padding: 70px 0;
    }

    .hero-title {
        font-size: 34px;
    }

    .hero-lede {
        font-size: 15px;
    }

    .value-grid {
        grid-template-columns: 1fr;
    }

    .process {
        grid-template-columns: 1fr;
    }

    .form-row {
        flex-direction: column;
    }

    .cta-band {
        flex-direction: column;
        text-align: center;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 400px) {
    .container {
        padding: 0 18px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-lede {
        font-size: 14px;
        margin-bottom: 26px;
    }

    .btn {
        padding: 12px 28px;
        font-size: 14px;
    }

    .section-title {
        font-size: 24px;
    }

    .card {
        padding: 30px 20px;
    }

    .card-icon {
        width: 44px;
        height: 44px;
    }

    .contact-list li {
        flex-direction: column;
        gap: 2px;
    }

    .contact-list li strong {
        min-width: 0;
    }
}

.flex-left {
    display: flex;
    width: 100%;
    justify-content: center;
    margin-top: 45px;
}