/*
Theme Name: Bookwise Financials
Theme URI: https://agbookwise.com/
Author: AG Bookwise
Author URI: https://agbookwise.com/
Description: A professional, responsive Bookwise Financials website theme with a built-in enquiry form that emails submissions to info@agbookwise.com using WordPress mail.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bookwise-financials
Tags: business, education, portfolio, one-column, custom-logo, custom-menu, featured-images, translation-ready
*/

:root {
  --bw-navy: #073b68;
  --bw-blue: #0967a7;
  --bw-green: #008d73;
  --bw-lime: #6bbd45;
  --bw-pale: #eef7fb;
  --bw-ink: #173b59;
  --bw-muted: #526b7d;
  --bw-line: #d7e5ed;
  --bw-white: #fff;
  --bw-shadow: 0 10px 28px rgba(7, 59, 104, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; color: var(--bw-ink); background: #fff; font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.6; }
img { max-width: 100%; height: auto; }
a { color: var(--bw-blue); }
a:hover, a:focus { color: var(--bw-green); }
button, input, select, textarea { font: inherit; }
button, .button { cursor: pointer; }
.wrap { width: min(1180px, 92%); margin-inline: auto; }
.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; }
.skip-link:focus { position: fixed; top: 10px; left: 10px; width: auto; height: auto; padding: 12px 16px; clip: auto; z-index: 9999; background: #fff; color: var(--bw-navy); box-shadow: var(--bw-shadow); }

.topbar { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid #e8eef2; box-shadow: 0 2px 10px rgba(7,59,104,.035); }
.admin-bar .topbar { top: 32px; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 82px; padding-block: 10px; }
.logo-link { display: inline-flex; align-items: center; text-decoration: none; flex: 0 1 300px; }
.logo { display: block; width: 300px; max-width: 100%; height: auto; }
.primary-nav { display: flex; align-items: center; justify-content: flex-end; gap: 20px; }
.primary-nav ul { display: flex; align-items: center; gap: 20px; list-style: none; padding: 0; margin: 0; }
.primary-nav a { font-size: 14px; font-weight: 700; color: var(--bw-navy); text-decoration: none; }
.primary-nav a:hover, .primary-nav a:focus { color: var(--bw-green); }
.nav-cta { flex-shrink: 0; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border: 2px solid transparent; border-radius: 28px; background: var(--bw-blue); color: #fff; text-align: center; text-decoration: none; font-weight: 700; line-height: 1.3; transition: transform .15s ease, background .15s ease; }
.button:hover, .button:focus { color: #fff; background: var(--bw-navy); transform: translateY(-1px); }
.button-green { background: var(--bw-green); }
.button-green:hover, .button-green:focus { background: #006e5b; }
.button-whatsapp { background: #168b50; }
.button-whatsapp:hover, .button-whatsapp:focus { background: #0b6b3a; }

.hero { overflow: hidden; background: linear-gradient(110deg, #eef7fb 0%, #fff 72%); }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 34px; min-height: 430px; padding-block: 32px 24px; }
h1, h2, h3, h4 { color: var(--bw-navy); line-height: 1.2; }
h1 { margin: 0 0 18px; font-size: clamp(32px, 4.1vw, 49px); letter-spacing: -1.1px; }
h2 { margin: 0 0 13px; font-size: clamp(25px, 3vw, 30px); }
h3 { margin: 0 0 8px; color: var(--bw-blue); font-size: 18px; }
p { margin: 0 0 13px; }
.lead { max-width: 640px; margin-bottom: 19px; font-size: clamp(18px, 2vw, 20px); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }
.hero-photo { align-self: stretch; display: flex; align-items: flex-end; justify-content: center; min-height: 330px; background: radial-gradient(ellipse at 50% 82%, #d8eaf3 0, transparent 68%); }
.hero-photo img { width: 100%; max-height: 385px; object-fit: contain; object-position: center bottom; mix-blend-mode: multiply; }
.proof { display: flex; flex-wrap: wrap; gap: 0; margin-top: 24px; }
.proof span { flex: 1 1 150px; padding: 7px 14px; border-left: 1px solid #b6cbd9; font-size: 13px; font-weight: 700; }
.proof span:first-child { padding-left: 0; border-left: 0; }

.section { padding: 46px 0; }
.section-title { margin-bottom: 18px; }
.section-title::after { display: block; content: ''; width: 43px; height: 3px; margin-top: 10px; background: var(--bw-lime); }
.services-layout { display: grid; grid-template-columns: 1.03fr .97fr; gap: 34px; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; margin-top: 20px; }
.card { padding: 22px; border: 1px solid #e3eef4; border-radius: 10px; background: var(--bw-pale); }
.card:nth-child(2n) { background: #eef8f5; }
.card ul { margin: 10px 0 0; padding-left: 20px; }
.card li { margin: 5px 0; font-size: 14px; }
.board { display: flex; align-items: center; gap: 14px; margin-top: 14px; padding: 17px 20px; border-radius: 9px; background: #edf6fb; }
.board strong { color: var(--bw-navy); }
.small { color: var(--bw-muted); font-size: 13px; }
.about-grid { display: grid; grid-template-columns: minmax(0,1fr) 225px; align-items: start; gap: 20px; }
.credential { padding: 18px; border-radius: 9px; background: #f0f7fb; font-size: 14px; }
.credential ul { margin: 10px 0; padding-left: 20px; }
.credential li { margin: 4px 0; }
.tagline { margin-top: 15px; padding: 12px; border-radius: 9px; background: #eaf7f3; color: var(--bw-navy); font-weight: 700; }
.reason-section { background: #f6fafc; }
.reason-card { min-height: 135px; }
.contact-section { background: #f5fafc; }
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr); align-items: start; gap: 34px; }
.contact-copy a { overflow-wrap: anywhere; }
.contact-area { padding: 24px; border: 1px solid #e1edf3; border-radius: 10px; background: #eff8fc; box-shadow: var(--bw-shadow); }
.contact-area input, .contact-area select, .contact-area textarea { display: block; width: 100%; margin: 5px 0 13px; padding: 11px 12px; border: 1px solid #cad9e3; border-radius: 5px; background: #fff; color: var(--bw-ink); }
.contact-area input:focus, .contact-area select:focus, .contact-area textarea:focus { outline: 2px solid #7db7dc; outline-offset: 1px; }
.contact-area textarea { min-height: 105px; resize: vertical; }
.contact-area label { display: block; font-weight: 700; font-size: 14px; }
.contact-area .button { width: 100%; }
.notice { margin-top: 10px; color: var(--bw-muted); font-size: 12px; }
.form-status { margin: 14px 0; padding: 12px 14px; border-radius: 6px; background: #fff; border-left: 4px solid var(--bw-green); }
.form-status.error { border-left-color: #b42318; }
.contact-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.footer { padding: 24px 0; background: #07365d; color: #fff; }
.footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-logo { display: block; width: 225px; max-width: 35vw; padding: 5px; border-radius: 4px; background: #fff; }
.footer a { color: #fff; }
.footer p { margin-bottom: 0; }
.footer .small { color: #e4f1f8; }
.whatsapp-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; padding: 12px 17px; border-radius: 30px; background: #168b50; color: #fff !important; text-decoration: none; font-weight: 700; box-shadow: 0 4px 14px rgba(0,0,0,.22); }
.whatsapp-float:hover, .whatsapp-float:focus { background: #0b6b3a; }

/* Standard WordPress content templates */
.site-content { min-height: 48vh; padding: 44px 0 60px; }
.content-narrow { width: min(820px, 92%); margin-inline: auto; }
.entry-title { margin: 0 0 14px; }
.entry-meta { margin-bottom: 18px; color: var(--bw-muted); font-size: 13px; }
.entry-content > * + * { margin-top: 1em; }
.entry-content img { border-radius: 8px; }
.pagination, .nav-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.pagination a, .pagination span, .nav-links a { display: inline-block; padding: 8px 12px; border: 1px solid var(--bw-line); border-radius: 5px; text-decoration: none; }
.post-card { margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--bw-line); }
.search-form { display: flex; gap: 8px; }
.search-form input[type="search"] { min-width: 0; padding: 10px; border: 1px solid var(--bw-line); border-radius: 5px; }
.search-form input[type="submit"] { padding: 10px 16px; border: 0; border-radius: 5px; background: var(--bw-blue); color: #fff; cursor: pointer; }
.comment-list { padding-left: 22px; }
.comment-form input:not([type="submit"]), .comment-form textarea { width: 100%; max-width: 600px; padding: 10px; border: 1px solid var(--bw-line); border-radius: 4px; }
.comment-form input[type="submit"] { padding: 10px 16px; border: 0; border-radius: 24px; background: var(--bw-blue); color: #fff; cursor: pointer; }

@media (max-width: 980px) {
  .nav { flex-wrap: wrap; }
  .logo-link { flex-basis: 240px; }
  .logo { width: 245px; }
  .primary-nav { flex: 1 1 100%; order: 3; justify-content: flex-start; }
  .primary-nav ul { flex-wrap: wrap; gap: 14px; }
  .nav-cta { margin-left: auto; }
  .hero-grid, .services-layout { grid-template-columns: 1fr; }
  .hero-grid { padding-top: 35px; }
  .hero-photo { min-height: 240px; max-height: 310px; }
  .hero-photo img { max-height: 300px; }
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (max-width: 700px) {
  .admin-bar .topbar { top: 46px; }
  .nav { align-items: flex-start; gap: 12px; padding-block: 12px; }
  .logo-link { flex: 0 1 auto; }
  .logo { width: 235px; }
  .nav-cta { display: none; }
  .primary-nav { width: 100%; }
  .primary-nav ul { gap: 10px 15px; }
  .primary-nav a { font-size: 12px; }
  .hero-grid { gap: 10px; }
  .proof span { flex-basis: 50%; border-left: 0; padding-left: 0; }
  .cards, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .section { padding: 34px 0; }
  .board { align-items: flex-start; flex-direction: column; gap: 5px; }
  .contact-area { padding: 18px; }
  .footer-grid { align-items: flex-start; flex-direction: column; }
  .footer-logo { max-width: 75vw; }
  .whatsapp-float { right: 12px; bottom: 12px; padding: 10px 14px; font-size: 14px; }
}
