/*
Theme Name: GoTalent
Theme URI: http://localhost:8080/
Author: gotalentnow.com recovery
Description: Lightweight custom theme rebuilt from the Wayback recovery of gotalentnow.com. Loosely matches the original The7 + WPBakery look (brand blue #25aae1, Open Sans). Content lives in normal, editable WordPress pages/posts.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: gotalent
*/

/* ---------- Design tokens ---------- */
:root{
  --brand:#25aae1;
  --brand-dark:#2c7c9c;
  --ink:#333333;
  --muted:#595959;
  --light:#777777;
  --bg-alt:#f6f6f6;
  --line:#e6e6e6;
  --white:#ffffff;
  --maxw:1140px;
}

/* ---------- Recovered icon fonts (from the original smile_fonts) ---------- */
@font-face{font-family:'icomoon-feather-24x24';src:url('fonts/icomoon-feather-24x24.woff') format('woff'),url('fonts/icomoon-feather-24x24.ttf') format('truetype');font-weight:normal;font-style:normal;font-display:swap;}
@font-face{font-family:'Defaults';src:url('fonts/Defaults.woff') format('woff'),url('fonts/Defaults.ttf') format('truetype');font-weight:normal;font-style:normal;font-display:swap;}
[class^="icomoon-feather-24x24-"],[class*=" icomoon-feather-24x24-"],[class^="Defaults-"],[class*=" Defaults-"]{
  speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;line-height:1;
  -webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:inline-block;
}
[class^="icomoon-feather-24x24-"],[class*=" icomoon-feather-24x24-"]{font-family:'icomoon-feather-24x24'!important;}
[class^="Defaults-"],[class*=" Defaults-"]{font-family:'Defaults'!important;}
.icomoon-feather-24x24-cog:before{content:"\e023";}
.icomoon-feather-24x24-layers:before{content:"\e031";}
.icomoon-feather-24x24-bar-graph-2:before{content:"\e091";}
.icomoon-feather-24x24-clock:before{content:"\e014";}
.icomoon-feather-24x24-tag:before{content:"\e085";}
.icomoon-feather-24x24-grid:before{content:"\e102";}
.icomoon-feather-24x24-download:before{content:"\e069";}
.Defaults-star-o:before{content:"\f006";}
.Defaults-check:before{content:"\f00c";}
.Defaults-joomla:before{content:"\f1aa";}

/* ---------- Reset-ish ---------- */
*{box-sizing:border-box;}
html{-webkit-text-size-adjust:100%;}
body{
  margin:0;
  font-family:"Open Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  font-weight:300;
  font-size:16px;
  line-height:1.7;
  color:var(--muted);
  background:var(--white);
}
img{max-width:100%;height:auto;display:block;}
a{color:var(--brand);text-decoration:none;}
a:hover{color:var(--brand-dark);}
h1,h2,h3,h4,h5{font-weight:600;color:var(--ink);line-height:1.25;margin:0 0 .5em;}
h1{font-size:2.6rem;}
h2{font-size:2rem;}
h3{font-size:1.3rem;}
p{margin:0 0 1.2em;}

/* ---------- Layout helpers ---------- */
.container{max-width:var(--maxw);margin:0 auto;padding:0 24px;}
.section{padding:84px 0;}
.section--alt{background:var(--bg-alt);}
.section__head{text-align:center;max-width:760px;margin:0 auto 48px;}
.section__head .eyebrow{color:var(--brand);font-weight:600;text-transform:uppercase;letter-spacing:.08em;font-size:.8rem;}
.grid{display:grid;gap:40px;}
.grid--2{grid-template-columns:1fr 1fr;align-items:center;}
.grid--3{grid-template-columns:repeat(3,1fr);}
.text-center{text-align:center;}

/* ---------- Buttons ---------- */
.btn{
  display:inline-block;background:var(--brand);color:#fff;font-weight:600;
  padding:14px 34px;border-radius:4px;transition:background .2s;
}
.btn:hover{background:var(--brand-dark);color:#fff;}
.btn--ghost{background:transparent;border:2px solid #fff;}
.btn--ghost:hover{background:#fff;color:var(--brand);}
.btn--pill{border-radius:500px;padding-left:42px;padding-right:42px;}
.btn--lg{font-size:1.05rem;padding-top:16px;padding-bottom:16px;}

/* ---------- App store badges ---------- */
.store-badges{display:flex;gap:16px;flex-wrap:wrap;align-items:center;}
.store-badges img{height:48px;width:auto;}

/* ---------- Header ---------- */
/* ============================================================
   Header — a transparent top bar sits over the hero and scrolls
   away with the page; a condensed solid bar then fades in and
   sticks. The section in view highlights its nav item (brand
   colour + underline, soft fade). Below 768px it collapses to a
   hamburger that opens a left drawer with a backdrop.
   ============================================================ */
.site-header{z-index:60;}
.site-header .container{display:flex;align-items:center;gap:24px;min-height:74px;}
.site-logo{flex:0 0 auto;line-height:0;}
.site-logo .custom-logo{height:42px;width:auto;display:block;}
.site-logo .site-title-text{font-weight:600;font-size:1.4rem;color:var(--ink);line-height:1;}

.main-nav .menu{list-style:none;margin:0;padding:0;display:flex;gap:30px;align-items:center;}
.main-nav a{position:relative;display:inline-block;font-weight:600;font-size:.95rem;color:var(--ink);transition:color .3s ease;}
.main-nav a::after{content:"";position:absolute;left:0;right:0;bottom:-6px;height:2px;background:currentColor;opacity:0;transform:translateY(4px);transition:opacity .3s ease,transform .3s ease;}
.main-nav a:hover::after,.main-nav a.is-active::after{opacity:1;transform:translateY(0);}

/* Transparent top bar (over hero, white text, scrolls away) */
.site-header--top{position:absolute;top:0;left:0;right:0;background:transparent;}
.site-header--top .container{justify-content:space-between;}
.site-header--top .main-nav a{color:#fff;}

/* Condensed sticky bar (fixed, solid white, fades+slides in on scroll) */
.site-header--sticky{position:fixed;top:0;left:0;right:0;z-index:70;background:#fff;box-shadow:0 1px 10px rgba(0,0,0,.12);
  opacity:0;visibility:hidden;transform:translateY(-100%);
  transition:opacity .35s ease,transform .35s ease,visibility .35s ease;}
.site-header--sticky .container{justify-content:space-between;min-height:60px;}
.site-header--sticky .site-logo .custom-logo{height:34px;}
.site-header--sticky.on{opacity:1;visibility:visible;transform:translateY(0);}
.site-header--sticky .main-nav a:hover,.site-header--sticky .main-nav a.is-active{color:var(--brand);}

/* Hamburger buttons */
.nav-toggle{display:none;position:relative;width:44px;height:44px;border:0;background:none;cursor:pointer;padding:0;flex:0 0 auto;color:#fff;}
.nav-toggle span{position:absolute;left:11px;right:11px;top:50%;height:2px;margin-top:-1px;background:currentColor;border-radius:2px;}
.nav-toggle span::before,.nav-toggle span::after{content:"";position:absolute;left:0;right:0;height:2px;background:currentColor;border-radius:2px;}
.nav-toggle span::before{top:-7px;}
.nav-toggle span::after{top:7px;}
/* Floating mobile hamburger: fixed top-right, translucent, fades in on scroll (mobile only) */
.menu-fab{display:none;position:fixed;top:12px;right:12px;z-index:80;color:#fff;
  background:rgba(0,0,0,.34);border-radius:6px;opacity:0;visibility:hidden;
  transition:opacity .3s ease,visibility .3s ease;}
.menu-fab.on{opacity:1;visibility:visible;}

/* Left drawer + backdrop */
.drawer-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.5);opacity:0;visibility:hidden;z-index:120;transition:opacity .3s ease,visibility .3s ease;}
.drawer-backdrop.on{opacity:1;visibility:visible;}
.drawer{position:fixed;top:0;left:0;bottom:0;width:300px;max-width:84vw;background:#fff;z-index:130;
  padding:62px 0 24px;transform:translateX(-100%);transition:transform .3s ease;box-shadow:0 0 30px rgba(0,0,0,.18);}
.drawer.on{transform:translateX(0);}
.drawer-nav .menu{list-style:none;margin:0;padding:0 28px;}   /* horizontal padding insets text + dividers, like the original */
/* subtle divider between items, inset to align with the text (matches the original) */
.drawer-nav li + li{border-top:1px solid var(--line);}
.drawer-nav a{display:block;padding:15px 0;color:var(--ink);font-weight:600;transition:color .2s ease;}
.drawer-nav a:hover,.drawer-nav a.is-active{color:var(--brand);}   /* current section highlighted in brand colour */
/* close button: brand-blue square with a white X, flush in the top-right corner; X morphs to a dash on hover */
.drawer-close{position:absolute;top:0;right:0;width:44px;height:44px;border:0;background:var(--brand);cursor:pointer;z-index:1;}
.drawer-close span{position:absolute;inset:0;}
.drawer-close span::before,.drawer-close span::after{content:"";position:absolute;top:50%;left:11px;right:11px;height:2px;margin-top:-1px;background:#fff;border-radius:2px;transition:transform .2s ease,opacity .2s ease;}
.drawer-close span::before{transform:rotate(45deg);}
.drawer-close span::after{transform:rotate(-45deg);}
.drawer-close:hover span::before{transform:rotate(0);}
.drawer-close:hover span::after{transform:rotate(0);opacity:0;}
/* let smooth-scroll land below the sticky bar */
#how-it-works,#features{scroll-margin-top:64px;}

/* ============================================================
   Hero — static recreation of the original Revolution Slider
   (single slide, no animation), matched to the live captures.
   The businesswoman PHOTO stays visible at every width; a light
   diagonal BLUE BAND sits behind the text (right) while the photo
   shows through on the left. Phone-left / text-right is kept down
   to small screens; only at the smallest level does it stack and
   swap the combined subtext for "...under 12 minutes." + a button.
   Breakpoints mirror the slider's responsiveLevels [1240,1024,778,480].
   ============================================================ */
.hero{
  position:relative;overflow:hidden;color:#fff;
  background:#8aa0ad url('images/businesswoman-hero.jpg') center/cover no-repeat;
}
/* diagonal blue band: photo visible left -> blue behind text right (mirrors the original shapes) */
.hero::before{
  content:"";position:absolute;inset:0;z-index:0;
  background:linear-gradient(105deg,
    rgba(18,44,64,.12) 0%,
    rgba(18,44,64,.06) 26%,
    rgba(37,170,225,.42) 52%,
    rgba(31,131,201,.78) 100%);
}
.hero__inner{
  position:relative;z-index:1;
  display:grid;grid-template-columns:minmax(220px,400px) 1fr;gap:40px;align-items:center;
  padding:66px 0 60px;
}
.hero__media{text-align:center;}
.hero__media img{max-height:540px;width:auto;margin:0 auto;filter:drop-shadow(0 24px 50px rgba(0,0,0,.4));}
.hero__text h1{color:#fff;font-weight:700;font-size:52px;line-height:60px;text-transform:uppercase;margin:0 0 22px;text-shadow:0 1px 12px rgba(10,30,45,.35);}
.hero__sub{font-size:22px;line-height:33px;font-weight:300;color:#fff;margin:0 0 24px;max-width:620px;text-shadow:0 1px 10px rgba(10,30,45,.3);}
.hero__sub .ttf{color:#fff;font-weight:600;}            /* "Try it for Free." — emphasis text, not a link */
.hero__btn .btn{cursor:default;}                        /* decorative pill, non-clickable */
.hero__sub--short{display:none;}            /* smallest level only */
.hero__btn{display:none;margin:0 0 24px;}    /* separate button: smallest level only */
.hero .store-badges img{height:46px;}

/* Tablet (<=1240) */
@media(max-width:1240px){
  .hero__text h1{font-size:46px;line-height:54px;}
  .hero__sub{font-size:20px;line-height:30px;}
}
/* Mobile-landscape (<=1024) — photo stays on, band stays; scale down */
@media(max-width:1024px){
  .hero__inner{grid-template-columns:minmax(180px,300px) 1fr;gap:28px;padding:54px 0 50px;}
  .hero__text h1{font-size:38px;line-height:45px;}
  .hero__media img{max-height:440px;}
}
/* Small (<=780) — stack: phone on top, text centered below; photo still behind */
@media(max-width:780px){
  .hero::before{background:linear-gradient(180deg, rgba(18,44,64,.30) 0%, rgba(31,131,201,.72) 60%, rgba(31,131,201,.85) 100%);}
  /* extra top padding so the stacked phone clears the centred logo / hamburger bar */
  .hero__inner{grid-template-columns:1fr;text-align:center;gap:22px;padding:96px 0 44px;}
  .hero__media{order:-1;}
  .hero__media img{max-height:360px;}
  .hero__text h1{font-size:32px;line-height:38px;}
  .hero__sub{margin-left:auto;margin-right:auto;}
  .hero .store-badges{justify-content:center;}
}
/* Smallest (<=480) — combined line becomes "...under 12 minutes." + separate button */
@media(max-width:480px){
  .hero__text h1{font-size:28px;line-height:34px;}
  .hero__sub--combined{display:none;}
  .hero__sub--short{display:block;font-size:18px;line-height:27px;margin-left:auto;margin-right:auto;}
  .hero__btn{display:block;}
}

/* ---------- Personality Metrics (#what stripe) ----------
   Original: 2-col row, phone-combo image LEFT (vc_box_border_grey, left-aligned), text RIGHT.
   Eyebrow h4 = accent blue #25aae1 (paint-accent-color), mixed case. Traits are an inline
   numbered text list inside the right column. WPBakery col-md-6 => 50/50, holds to 768px.
   Below 768 we keep the image visible (original hid it) and stack it ABOVE the text. */
.metrics{display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:start;}
.metrics__media{text-align:left;}
.metrics__media img{margin:0;width:100%;max-width:420px;}
.metrics__eyebrow{color:#25aae1;font-size:1.15rem;font-weight:600;margin:0 0 .45em;}
.metrics__text h2{margin-bottom:.55em;}

/* ---------- Icon boxes row (Fast & accurate / Building career / Candidate testing) ----------
   Original was an Ultimate-VC "aio-icon-box left-icon": small tan icon to the LEFT, title+text
   right, left-aligned. Icon #d2b598 24px, title 20px/28px normal weight #45474b. WPBakery
   vc_col-sm-4 => 3 columns at >=768px, stacks to 1 column below. */
.icon-boxes{display:grid;grid-template-columns:repeat(3,1fr);gap:30px;}
.icon-box{display:flex;align-items:flex-start;gap:14px;text-align:left;}
.icon-box .ib-icon{flex:0 0 auto;font-size:24px;color:#d2b598;line-height:28px;}
.icon-box .ib-body{flex:1 1 auto;}
.icon-box h3{color:#45474b;font-size:20px;line-height:28px;font-weight:normal;margin:0 0 .5em;}
.icon-box .ib-body p{margin:0 0 .8em;}
.icon-box .ib-body p:last-child{margin-bottom:0;}

/* ---------- Features (#features stripe) ----------
   Original: 3-col — feature list | central phone | feature list. Icons are white circles with a
   tan (#d2b598) glyph, joined by dashed tan connectors. Left list text is right-aligned with the
   icon on the inner edge (by the phone); right list mirrors it. Heading 15px/600 #45474b,
   description 13px #8f9194. Below 992px the phone is hidden and both lists become one left-aligned
   vertical column (matches the original's separate mobile block). */
.features{display:grid;grid-template-columns:1fr 250px 1fr;gap:46px;align-items:start;}
.features__phone{align-self:center;text-align:center;min-width:0;}
.features__phone img{margin:0 auto;width:100%;max-width:250px;}
.feat-list{min-width:0;}
.feat-list{list-style:none;margin:0;padding:0;}
.feat-list li{position:relative;display:flex;align-items:flex-start;gap:18px;}
.feat-list li:not(:last-child){margin-bottom:34px;}
.feat-icon{position:relative;z-index:1;flex:0 0 auto;width:64px;height:64px;border-radius:50%;background:#fff;color:#d2b598;display:flex;align-items:center;justify-content:center;font-size:24px;}
.feat-text{flex:1 1 auto;}
.feat-text h3{font-size:15px;line-height:1.6;font-weight:600;color:#45474b;margin:0 0 .25em;}
.feat-text p{font-size:13px;line-height:22px;color:#8f9194;margin:0;}
.feat-list--left li{text-align:right;}
.feat-list--right li{text-align:left;}
/* dashed connector running from each icon down to the next one (masked by the white circles) */
.feat-list li:not(:last-child)::after{content:"";position:absolute;top:64px;bottom:-34px;border-left:1px dashed rgba(210,181,152,.6);}
.feat-list--left li:not(:last-child)::after{right:31px;}
.feat-list--right li:not(:last-child)::after{left:31px;}
/* Separate mobile list (single 1x6 column, icons left) — like the archive's duplicate mobile block */
.feat-list--mobile{display:none;max-width:600px;margin:0 auto;}
.feat-list--mobile li{text-align:left;}
.feat-list--mobile li:not(:last-child)::after{left:31px;}

/* ---------- How It Works (#how-it-works stripe) ----------
   Original: 2-col. LEFT = heading + 4 vertical steps; each step = tan-numbered circle
   (The7 dt-circle-content, #d2b598) on the left, title (20px/28px normal #45474b) + description
   on the right. RIGHT = results screenshot (scr-004), vertically centred. col-md-6 => 50/50;
   stacks below 768px with the screenshot dropping below (original already behaves this way). */
.how{display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:start;}
.how__steps h2{text-align:left;margin-bottom:30px;}
.step{display:flex;align-items:flex-start;gap:20px;margin-bottom:28px;}
.step:last-child{margin-bottom:0;}
.step__num{flex:0 0 auto;width:48px;height:48px;border-radius:50%;border:2px solid #d2b598;color:#d2b598;display:flex;align-items:center;justify-content:center;font-size:1.25rem;font-weight:400;line-height:1;}
.step__body{flex:1 1 auto;}
.step__body h3{color:#45474b;font-size:20px;line-height:28px;font-weight:normal;margin:0 0 .4em;}
.step__body p{margin:0;}
/* Pull the screenshot up so its top edge touches the light-grey section above
   (mirrors the original, whose right column had no top spacer on a 0-padding stripe). */
.how__media{text-align:center;margin-top:-84px;}
.how__media img{margin:0 auto;width:100%;max-width:520px;}


/* ---------- CTA band (#cta, original stripe-style-3) ----------
   Mountain photo (bg-013.jpg). Text LEFT (blue eyebrow + white heading + white subhead),
   app badges on the RIGHT. A left-weighted dark gradient keeps the white text readable over the
   photo while the badge side stays light, as in the original. col-md-6 => 50/50, stacks below
   992px (text over badges). */
.cta-band{
  position:relative;color:#fff;padding:50px 0 55px;
  background-color:#23304a;          /* matches the photo's dark blue so full-width edges blend */
  background-position:center center; /* original: position center */
  background-repeat:no-repeat;
  background-size:auto;              /* original: size auto (natural 2500x745), NOT cover */
}
.cta-band__inner{position:relative;z-index:1;display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center;}
.cta-band__eyebrow{color:#25aae1;font-weight:600;margin:0 0 .3em;}
.cta-band h2{color:#fff;margin:0 0 .25em;}
.cta-band__sub{color:#fff;font-size:1.1rem;margin:0;}
.cta-band__badges{display:flex;gap:14px;align-items:center;}
.cta-band__badges img{width:157px;height:auto;}

/* ---------- Final CTA (#222222 dark band, original footer top) ----------
   Original: dark #222222 band, centred near-white heading (#f1f1f1, light weight), muted-grey
   description, plain "Try it for Free!" text (not a button), then facebook/twitter circle icons.
   Original hid this on mobile; we keep it visible at all widths. Flows straight into the footer
   (same #222222) so the bottom reads as one continuous dark band, as in the original. */
.final-cta{background:#222222;color:#9a9fa2;text-align:center;padding:74px 0 34px;}
.final-cta h2{color:#f1f1f1;font-weight:400;font-size:2.15rem;margin:0 0 22px;}
.final-cta__desc{max-width:880px;margin:0 auto 16px;color:#9a9fa2;font-size:1rem;line-height:1.7;}
.final-cta__try{color:#9a9fa2;margin:0 0 24px;}
.final-cta__social{display:flex;justify-content:center;gap:10px;}
.final-cta__social .soc{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;border:2px solid rgba(255,255,255,.2);color:#fff;}
.final-cta__social svg{width:15px;height:15px;fill:currentColor;}

/* ---------- Footer ---------- */
.site-footer{background:#222222;color:#9a9fa2;text-align:center;padding:8px 0 40px;font-size:.9rem;}
.site-footer a{color:#cfd3d6;}

/* ---------- Scroll-to-top button (matches The7 .scroll-top: 44x44 semi-transparent
   black square, white up-arrow, bottom-right, fades in once scrolled down). ---------- */
.scroll-top{
  position:fixed;right:10px;bottom:10px;width:44px;height:44px;z-index:-1;
  display:flex;align-items:center;justify-content:center;
  background:rgba(0,0,0,.2);color:#fff;text-decoration:none;
  opacity:0;visibility:hidden;
  transition:opacity .4s ease,visibility .4s ease,background-color .2s ease;
}
.scroll-top:hover{background:rgba(0,0,0,.5);color:#fff;}
.scroll-top.on{opacity:1;visibility:visible;z-index:109;}
.scroll-top svg{width:22px;height:22px;fill:currentColor;}

/* ---------- Blog / single ---------- */
.page-wrap{padding:70px 0;}
.entry-title{margin-bottom:8px;}
.entry-meta{color:var(--light);font-size:.9rem;margin-bottom:24px;}
.entry-content img{margin:1em 0;}

/* ---------- Responsive ---------- */
/* Features: original switches at 992px — it ships two blocks (like the archive): the flanked
   desktop block is hidden and a separate single 1x6 list is shown. */
@media(max-width:992px){
  .features--desktop{display:none;}
  .feat-list--mobile{display:block;}
  /* CTA band: stack text over badges (original cols are sm-12/xs-12 below 992px). */
  .cta-band__inner{grid-template-columns:1fr;gap:22px;}
}
@media(max-width:980px){
  .grid--2,.grid--3{grid-template-columns:1fr;}
  h1{font-size:2.1rem;}h2{font-size:1.7rem;}
}
/* Icon boxes: original WPBakery vc_col-sm-4 stays 3-up to 768px, then stacks to a single column. */
@media(max-width:780px){
  .icon-boxes{grid-template-columns:1fr;gap:26px;max-width:540px;margin:0 auto;}
  /* Metrics: keep image visible (original hid it) and stack it ABOVE the text. */
  .metrics{grid-template-columns:1fr;gap:30px;}
  .metrics__media{text-align:center;}
  .metrics__media img{margin:0 auto;max-width:340px;}
  /* How It Works: stack steps then screenshot (screenshot drops below). */
  .how{grid-template-columns:1fr;gap:34px;}
  .how__media{margin-top:0;}
  .how__media img{max-width:460px;}
}
/* Header collapse: <=768px the nav becomes a hamburger + left drawer.
   Top bar = minimal (hamburger left, logo centred) and scrolls away;
   when scrolled, the sticky bar shows only a translucent hamburger (top-right). */
@media(max-width:768px){
  .site-header--top .main-nav{display:none;}
  .site-header--top .container{justify-content:center;position:relative;}
  .site-header--top .nav-toggle--top{display:block;position:absolute;left:8px;top:50%;transform:translateY(-50%);}
  .site-header--top .site-logo{margin:0 auto;}

  /* desktop sticky bar isn't used on mobile — the floating hamburger replaces it */
  .site-header--sticky{display:none;}
  .menu-fab{display:block;}
}
@media(max-width:680px){
  .section{padding:56px 0;}
}
