/* HireMinds — frontend base styles */

* { margin: 0; padding: 0; box-sizing: border-box; }

/* The page never scrolls sideways.
   Sections are full of oversized rotating backdrops (150-170vmax) and
   decorations hung off negative offsets; each one is clipped at its own
   section, but this is the backstop so a single stray element can never hand
   the whole site a horizontal scrollbar again.

   `clip` is doing real work here, and `hidden` is not a substitute: hidden
   turns the element into a scroll container, which breaks position: sticky and
   can stop the GSAP ScrollTrigger pin on the home page from holding. clip does
   the same clipping without that side effect. The hidden line above it is only
   a fallback for browsers predating clip (Safari < 16). */
html,
body {
    overflow-x: hidden;
    overflow-x: clip;
}

body {
    font-family: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    color: #1f2937;
    line-height: 1.5;
}

/* Form controls don't inherit font-family by default — force Geist everywhere */
button, input, select, textarea { font-family: inherit; }

/* ============================ THE SITE'S WIDTH ============================
   One place, one answer. Before this the site had four: the navbar pill at
   1180, this container at 1140 (home, events, schedules, city pages), the
   placement-readiness page at 1180, and Courses / About / Blog / Contact /
   Testimonials at 1320 — so the header, the home page and the inner pages all
   stopped at different edges, and a 1920 monitor showed 390px of nothing down
   each side of the home page.

   Fluid first, capped second. The container takes the whole screen apart from
   its gutter, which is what fills a 1366 or 1536 laptop; the cap only bites on
   a monitor wider than 1600, where a text line spanning the glass would be
   tiring to read. The gutter grows with the viewport so the content never hugs
   the edge, and `box-sizing: border-box` (set at the top of this file) means
   the cap counts the gutter in — the box is 1600 and its contents 1600 less the
   two gutters.

   Anything that needs to line up with the content uses these two tokens rather
   than a number of its own. */
:root {
    --hm-width: 1600px;
    --hm-gutter: clamp(20px, 3vw, 48px);
}

.container {
    width: 100%;
    max-width: var(--hm-width);
    margin-inline: auto;
    padding-inline: var(--hm-gutter);
}

/* Header */
.site-header {
    background: #0d6efd;
    color: #fff;
    padding: 1rem 0;
}
.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.site-brand {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    text-decoration: none;
}
.site-nav a {
    color: #fff;
    text-decoration: none;
    margin-left: 1.25rem;
}
.site-nav a:hover { text-decoration: underline; }

/* Main content (between header and footer) */
#main-content {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 1rem;
}
.home-hero h1 { font-size: 2rem; }

/* Footer */
.site-footer {
    background: #111827;
    color: #e5e7eb;
    padding: 1.5rem 0;
    text-align: center;
}



/* 1.header */

/* ============================== reCAPTCHA ==============================
   Shared by every form on the site (frontend/partials/recaptcha.blade.php).

   Google's floating badge is hidden: it sits bottom-right, exactly where the
   WhatsApp / Instagram / scroll-to-top buttons already are. Their terms allow
   hiding it provided the attribution below is shown in the form instead, so
   the two rules belong together and neither may be removed on its own. */
.grecaptcha-badge { visibility: hidden; }

/* The v2 "I'm not a robot" checkbox. Google's iframe is a fixed 304x78, which
   is wider than a phone-width modal once padding is taken off, so it is scaled
   down from its top-left corner there rather than pushing the page sideways. */
.hm-recaptcha {
    margin: 0 0 16px;   /* it sits ABOVE the submit button */
}

.hm-recaptcha__error {
    margin: 8px 0 0;
    font-size: 13px;
    font-weight: 500;
    color: #c0392b;
}

@media (max-width: 400px) {
    .hm-recaptcha .g-recaptcha {
        transform: scale(.86);
        transform-origin: 0 0;
        height: 68px;          /* 78 * .86, so nothing below it overlaps */
    }
}

.hm-recaptcha-note {
    margin: 12px 0 0;
    font-size: 12px;
    line-height: 1.6;
    color: #8A7E70;
}

.hm-recaptcha-note a {
    color: #A85A2E;
    text-decoration: none;
    border-bottom: 1px solid rgba(168, 90, 46, .3);
}

.hm-recaptcha-note a:hover,
.hm-recaptcha-note a:focus-visible { color: #843D21; border-bottom-color: #843D21; }
