/*
Theme Name: TalentBridge HR
Theme URI: https://example.com/talentbridge-hr
Author: OpenAI
Author URI: https://openai.com
Description: A free, responsive human resources and recruitment company website theme. Designed to work with WordPress 6.8.3 and the free Elementor plugin.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8.3
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: talentbridge-hr
Tags: business, blog, custom-logo, custom-menu, featured-images, full-width-template, one-column, two-columns, translation-ready
*/

:root {
  --tb-primary: #174a8b;
  --tb-primary-dark: #103663;
  --tb-accent: #e9a23b;
  --tb-ink: #17263c;
  --tb-muted: #64748b;
  --tb-soft: #f4f7fb;
  --tb-border: #e3eaf2;
  --tb-white: #fff;
  --tb-radius: 18px;
  --tb-shadow: 0 14px 40px rgba(23, 38, 60, .08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--tb-ink); background: #fff;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
  font-size: 16px; line-height: 1.7;
}
img { max-width: 100%; height: auto; }
a { color: var(--tb-primary); text-decoration: none; }
a:hover { color: var(--tb-primary-dark); }
button, input, textarea, select { font: inherit; }
.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(227,234,242,.85); backdrop-filter: blur(12px); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.site-branding { display: flex; align-items: center; gap: 12px; min-width: 180px; }
.custom-logo { max-height: 48px; width: auto; }
.brand-mark { display: inline-grid; place-items: center; width: 42px; height: 42px; color: #fff; background: var(--tb-primary); border-radius: 13px; font-weight: 800; letter-spacing: -1px; }
.brand-name { color: var(--tb-ink); font-size: 21px; font-weight: 800; line-height: 1.15; letter-spacing: -.5px; }
.brand-tagline { display: block; margin-top: 4px; color: var(--tb-muted); font-size: 11px; font-weight: 600; letter-spacing: 1.1px; text-transform: uppercase; }
.primary-navigation ul { display: flex; align-items: center; gap: 25px; list-style: none; padding: 0; margin: 0; }
.primary-navigation a { color: #34445a; font-size: 14px; font-weight: 650; }
.primary-navigation a:hover, .primary-navigation .current-menu-item > a { color: var(--tb-primary); }
.header-cta { white-space: nowrap; }
.menu-toggle { display: none; border: 1px solid var(--tb-border); border-radius: 10px; background: #fff; padding: 9px 12px; color: var(--tb-ink); cursor: pointer; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 0; border-radius: 999px; padding: 13px 23px; background: var(--tb-primary); color: #fff; font-weight: 750; font-size: 14px; box-shadow: 0 8px 20px rgba(23,74,139,.16); transition: transform .2s, background .2s; }
.btn:hover { color: #fff; background: var(--tb-primary-dark); transform: translateY(-2px); }
.btn-light { color: var(--tb-primary); background: #fff; box-shadow: none; border: 1px solid var(--tb-border); }
.btn-light:hover { color: #fff; }
.hero { position: relative; overflow: hidden; padding: 90px 0 78px; background: linear-gradient(115deg, #f5f8fd 0%, #eef4fb 58%, #e7f0fb 100%); }
.hero:before { content: ""; position: absolute; width: 500px; height: 500px; right: -120px; top: -210px; border: 1px solid rgba(23,74,139,.12); border-radius: 50%; box-shadow: 0 0 0 60px rgba(23,74,139,.025), 0 0 0 120px rgba(23,74,139,.02); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 58px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; color: var(--tb-primary); font-size: 12px; font-weight: 800; letter-spacing: 1.8px; text-transform: uppercase; }
.eyebrow:before { content: ""; display: block; width: 24px; height: 2px; background: var(--tb-accent); }
.hero h1 { max-width: 680px; margin: 0 0 22px; color: var(--tb-ink); font-size: clamp(38px, 5vw, 62px); font-weight: 850; letter-spacing: -2.3px; line-height: 1.12; }
.hero h1 span { color: var(--tb-primary); }
.hero p { max-width: 580px; margin: 0 0 30px; color: #5a6b81; font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-visual { min-height: 420px; position: relative; display: flex; align-items: center; justify-content: center; }
.hero-photo { position: relative; overflow: hidden; width: 100%; height: 420px; border-radius: 30px 30px 90px 30px; background: linear-gradient(145deg, #c9dced, #8daed0); box-shadow: 0 28px 70px rgba(25,63,108,.18); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-photo-placeholder { display: grid; place-items: center; height: 100%; padding: 40px; color: #244e7e; text-align: center; background: radial-gradient(circle at 70% 20%, rgba(255,255,255,.85), transparent 26%), linear-gradient(145deg, #dce9f6, #a6c2df); }
.hero-photo-placeholder strong { display: block; font-size: 32px; line-height: 1.2; }
.hero-photo-placeholder span { display: block; margin-top: 12px; }
.floating-card { position: absolute; left: -28px; bottom: 28px; max-width: 230px; padding: 18px 20px; background: #fff; border: 1px solid rgba(227,234,242,.8); border-radius: 16px; box-shadow: var(--tb-shadow); }
.floating-card strong { display: block; color: var(--tb-primary); font-size: 27px; line-height: 1.2; }
.floating-card span { color: var(--tb-muted); font-size: 12px; }
.trust-strip { padding: 26px 0; border-bottom: 1px solid var(--tb-border); }
.trust-inner { display: flex; justify-content: space-between; align-items: center; gap: 25px; flex-wrap: wrap; }
.trust-label { color: #7a8798; font-size: 12px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; }
.trust-items { display: flex; align-items: center; flex-wrap: wrap; gap: 34px; color: #6d7c8e; font-weight: 800; font-size: 16px; }
.section { padding: 88px 0; }
.section-soft { background: var(--tb-soft); }
.section-heading { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section-heading .eyebrow { justify-content: center; }
.section-heading h2, .split-copy h2 { margin: 0 0 15px; font-size: clamp(30px, 3.4vw, 43px); line-height: 1.2; letter-spacing: -1.3px; }
.section-heading p, .split-copy p { margin: 0; color: var(--tb-muted); }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card { padding: 30px; border: 1px solid var(--tb-border); border-radius: var(--tb-radius); background: #fff; transition: transform .2s, box-shadow .2s; }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--tb-shadow); }
.service-icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 23px; color: var(--tb-primary); background: #edf4fc; border-radius: 16px; font-size: 25px; }
.service-card h3 { margin: 0 0 10px; font-size: 20px; }
.service-card p { margin: 0 0 20px; color: var(--tb-muted); font-size: 14px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--tb-primary); font-size: 14px; font-weight: 800; }
.split-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 70px; align-items: center; }
.split-visual { min-height: 380px; display: grid; place-items: center; padding: 38px; border-radius: 26px; background: linear-gradient(145deg, #dce9f6, #f2f6fb); }
.stats-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; width: 100%; }
.stat-card { padding: 25px; border-radius: 17px; background: #fff; box-shadow: 0 8px 24px rgba(23,38,60,.05); }
.stat-card strong { display: block; color: var(--tb-primary); font-size: 34px; line-height: 1.2; }
.stat-card span { color: var(--tb-muted); font-size: 13px; }
.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0; margin: 26px 0 30px; list-style: none; }
.check-list li { position: relative; padding-left: 27px; color: #34445a; font-size: 14px; }
.check-list li:before { content: "✓"; position: absolute; left: 0; top: 1px; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; color: #fff; background: #269d76; font-size: 11px; font-weight: 800; }
.process-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.process-step { padding: 26px; border-top: 3px solid var(--tb-accent); background: #fff; border-radius: 0 0 15px 15px; }
.process-step .step-no { color: #a9b8c9; font-size: 13px; font-weight: 800; letter-spacing: 1px; }
.process-step h3 { margin: 9px 0; font-size: 18px; }
.process-step p { margin: 0; color: var(--tb-muted); font-size: 13px; }
.cta-band { padding: 56px; display: flex; align-items: center; justify-content: space-between; gap: 30px; border-radius: 25px; color: #fff; background: var(--tb-primary); }
.cta-band h2 { max-width: 620px; margin: 0 0 10px; font-size: clamp(28px,3vw,38px); line-height: 1.2; }
.cta-band p { margin: 0; color: rgba(255,255,255,.75); }
.cta-band .btn { flex-shrink: 0; color: var(--tb-primary); background: #fff; }
.site-footer { padding: 62px 0 0; color: #d7e1ef; background: #10253e; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 42px; padding-bottom: 45px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { max-width: 310px; color: #aebed1; font-size: 14px; }
.footer-heading { margin: 4px 0 18px; color: #fff; font-size: 14px; }
.footer-menu, .footer-contact { padding: 0; margin: 0; list-style: none; }
.footer-menu li, .footer-contact li { margin: 0 0 10px; color: #aebed1; font-size: 13px; }
.footer-menu a { color: #aebed1; }
.footer-menu a:hover { color: #fff; }
.footer-bottom { padding: 20px 0; border-top: 1px solid rgba(255,255,255,.12); color: #91a4bb; font-size: 12px; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.page-hero { padding: 65px 0; background: var(--tb-soft); }
.page-hero h1 { margin: 0 0 12px; font-size: clamp(34px,4vw,48px); line-height: 1.15; letter-spacing: -1.5px; }
.page-hero p { max-width: 700px; margin: 0; color: var(--tb-muted); }
.content-area { padding: 64px 0 88px; }
.content-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 48px; }
.content-layout.no-sidebar { grid-template-columns: minmax(0,1fr); }
.entry-card, .post-card { overflow: hidden; border: 1px solid var(--tb-border); border-radius: 18px; background: #fff; }
.post-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.post-thumb { display: block; aspect-ratio: 16/10; overflow: hidden; background: #edf3fa; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.post-card:hover .post-thumb img { transform: scale(1.04); }
.post-body { padding: 23px; }
.post-meta { color: #8290a1; font-size: 12px; }
.post-body h2, .post-body h3 { margin: 9px 0 12px; font-size: 19px; line-height: 1.35; }
.post-body p { color: var(--tb-muted); font-size: 14px; }
.entry-content { color: #425269; }
.entry-content h2, .entry-content h3 { color: var(--tb-ink); }
.entry-content img { border-radius: 12px; }
.sidebar-widget { margin-bottom: 28px; padding: 24px; border: 1px solid var(--tb-border); border-radius: 16px; }
.sidebar-widget h2 { margin: 0 0 14px; font-size: 17px; }
.sidebar-widget ul { padding-left: 19px; }
.pagination { margin-top: 35px; }
.pagination .nav-links { display: flex; gap: 8px; }
.pagination a, .pagination span { padding: 8px 13px; border: 1px solid var(--tb-border); border-radius: 8px; }
.pagination .current { color: #fff; background: var(--tb-primary); }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 28px; }
.contact-panel { padding: 32px; border-radius: 18px; background: var(--tb-soft); }
.contact-panel h2 { margin-top: 0; }
.contact-item { margin: 22px 0; }
.contact-item strong { display: block; }
.contact-item span { color: var(--tb-muted); font-size: 14px; }
.contact-form { padding: 32px; border: 1px solid var(--tb-border); border-radius: 18px; }
.contact-form label { display: block; margin: 0 0 7px; font-size: 13px; font-weight: 750; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; margin-bottom: 17px; padding: 12px 14px; border: 1px solid #d8e1ec; border-radius: 10px; background: #fff; }
.contact-form textarea { min-height: 130px; resize: vertical; }
.notice { padding: 15px 18px; border-radius: 10px; background: #edf8f2; color: #176542; }
.empty-state { padding: 40px; border: 1px dashed var(--tb-border); border-radius: 16px; text-align: center; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.alignwide { max-width: 1200px; margin-left: auto; margin-right: auto; }
.alignfull { width: 100%; max-width: 100%; margin-left: 0; margin-right: 0; }
.wp-block-button__link { border-radius: 999px; background: var(--tb-primary); }
@media (max-width: 980px) {
  .primary-navigation { display: none; position: absolute; top: 81px; left: 0; right: 0; padding: 18px 24px 24px; background: #fff; border-bottom: 1px solid var(--tb-border); }
  .primary-navigation.is-open { display: block; }
  .primary-navigation ul { align-items: stretch; flex-direction: column; gap: 0; }
  .primary-navigation li { padding: 10px 0; }
  .menu-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .hero-grid, .split-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 65px 0; }
  .hero-visual { max-width: 650px; width: 100%; margin-inline: auto; }
  .split-grid { gap: 35px; }
  .process-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: repeat(2,1fr); }
  .content-layout { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .container { width: min(100% - 30px, 1160px); }
  .header-inner { min-height: 72px; }
  .primary-navigation { top: 71px; }
  .hero { padding: 50px 0; }
  .hero h1 { letter-spacing: -1.3px; }
  .hero p { font-size: 16px; }
  .hero-visual { min-height: 310px; }
  .hero-photo { height: 310px; border-radius: 22px 22px 55px 22px; }
  .floating-card { left: -5px; bottom: 12px; padding: 13px 15px; }
  .section { padding: 62px 0; }
  .card-grid, .post-grid, .contact-grid { grid-template-columns: 1fr; }
  .check-list { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .cta-band { align-items: flex-start; flex-direction: column; padding: 32px 25px; }
  .footer-grid { grid-template-columns: 1fr; gap: 25px; }
  .trust-inner { align-items: flex-start; flex-direction: column; }
  .trust-items { gap: 18px; }
  .split-visual { min-height: 280px; padding: 20px; }
  .stat-card { padding: 18px; }
}
