/*
Theme Name: Hybrid Resources Ltd.
Theme URI: https://hybridresourcesltd.store
Author: Hybrid Resources Ltd.
Author URI: https://hybridresourcesltd.store
Description: Official custom WordPress theme for Hybrid Resources Ltd. in Sylhet, Bangladesh.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hybrid-resources-ltd
*/

:root {
  --hr-slate: #0F172A;
  --hr-blue: #2563EB;
  --hr-teal: #0D9488;
  --hr-light: #F8FAFC;
  --hr-border: #E2E8F0;
  --hr-muted: #64748B;
  --hr-radius: 10px;
  --hr-max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--hr-slate);
  background: #fff;
  line-height: 1.65;
  font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--hr-blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: 'Manrope', 'Inter', sans-serif; line-height: 1.2; margin: 0 0 .6em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
.hr-container { width: 100%; max-width: var(--hr-max); margin: 0 auto; padding: 0 20px; }
.hr-btn {
  display: inline-block; padding: 13px 26px; border-radius: var(--hr-radius);
  background: var(--hr-blue); color: #fff; font-weight: 600; border: 0; cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.hr-btn:hover { background: #1d4ed8; text-decoration: none; transform: translateY(-1px); }
.hr-btn--ghost { background: transparent; border: 1px solid rgba(255,255,255,.35); color: #fff; }
.hr-btn--ghost:hover { background: rgba(255,255,255,.12); }
.hr-btn--teal { background: var(--hr-teal); }
.hr-btn--teal:hover { background: #0b7c72; }

/* ---------- Header ---------- */
.hr-topbar { background: var(--hr-slate); color: #CBD5E1; font-size: .85rem; }
.hr-topbar .hr-container { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between; padding-top: 8px; padding-bottom: 8px; }
.hr-topbar a { color: #E2E8F0; }
.hr-site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--hr-border); }
.hr-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 20px; }
.hr-brand { display: flex; align-items: center; gap: 12px; }
.hr-brand-name { font-weight: 800; font-size: 1.15rem; color: var(--hr-slate); font-family: 'Manrope', sans-serif; }
.hr-brand-name span { color: var(--hr-blue); }
.hr-brand-tag { display: block; font-size: .72rem; color: var(--hr-muted); font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }
.hr-nav ul { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; }
.hr-nav a { color: var(--hr-slate); font-weight: 600; font-size: .95rem; }
.hr-nav a:hover { color: var(--hr-blue); text-decoration: none; }
.hr-header-cta { display: flex; align-items: center; gap: 14px; }
.hr-menu-toggle { display: none; background: none; border: 1px solid var(--hr-border); border-radius: 8px; padding: 8px 12px; font-size: 1rem; cursor: pointer; }

/* ---------- Hero ---------- */
.hr-hero {
  background: linear-gradient(135deg, var(--hr-slate) 0%, #14306b 55%, var(--hr-teal) 140%);
  color: #fff; padding: 90px 0;
}
.hr-hero h1 { color: #fff; max-width: 900px; }
.hr-hero p { color: #CBD5E1; font-size: 1.12rem; max-width: 680px; }
.hr-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hr-badge { display: inline-block; background: rgba(13,148,136,.18); border: 1px solid rgba(13,148,136,.45); color: #5EEAD4; padding: 6px 14px; border-radius: 999px; font-size: .8rem; font-weight: 600; margin-bottom: 20px; }

/* ---------- Sections ---------- */
.hr-section { padding: 76px 0; }
.hr-section--light { background: var(--hr-light); }
.hr-section-head { max-width: 720px; margin-bottom: 42px; }
.hr-eyebrow { color: var(--hr-teal); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; margin: 0 0 10px; }
.hr-grid { display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); }
.hr-grid--2 { grid-template-columns: repeat(2, 1fr); }
.hr-card { background: #fff; border: 1px solid var(--hr-border); border-radius: 14px; padding: 26px; transition: box-shadow .2s ease, transform .2s ease; }
.hr-card:hover { box-shadow: 0 12px 30px rgba(15,23,42,.08); transform: translateY(-2px); }
.hr-card h3 { font-size: 1.12rem; margin-bottom: .4em; }
.hr-card p { color: var(--hr-muted); margin: 0; font-size: .95rem; }
.hr-card-icon { width: 44px; height: 44px; border-radius: 10px; background: rgba(37,99,235,.1); color: var(--hr-blue); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; margin-bottom: 16px; }
.hr-info-list { list-style: none; margin: 0; padding: 0; }
.hr-info-list li { padding: 12px 0; border-bottom: 1px solid var(--hr-border); }
.hr-info-list li:last-child { border-bottom: 0; }
.hr-info-list strong { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--hr-muted); }

/* ---------- Content ---------- */
.hr-page-header { background: var(--hr-light); border-bottom: 1px solid var(--hr-border); padding: 54px 0; }
.hr-content { padding: 60px 0; }
.hr-content .hr-container { max-width: 820px; }
.hr-entry img { border-radius: 12px; }
.hr-entry blockquote { border-left: 4px solid var(--hr-teal); margin: 0; padding: 4px 20px; color: var(--hr-muted); }
.hr-meta { color: var(--hr-muted); font-size: .88rem; margin-bottom: 20px; }
.hr-pagination { margin-top: 30px; display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.hr-site-footer { background: var(--hr-slate); color: #CBD5E1; padding: 60px 0 0; }
.hr-site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.hr-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 36px; }
.hr-site-footer a { color: #CBD5E1; }
.hr-site-footer a:hover { color: #fff; }
.hr-site-footer ul { list-style: none; margin: 0; padding: 0; }
.hr-site-footer ul li { margin-bottom: 10px; }
.hr-legal-box { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 20px; font-size: .92rem; }
.hr-legal-box dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: #94A3B8; }
.hr-legal-box dd { margin: 0 0 12px; color: #fff; }
.hr-footer-bottom { margin-top: 46px; border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0; font-size: .85rem; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; }

/* ---------- Forms ---------- */
.hr-field { margin-bottom: 16px; }
.hr-field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.hr-field input, .hr-field textarea, .hr-field select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--hr-border);
  border-radius: 10px; font: inherit; background: #fff;
}
.hr-field input:focus, .hr-field textarea:focus { outline: 2px solid rgba(37,99,235,.35); border-color: var(--hr-blue); }

/* ---------- 404 ---------- */
.hr-404 { text-align: center; padding: 110px 0; }
.hr-404 .hr-code { font-size: 5rem; font-weight: 800; color: var(--hr-blue); line-height: 1; }

/* ---------- Accessibility ---------- */
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus { position: static; width: auto; height: auto; clip: auto; padding: 10px; background: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hr-grid, .hr-grid--2 { grid-template-columns: repeat(2, 1fr); }
  .hr-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .hr-grid, .hr-grid--2, .hr-footer-grid { grid-template-columns: 1fr; }
  .hr-menu-toggle { display: block; }
  .hr-nav { display: none; width: 100%; }
  .hr-nav.is-open { display: block; }
  .hr-nav ul { flex-direction: column; gap: 0; padding: 10px 0; }
  .hr-nav ul li { border-top: 1px solid var(--hr-border); padding: 12px 0; }
  .hr-header-inner { flex-wrap: wrap; }
  .hr-header-cta .hr-btn { display: none; }
  .hr-hero { padding: 60px 0; }
}
