/* =============================================
   Better Resource Service — Main Stylesheet
   ============================================= */

:root {
  --blue-dark:  #0a2540;
  --blue-mid:   #1a56db;
  --blue-light: #e8f0fe;
  --accent:     #2563eb;
  --white:      #ffffff;
  --gray-100:   #f8fafc;
  --gray-200:   #e2e8f0;
  --gray-500:   #64748b;
  --gray-700:   #334155;
  --gray-900:   #0f172a;
  --font:       'Inter', sans-serif;
  --radius:     12px;
  --shadow:     0 4px 24px rgba(10,37,64,.10);
  --shadow-lg:  0 8px 40px rgba(10,37,64,.16);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── TYPOGRAPHY ─────────────────────────────── */
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; line-height: 1.15; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; line-height: 1.25; }
h3 { font-size: 1.2rem; font-weight: 600; }
p  { color: var(--gray-700); }

.text-blue  { color: var(--blue-mid); }
.text-light { color: var(--gray-500); font-size: .95rem; }

/* ── BUTTONS ────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  transition: all .2s;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--blue-mid);
  color: var(--white);
}
.btn-primary:hover { background: var(--accent); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(26,86,219,.35); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.6);
}
.btn-outline:hover { background: var(--white); color: var(--blue-mid); }

.btn-outline-dark {
  background: transparent;
  color: var(--blue-mid);
  border: 2px solid var(--blue-mid);
}
.btn-outline-dark:hover { background: var(--blue-light); }

/* ── LAYOUT HELPERS ─────────────────────────── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section {
  padding: 80px 0;
}
.section-sm { padding: 56px 0; }
.bg-light  { background: var(--gray-100); }
.bg-dark   { background: var(--blue-dark); color: var(--white); }
.bg-blue   { background: var(--blue-mid);  color: var(--white); }

.section-label {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue-mid);
  margin-bottom: .75rem;
}
.section-label.light { color: rgba(255,255,255,.75); }

.section-header { max-width: 620px; margin-bottom: 3rem; }
.section-header.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ── NAVBAR ─────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-size: .95rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--blue-mid); }
.nav-cta .btn { padding: .6rem 1.4rem; font-size: .9rem; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: all .3s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav drawer */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  border-top: 1px solid var(--gray-200);
  background: var(--white);
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-weight: 500; color: var(--gray-700); padding: .4rem 0; }
.mobile-menu a:hover { color: var(--blue-mid); }

/* ── HERO ───────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, #0e3a6e 60%, #1a56db 100%);
  color: var(--white);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: rgba(255,255,255,.03);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.8);
  margin: 1.25rem 0 2rem;
  max-width: 480px;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  backdrop-filter: blur(6px);
  width: 100%;
  max-width: 360px;
}
.hero-card-stat {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--white);
}
.hero-card-stat span { color: rgba(255,255,255,.55); font-size: 1rem; font-weight: 400; display: block; margin-top: .25rem; }
.hero-card-divider { height: 1px; background: rgba(255,255,255,.15); margin: 1.25rem 0; }

/* ── TRUST BAR ──────────────────────────────── */
.trust-bar {
  background: var(--blue-dark);
  padding: 18px 0;
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: rgba(255,255,255,.75);
  font-size: .9rem;
  font-weight: 500;
}
.trust-item i { color: var(--blue-mid); font-size: 1.1rem; }

/* ── SERVICES OVERVIEW ──────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  transition: all .25s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--blue-light); }
.service-icon {
  width: 52px; height: 52px;
  background: var(--blue-light);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.4rem;
  color: var(--blue-mid);
}
.service-card h3 { margin-bottom: .5rem; }
.service-card p  { font-size: .95rem; }
.service-card .link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: 1rem;
  font-size: .9rem;
  font-weight: 600;
  color: var(--blue-mid);
}
.service-card .link-arrow:hover { gap: .7rem; }

/* ── WHY US ─────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.why-item {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
}
.why-icon {
  font-size: 1.3rem;
  color: var(--blue-mid);
  flex-shrink: 0;
  margin-top: .1rem;
}
.why-item h4 { font-weight: 600; font-size: .95rem; margin-bottom: .3rem; }
.why-item p  { font-size: .88rem; }

/* ── HOW IT WORKS ───────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  counter-reset: steps;
}
.step-card {
  text-align: center;
  padding: 2rem 1.25rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  position: relative;
  transition: box-shadow .2s;
}
.step-card:hover { box-shadow: var(--shadow); }
.step-num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--blue-mid);
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}
.step-card h4 { font-size: .95rem; font-weight: 600; margin-bottom: .4rem; }
.step-card p  { font-size: .85rem; }

/* ── PORTFOLIO ──────────────────────────────── */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
}
.portfolio-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  background: var(--white);
  transition: all .25s;
}
.portfolio-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.portfolio-thumb {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: top;
  display: block;
  background: var(--gray-200);
}
.portfolio-thumb-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.5);
  font-size: 2.5rem;
}
.portfolio-info {
  padding: 1.25rem 1.5rem;
}
.portfolio-info h4 { font-size: 1rem; font-weight: 600; margin-bottom: .25rem; }
.portfolio-info p  { font-size: .88rem; margin-bottom: .9rem; }
.portfolio-info .tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  background: var(--blue-light);
  color: var(--blue-mid);
  padding: .25rem .75rem;
  border-radius: 50px;
  margin-bottom: .9rem;
  margin-right: .4rem;
}
.portfolio-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .88rem;
  font-weight: 600;
  color: var(--blue-mid);
}
.portfolio-link:hover { gap: .7rem; }

/* ── CALENDLY SECTION ───────────────────────── */
.calendly-section {
  padding: 80px 0;
  background: var(--gray-100);
}
.calendly-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.calendly-inner h2 { margin-bottom: .75rem; }
.calendly-inner p  { margin-bottom: 2.5rem; }
.calendly-widget-wrap {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

/* ── CTA BANNER ─────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-mid) 100%);
  color: var(--white);
  padding: 72px 0;
  text-align: center;
}
.cta-banner h2 { margin-bottom: .75rem; }
.cta-banner p  { color: rgba(255,255,255,.8); margin-bottom: 2rem; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-banner .btn-group { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── FOOTER ─────────────────────────────────── */
footer {
  background: var(--gray-900);
  color: rgba(255,255,255,.65);
  padding: 56px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}
.footer-brand img { height: 40px; width: auto; filter: brightness(0) invert(1); margin-bottom: 1rem; }
.footer-brand p  { font-size: .9rem; max-width: 280px; line-height: 1.7; }
footer h5 { color: var(--white); font-size: .85rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1rem; }
footer ul li { margin-bottom: .6rem; }
footer ul li a { font-size: .9rem; transition: color .2s; }
footer ul li a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .85rem;
}
.footer-bottom a { color: var(--blue-mid); }

/* ── PAGE HERO (inner pages) ────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--blue-dark), #1a3e6e);
  color: var(--white);
  padding: 72px 0 64px;
}
.page-hero p { color: rgba(255,255,255,.78); max-width: 560px; margin-top: .75rem; font-size: 1.1rem; }

/* ── FEATURE LIST ───────────────────────────── */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: .9rem;
}
.feature-list li {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .95rem;
  color: var(--gray-700);
}
.feature-list li i { color: var(--blue-mid); font-size: 1rem; flex-shrink: 0; }

/* ── TWO-COL ────────────────────────────────── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }

.highlight-box {
  background: var(--blue-light);
  border-left: 4px solid var(--blue-mid);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.75rem 2rem;
}
.highlight-box h3 { color: var(--blue-dark); margin-bottom: .75rem; }
.highlight-box p  { color: var(--gray-700); }

/* ── PRICING HINT ───────────────────────────── */
.pricing-note {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
}
.pricing-note .price { font-size: 3rem; font-weight: 800; color: var(--blue-mid); line-height: 1; }
.pricing-note .price sub { font-size: 1rem; font-weight: 500; vertical-align: middle; }

/* ── BLANK / COMING SOON ────────────────────── */
.coming-soon {
  text-align: center;
  padding: 80px 0;
}
.coming-soon .badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--blue-light);
  color: var(--blue-mid);
  font-weight: 600;
  font-size: .85rem;
  padding: .4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

/* ── RESPONSIVE ─────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner  { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .two-col     { grid-template-columns: 1fr; gap: 2rem; }
  .two-col.reverse { direction: ltr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .section   { padding: 56px 0; }
  .hero      { padding: 72px 0 56px; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .trust-bar-inner { gap: 1.25rem; }
}
