/* =========================================================
   HADAYAT SONS HR SERVICES
   MAIN WEBSITE CSS
========================================================= */


/* =========================================================
   ROOT
========================================================= */

:root {
    --red: #a71930;
    --red-dark: #8d1428;
    --red-light: #fff1f3;
    --red-soft: #f9e3e6;

    --navy: #17233a;
    --text: #344054;
    --muted: #667085;

    --white: #ffffff;
    --background: #f7f8fa;

    --border: #e5e7eb;

    --shadow: 0 15px 40px rgba(23, 35, 58, 0.08);
}


/* =========================================================
   GLOBAL
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: "Inter", sans-serif;
    color: var(--text);
    background: var(--background);
    line-height: 1.7;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
}

section {
    overflow: hidden;
}


/* =========================================================
   NAVBAR
========================================================= */

.site-navbar {
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid #eeeeee;
    min-height: 82px;
}

.navbar-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.navbar-nav {
    gap: 5px;
}

.nav-link {
    color: var(--navy) !important;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 13px !important;
}

.nav-link:hover,
.nav-link.active {
    color: var(--red) !important;
}


/* Primary worker button */

.nav-job-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    background: var(--red);
    color: var(--white);

    padding: 11px 19px;

    border-radius: 6px;

    font-size: 12px;
    font-weight: 700;

    transition: all 0.25s ease;
}

.nav-job-button:hover {
    color: var(--white);
    background: var(--red-dark);
    transform: translateY(-2px);
}


/* Secondary employer button (outline style) */

.nav-employer-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 10px 18px;

    border: 1.5px solid var(--red);
    border-radius: 6px;

    background: transparent;
    color: var(--red);

    font-size: 12px;
    font-weight: 700;

    transition: all 0.25s ease;
}

.nav-employer-button:hover {
    background: var(--red);
    color: var(--white);
    transform: translateY(-2px);
}


/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;

    padding: 100px 0;

    background:
        radial-gradient(
            circle at 90% 20%,
            rgba(167, 25, 48, 0.08),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            #ffffff 0%,
            #faf8f9 60%,
            #fff1f3 100%
        );
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 8px 14px;

    border: 1px solid #e7c8cd;
    border-radius: 30px;

    background: #fff8f9;

    color: var(--red);

    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.2px;
}

.hero h1 {
    max-width: 720px;

    margin-top: 22px;

    color: var(--navy);

    font-size: clamp(42px, 5vw, 64px);

    font-weight: 800;
    line-height: 1.08;

    letter-spacing: -2px;
}

.hero h1 span {
    color: var(--red);
}

.hero-text {
    max-width: 650px;

    margin-top: 25px;

    color: var(--muted);

    font-size: 14px;
    line-height: 1.9;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;

    margin-top: 30px;
}

.primary-button {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    padding: 13px 21px;

    background: var(--red);
    color: var(--white);

    border-radius: 6px;

    font-size: 12px;
    font-weight: 700;

    transition: all 0.25s ease;
}

.primary-button:hover {
    color: var(--white);
    background: var(--red-dark);
    transform: translateY(-2px);
}

.secondary-button {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    padding: 12px 20px;

    border: 1px solid #d5d9df;
    border-radius: 6px;

    background: var(--white);
    color: var(--navy);

    font-size: 12px;
    font-weight: 600;

    transition: all 0.25s ease;
}

.secondary-button:hover {
    color: var(--red);
    border-color: var(--red);
}


/* Hero employer text link */

.hero-employer-link {
    margin-top: 24px;

    color: var(--muted);

    font-size: 12px;
}

.hero-employer-link a {
    color: var(--red);

    font-weight: 700;

    margin-left: 5px;

    transition: color 0.25s ease;
}

.hero-employer-link a:hover {
    color: var(--red-dark);

    text-decoration: underline;
}

.hero-employer-link i {
    margin-left: 4px;
}


/* =========================================================
   HERO CARD
========================================================= */

.hero-card {
    max-width: 370px;

    margin-left: auto;

    padding: 38px 32px;

    text-align: center;

    background: var(--red-light);

    border: 1px solid #eadcdf;

    border-radius: 16px;

    box-shadow: 0 25px 60px rgba(23, 35, 58, 0.10);
}

.hero-logo-box {
    width: 175px;
    height: 175px;

    margin: 0 auto 22px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--white);

    border: 1px solid #f0e5e7;

    border-radius: 50%;

    box-shadow: 0 10px 30px rgba(23, 35, 58, 0.08);
}

.hero-logo-box img {
    width: 140px;
    height: 140px;
    object-fit: contain;
}

.hero-small-title {
    color: var(--red);

    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.hero-card h2 {
    margin-top: 7px;

    color: var(--navy);

    font-size: 22px;
    font-weight: 800;
}

.red-line {
    width: 40px;
    height: 2px;

    margin: 18px auto;

    background: var(--red);
}

.license-info {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    text-align: left;
}

.license-info > i {
    color: var(--red);
    font-size: 23px;
}

.license-info small {
    display: block;

    color: #98a2b3;

    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.7px;
}

.license-info strong {
    display: block;

    margin-top: 3px;

    color: var(--navy);

    font-size: 10px;
}


/* =========================================================
   SECTION COMMON
========================================================= */

.section-label {
    display: inline-block;

    color: var(--red);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 1.5px;

    margin-bottom: 10px;
}

.section-heading {
    max-width: 700px;
    margin: 0 auto 45px;

    text-align: center;
}

.section-heading p {
    max-width: 650px;
    margin: 10px auto 0;

    color: var(--muted);

    font-size: 13px;
}

.section-title {
    color: var(--navy);

    font-size: 38px;
    font-weight: 800;

    line-height: 1.2;

    letter-spacing: -1px;
}

.section-title span {
    color: var(--red);
}


/* =========================================================
   CEO SECTION
========================================================= */

.ceo-section {
    padding: 105px 0;

    background: var(--white);
}

.ceo-card {
    overflow: hidden;

    background: var(--white);

    border: 1px solid var(--border);
    border-radius: 15px;

    box-shadow: var(--shadow);
}

.ceo-image {
    height: 390px;

    background: var(--red-light);
}

.ceo-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.ceo-info {
    padding: 24px;
}

.ceo-info h3 {
    margin: 0;

    color: var(--navy);

    font-size: 20px;
    font-weight: 800;
}

.ceo-info p {
    margin: 5px 0;

    color: var(--red);

    font-size: 11px;
    font-weight: 700;
}

.ceo-info span {
    color: #98a2b3;

    font-size: 9px;
}

.ceo-content {
    color: var(--muted);

    font-size: 12px;
    line-height: 1.9;
}

.ceo-content strong {
    color: var(--navy);
}

.message-box {
    display: flex;
    align-items: flex-start;

    gap: 16px;

    margin: 22px 0;
    padding: 20px;

    background: var(--red-light);

    border: 1px solid #f0d6da;
    border-radius: 10px;
}

.message-icon {
    width: 44px;
    height: 44px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--white);

    color: var(--red);

    border-radius: 8px;

    font-size: 18px;
}

.message-box h4 {
    margin: 0 0 5px;

    color: var(--navy);

    font-size: 14px;
    font-weight: 800;
}

.message-box p {
    margin: 0;

    font-size: 11px;
    line-height: 1.7;
}

.signature {
    margin-top: 25px;

    padding-top: 20px;

    border-top: 1px solid var(--border);
}

.signature strong,
.signature span,
.signature small {
    display: block;
}

.signature strong {
    color: var(--navy);
    font-size: 14px;
}

.signature span {
    color: var(--red);
    font-size: 10px;
    font-weight: 700;
}

.signature small {
    color: #98a2b3;
    font-size: 9px;
}

.ceo-quote {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-top: 20px;

    padding: 15px 18px;

    background: var(--navy);

    border-radius: 7px;

    color: var(--white);

    font-size: 11px;
    font-weight: 600;
}

.ceo-quote i {
    color: #f3b5bf;
    font-size: 20px;
}


/* =========================================================
   WHY SECTION
========================================================= */

.why-section {
    padding: 100px 0;

    background: var(--background);
}

.feature-card {
    height: 100%;

    padding: 30px 25px;

    background: var(--white);

    border: 1px solid var(--border);
    border-radius: 12px;

    transition: all 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-5px);

    border-color: #ddb3ba;

    box-shadow: var(--shadow);
}

.feature-icon {
    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--red-light);

    color: var(--red);

    border-radius: 10px;

    font-size: 20px;
}

.feature-card h3 {
    margin-top: 20px;

    color: var(--navy);

    font-size: 16px;
    font-weight: 800;
}

.feature-card p {
    margin-top: 8px;

    color: var(--muted);

    font-size: 11px;
    line-height: 1.8;
}


/* =========================================================
   WORKER SECTION
========================================================= */

.worker-section {
    padding: 105px 0;

    background: var(--white);
}

.worker-card {
    display: flex;
    align-items: flex-start;

    gap: 20px;

    height: 100%;

    padding: 30px;

    background: var(--red-light);

    border: 1px solid #edcdd2;
    border-radius: 14px;

    color: var(--text);

    transition: all 0.25s ease;
}

.worker-card:hover {
    color: var(--text);

    transform: translateY(-6px);

    border-color: var(--red);

    box-shadow: var(--shadow);
}

.worker-icon {
    width: 62px;
    height: 62px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--red);

    color: var(--white);

    border-radius: 11px;

    font-size: 24px;
}

.worker-card span {
    color: var(--red);

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 1px;
}

.worker-card h3 {
    margin-top: 5px;

    color: var(--navy);

    font-size: 22px;
    font-weight: 800;
}

.worker-card p {
    margin-top: 8px;

    color: var(--muted);

    font-size: 11px;
    line-height: 1.8;
}

.worker-card strong {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-top: 8px;

    color: var(--red);

    font-size: 10px;
}

.worker-card strong i {
    transition: transform 0.2s ease;
}

.worker-card:hover strong i {
    transform: translateX(4px);
}

.worker-note {
    margin-top: 25px;

    color: #98a2b3;

    font-size: 10px;
}

.worker-note i {
    color: var(--red);
    margin-right: 5px;
}


/* =========================================================
   EMPLOYER SECTION
========================================================= */

.employer-section {
    padding: 105px 0;

    background: var(--background);
}

.employer-text {
    color: var(--muted);

    font-size: 12px;
    line-height: 1.9;

    margin-top: 18px;
}

.employer-points {
    list-style: none;

    padding: 0;
    margin: 22px 0 28px;
}

.employer-points li {
    display: flex;
    align-items: center;

    gap: 10px;

    margin-bottom: 12px;

    color: var(--text);

    font-size: 12px;
}

.employer-points li i {
    color: var(--red);

    font-size: 14px;

    flex-shrink: 0;
}

.employer-card {
    padding: 45px 35px;

    background: var(--white);

    border: 1px solid var(--border);
    border-radius: 16px;

    box-shadow: var(--shadow);

    text-align: center;
}

.employer-icon {
    width: 72px;
    height: 72px;

    margin: 0 auto 22px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--red-light);

    color: var(--red);

    border-radius: 50%;

    font-size: 28px;
}

.employer-card h3 {
    color: var(--navy);

    font-size: 20px;
    font-weight: 800;

    margin-bottom: 12px;
}

.employer-card p {
    color: var(--muted);

    font-size: 12px;
    line-height: 1.8;

    margin-bottom: 24px;
}


/* =========================================================
   OPPORTUNITIES
========================================================= */

.opportunities {
    padding: 105px 0;

    background: var(--background);
}

.opportunities p {
    color: var(--muted);

    font-size: 12px;
    line-height: 1.9;
}

.opportunity-image {
    height: 390px;

    overflow: hidden;

    border-radius: 15px;

    box-shadow: var(--shadow);
}

.opportunity-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* =========================================================
   PROCESS
========================================================= */

.process-section {
    padding: 105px 0;

    background: var(--white);
}

.process-card {
    position: relative;

    height: 100%;

    padding: 30px;

    background: var(--white);

    border: 1px solid var(--border);
    border-radius: 12px;

    transition: all 0.25s ease;
}

.process-card:hover {
    transform: translateY(-5px);

    box-shadow: var(--shadow);

    border-color: #ddb3ba;
}

.process-number {
    position: absolute;

    top: 22px;
    right: 22px;

    color: #d9c2c6;

    font-size: 12px;
    font-weight: 800;
}

.process-card > i {
    display: flex;

    width: 50px;
    height: 50px;

    align-items: center;
    justify-content: center;

    background: var(--red-light);

    color: var(--red);

    border-radius: 9px;

    font-size: 20px;
}

.process-card h3 {
    margin-top: 22px;

    color: var(--navy);

    font-size: 16px;
    font-weight: 800;
}

.process-card p {
    margin-top: 7px;

    color: var(--muted);

    font-size: 11px;
    line-height: 1.8;
}


/* =========================================================
   FINAL CTA
========================================================= */

.final-cta {
    padding: 70px 0;

    background: var(--background);
}

.cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    padding: 45px;

    background: linear-gradient(
        135deg,
        #fff1f3,
        #ffffff
    );

    border: 1px solid #ecd5d9;
    border-radius: 15px;

    box-shadow: var(--shadow);
}

.cta-box h2 {
    margin: 0;

    color: var(--navy);

    font-size: 30px;
    font-weight: 800;
}

.cta-box p {
    margin: 5px 0 0;

    color: var(--muted);

    font-size: 12px;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    padding: 35px 0;

    background: var(--white);

    border-top: 1px solid var(--border);
}

.footer-brand {
    display: flex;
    align-items: center;

    gap: 12px;
}

.footer-brand img {
    width: 58px;
    height: 58px;

    object-fit: contain;
}

.footer-brand strong {
    display: block;

    color: var(--navy);

    font-size: 11px;
    font-weight: 800;
}

.footer-brand span {
    display: block;

    color: #98a2b3;

    font-size: 9px;
}

.footer p {
    margin: 0;

    color: #98a2b3;

    font-size: 9px;
}

.footer-license {
    font-size: 9px !important;

    letter-spacing: 0.4px;

    margin-bottom: 5px !important;

    color: #98a2b3;
}


/* Footer social links */

.footer-social {
    display: flex;
    justify-content: center;

    gap: 10px;

    flex-wrap: wrap;
}

.footer-social a {
    width: 38px;
    height: 38px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #f3f4f6;
    color: var(--navy);

    font-size: 15px;

    transition: all 0.25s ease;
}

.footer-social a:hover {
    color: var(--white);

    transform: translateY(-3px);

    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.footer-social a[aria-label="Facebook"]:hover {
    background: #1877f2;
}

.footer-social a[aria-label="TikTok"]:hover {
    background: #000000;
}

.footer-social a[aria-label="X (Twitter)"]:hover {
    background: #000000;
}

.footer-social a[aria-label="WhatsApp Channel"]:hover {
    background: #25d366;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 991px) {

    .hero {
        padding: 75px 0;
    }

    .hero-card {
        margin: 40px auto 0;
    }

    .navbar-nav {
        padding-top: 15px;
        padding-bottom: 15px;

        align-items: flex-start;
    }

    .nav-job-button,
    .nav-employer-button {
        margin-top: 8px;
    }

    .ceo-section,
    .why-section,
    .worker-section,
    .employer-section,
    .opportunities,
    .process-section {
        padding: 75px 0;
    }

}


@media (max-width: 767px) {

    .navbar-logo {
        width: 62px;
        height: 62px;
    }

    .hero {
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 39px;
        letter-spacing: -1px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-logo-box {
        width: 150px;
        height: 150px;
    }

    .hero-logo-box img {
        width: 120px;
        height: 120px;
    }

    .section-title {
        font-size: 30px;
    }

    .ceo-image {
        height: 330px;
    }

    .message-box {
        flex-direction: column;
    }

    .worker-card {
        padding: 24px;
    }

    .opportunity-image {
        height: 280px;
    }

    .cta-box {
        flex-direction: column;
        align-items: flex-start;

        padding: 30px 25px;
    }

    .cta-box h2 {
        font-size: 25px;
    }

    .footer {
        text-align: center;
    }

    .footer-brand {
        justify-content: center;
    }

    .footer .text-lg-end {
        text-align: center !important;
    }

    .footer-social {
        justify-content: center;
    }

}