/* 🌤️ TaxTech Financial Solutions — Final Style.css (Soft Gradient + Tinted Cards) */

/* ---------- Base Theme Colors ---------- */
:root {
  --bg-gradient: linear-gradient(to bottom, #cfe5f5 0%, #dbe4f0 50%, #edf0f6 100%);
  --text: #0f172a;
  --muted: #475569;
  --card: #f8fafc; /* ✅ Soft tinted white */
  --border: #e5e7eb;
  --navy: #0A1A2F;
  --emerald: #007F5F;
  --gold: #D4AF37;
}

/* Dark mode */
html.dark {
  --bg-gradient: linear-gradient(to bottom, #0b1220 0%, #1a2234 100%);
  --text: #e5e7eb;
  --muted: #a3b0c2;
  --card: #0f1b2e;
  --border: #1e2a3d;
}

/* ---------- Base Reset ---------- */
* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}
body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg-gradient); /* ✅ unified gradient */
  color: var(--text);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--emerald); text-decoration: none; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--emerald);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: .8rem 1.1rem;
  font-weight: 600;
  cursor: pointer;
}
.btn.light {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

/* ---------- Header / Navigation ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in oklab, #ffffff 80%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 14px;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  min-width: 260px;
}
.brand img {
  width: 46px;
  height: 46px;
  border-radius: 12px;
}
.brand .nm { font-weight: 800; }
.links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.links a {
  padding: 6px 8px;
  color: #333;
  font-weight: 700; /* <-- make bold */

}
.links a:hover {
  background-color: #1a73e8;       /* blue background */
  color: #fff;                     /* white text */
}
.toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 6px 10px;
  cursor: pointer;
  color: var(--muted);
}

/* ---------- Typography ---------- */
h1 {
  font-size: clamp(26px, 4.2vw, 42px);
  line-height: 1.22;
  margin: 0 0 10px;
}
h2 {
  font-size: clamp(20px, 3vw, 28px);
  line-height: 1.25;
  margin: 0 0 8px;
}
h3 {
  font-size: clamp(16px, 2.2vw, 20px);
  line-height: 1.3;
  margin: 0 0 6px;
}
p {
  margin: 8px 0;
  max-width: 75ch;
  overflow-wrap: break-word;
}

/* ---------- Hero (All Pages) ---------- */
.hero,
.services-banner,
.about-hero,
.industries-hero,
.contact-hero {
  background: var(--bg-gradient);
  color: var(--text);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  padding: 64px 0;
}
.hero .subtitle {
  color: #334155;
  max-width: 62ch;
}
.hero .cta {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.hero .kpis {
  margin-top: 18px;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, 1fr);
  max-width: 520px;
}
.hero-img {
  border-radius: 16px;
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--card);
}

/* ---------- Layout Utilities ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(2, 6, 23, .05);
  padding: 18px;
}
.section { padding: 56px 0; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.kpi {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  text-align: center;
  color: var(--text);
}
.kpi .v { font-weight: 900; font-size: 26px; color: #1e3a8a; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: #ffffff1a;
  border: 1px solid #ffffff2e;
  color: #0f172a;
  padding: .3rem .7rem;
  border-radius: 999px;
  font-size: 12px;
}
figure { margin: 0; }
figure img {
  border-radius: 16px;
  border: 1px solid var(--border);
}
footer {
  border-top: 1px solid var(--border);
  padding: 36px 0;
  margin-top: 36px;
  color: var(--muted);
}
.success {
  background: #ecfdf5;
  border: 1px solid #10b981;
  color: #065f46;
  padding: 14px;
  border-radius: 12px;
  margin-top: 10px;
  display: none;
}

/* ---------- Responsive Adjustments ---------- */
@media(max-width:1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 18px; }
  .hero .kpis { grid-template-columns: repeat(3, 1fr); }
}
@media(max-width:640px) {
  .links { gap: 6px; }
  .hero .kpis { grid-template-columns: 1fr 1fr; }
}

/* ---------- SERVICES BANNER ---------- */
.services-banner {
  width: 100%;
  aspect-ratio: 3 / 2;
  background-image: url("services-hero.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  display: block;
  overflow: hidden;
  margin: 0 auto;
}

/* ---------- Chips for Industry Highlights ---------- */
.chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.chips span{display:inline-block;padding:4px 8px;border-radius:999px;background:rgba(2,21,40,.06);color:#123;font-size:12px;font-weight:600}

/* ---------- Industries Page Layout ---------- */
.section.tight{padding-top:24px;padding-bottom:24px}
.tight .grid.cards-3{gap:12px}
.tight .card{padding:12px}
.card h3{font-size:18px;line-height:1.2;margin:0 0 6px 0;word-break:break-word;hyphens:auto;color:#0B1A2B}
.card p{font-size:14px;line-height:1.45;margin:0 0 8px 0;word-break:break-word;hyphens:auto;color:#0B1A2B}
.chips{margin-top:6px}
.chips span{font-size:11px;padding:3px 8px}
@media (max-width: 1100px){.grid.cards-3{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width: 720px){.grid.cards-3{grid-template-columns:1fr}}

/* ---------- Card Hover Effect ---------- */
.card{cursor:default}
.card:hover{box-shadow:0 4px 16px rgba(2,21,40,.08);transform:translateY(-1px);transition:box-shadow .2s ease, transform .2s ease}
.chips span{background:rgba(10,160,110,.14);color:#08664C;font-weight:700}
/* Contact page secondary CTA */
.schedule-cta {
  margin-top: 1rem;
  text-align: left;        /* bottom-left alignment */
}

.btn-secondary {
  background-color: #fff;  /* white button with blue border */
  color: #1a73e8;
  border: 2px solid #1a73e8;
  border-radius: 6px;
  padding: 10px 20px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background-color: #1a73e8;
  color: #fff;
}

/* Make the Consultation link match all other navigation links */
nav .btn[href="contact.html"] {
  background: none !important;
  color: #333 !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 6px 8px !important;
  font-weight: 700 !important;
  transition: all 0.3s ease;
}

/* Same hover effect as other navigation items */
nav .btn[href="contact.html"]:hover {
  background-color: #1a73e8 !important; /* blue background */
  color: #fff !important;               /* white text */
}



/* --- Hero CTA buttons individual hover effects --- */
.hero .cta .btn {
  transition: all 0.3s ease;
}

/* main solid button hover (Schedule) */
.hero .cta .btn:hover {
  background-color: #1558b0; /* darker blue hover */
}

/* secondary light buttons hover (Contact, Explore) */
.hero .cta .btn.light:hover {
  background-color: #1a73e8; /* blue hover background */
  color: #fff;               /* white text */
  border-color: #1a73e8;
}

/* === Active Page Highlight (nav) === */
.links a.active {
  color: #0a7fdb;
  font-weight: 700;
  border-bottom: 2px solid #0a7fdb;
}

/* === Services hero row (dark banner + bright filing card) === */

.services-hero-row {
  padding: 48px 0 40px;
  background: #fdf7eb; /* light cream to match brand */
}

.services-hero-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: stretch;
}

/* Left: Our Services banner */
.services-hero-left {
  flex: 1 1 420px;
  display: flex;
  justify-content: center;
}

.services-banner {
  width: 100%;
  max-width: 520px;
  aspect-ratio: 3 / 2;
  background-image: url("services-hero.webp");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 250%;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.30);
}

/* Right: Filing options card */
.services-hero-right {
  flex: 1 1 420px;
  display: flex;
  justify-content: center;
}

.services-filing-card {
  width: 100%;
  max-width: 520px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.services-filing-image {
  position: relative;
  overflow: hidden;
}

.services-filing-image img {
  width: 100%;
  display: block;
}

.filing-chat-overlay {
  position: absolute;
  left: 1.3rem;
  bottom: 1.3rem;
  background: #111827;
  color: #fff;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}

.services-filing-text {
  padding: 1.6rem 1.8rem 1.8rem;
}

.services-filing-text h2 {
  color: #064e3b;
  font-size: 1.6rem;
  margin-bottom: 0.6rem;
}

.services-filing-text p {
  line-height: 1.6;
  font-size: 0.98rem;
}

/* Responsive stacking */
@media (max-width: 960px) {
  .services-hero-flex {
    flex-direction: column;
  }

  .services-hero-left,
  .services-hero-right {
    flex: 1 1 100%;
  }
/* === Client Login graphic button (added) === */
.client-login-img {
  height: 40px;
  width: auto;
  border-radius: 6px;
  display: inline-block;
  vertical-align: middle;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.18);
}

.client-login-img:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  transition: 0.18s ease;
}


}


/* === Client Login graphic button (global) === */
.client-login-img {
  height: 50px;
  width: auto;
  border-radius: 6px;
  display: inline-block;
  vertical-align: middle;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.18);
}

.client-login-img:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  transition: 0.18s ease;
}

