/*
Theme Name: TaxYear
Theme URI: https://taxyear.com/
Author: Gwalior Infotech
Author URI: https://www.gwaliorinfotech.com/
Description: Custom WordPress theme for the TaxYear all-in-one calculator landing page.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: taxyear
Tags: custom-logo, one-column, responsive-layout, calculator, finance, tax
*/
:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --text: #1d2b44;
  --muted: #66748a;
  --primary: #2f7cff;
  --primary-dark: #155fe6;
  --soft: #edf5ff;
  --soft-2: #f2f7ff;
  --border: #e2e8f0;
  --shadow: 0 18px 50px rgba(30, 55, 90, 0.1);
  --radius: 18px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  font-family: "Raleway", sans-serif;
}
body {
  margin: 0;
  font-family:
    "Raleway",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}
a {
  text-decoration: none;
  color: inherit;
}
button,
input,
select {
  font: inherit;
}
.container {
  width: min(1240px, calc(100% - 36px));
  margin-inline: auto;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #fff;
  border-bottom: 1px solid #edf1f7;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}
.nav {
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
}
.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 900;
  font-size: 26px;
  letter-spacing: -0.04em;
  color: #1b2b44;
}
.logo span:last-child {
  color: #24324a;
}
.logo-mark {
  width: auto;
  max-width: 240px;
  height: auto;
  display: grid;
  place-items: center;
}
.logo-mark img {
  max-width: auto;
  height: 60px;
  width: auto !important;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-left: auto;
  margin-right: auto;
}
.nav-links > a,
.dropdown-btn {
  border: 0;
  background: transparent;
  padding: 22px 0;
  color: #23334f;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  gap: 6px;
  align-items: center;
}
.nav-links > a:hover,
.dropdown:hover .dropdown-btn,
.dropdown.open .dropdown-btn {
  color: var(--primary);
}
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 18px;
  border: 1px solid var(--primary);
  border-radius: 6px;
  color: var(--primary);
  font-weight: 800;
  background: #fff;
}
.header-cta:hover {
  background: var(--primary);
  color: #fff;
}
.menu-toggle {
  display: none;
  border: 1px solid var(--primary);
  background: #fff;
  padding: 0px;
  min-width: 48px;
  min-height: 48px;
  border-radius: 5px;
}

.menu-toggle span {
  font-size: 32px;
  color: var(--primary);
  line-height: 1.3rem;
}

.dropdown {
  position: static;
}
.dropdown-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: 66px;
  width: 100%;
  background: #fff;
  border: 1px solid #edf1f7;
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.13);
  padding: 0;
  display: none;
  grid-template-columns: repeat(4, 1fr);
  overflow: visible;
  max-height: none;
  border-radius: 0 0 14px 14px;
}
.dropdown:hover .dropdown-menu,
.dropdown.open .dropdown-menu {
  display: flex;
}
.mega-panel {
  min-height: 430px;
  padding: 28px 30px 22px;
  border-right: 1px solid #edf1f7;
}
.mega-panel:nth-child(even) {
  background: #f3f8ff;
}
.mega-panel:last-child {
  border-right: 0;
}
.mega-heading {
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0.03em;
  color: #2f7cff;
  font-weight: 600;
  margin: 0 0 13px;
  padding-bottom: 12px;
  border-bottom: 1px solid #2f7cff;
}
.mega-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
}
.mega-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 2px;
  border-radius: 10px;
  color: #263852;
  font-weight: 800;
  font-size: 12.6px;
  line-height: 1.15;
}
.mega-link:hover {
  color: var(--primary);
  background: rgba(47, 124, 255, 0.05);
  padding-left: 8px;
}
.menu-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--primary);
  background: #eef5ff;
  font-size: 18px;
}
.mega-link small {
  display: block;
  color: #7b8798;
  font-size: 10.5px;
  font-weight: 700;
  margin-top: 2px;
  line-height: 1.15;
}
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(110deg, #fff 0%, #f3f8ff 48%, #eef6ff 100%);
  padding: 78px 0 62px;
}
.hero:before {
  content: "";
  position: absolute;
  inset: auto -110px -160px auto;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(47, 124, 255, 0.09);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 54px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 14px;
  background: var(--primary);
  padding: 0.3rem 1rem 0.2rem 1rem;
  border-radius: 25px;
  justify-content: center;
}
.hero h1 {
  font-size: clamp(38px, 5.7vw, 66px);
  line-height: 1.03;
  margin: 0 0 20px;
  letter-spacing: -0.065em;
  color: #14213d;
}
.hero-text {
  font-size: 18px;
  color: #596b82;
  max-width: 660px;
  margin: 0 0 26px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 7px;
  padding: 12px 18px;
  font-weight: 900;
  cursor: pointer;
  transition: 0.18s;
}
.btn.primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 12px 24px rgba(47, 124, 255, 0.22);
}
.btn.primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}
.btn.secondary {
  background: #fff;
  color: var(--primary);
  border: 1px solid #b9d3ff;
}
.hero-card {
  background: #fff;
  border: 1px solid #e6edf7;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 28px 70px rgba(23, 45, 80, 0.13);
}
.calc-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 14px;
  background: #f3f8ff;
  border: 1px solid #e1ebfb;
  padding: 18px;
  margin-bottom: 12px;
}
.calc-preview-head span {
  color: #6b7b92;
  font-weight: 800;
}
.calc-preview-head strong {
  font-size: 46px;
  line-height: 1;
  color: #1c5ee9;
  letter-spacing: -0.06em;
}
.preview-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.preview-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid #edf1f7;
  border-radius: 14px;
  font-weight: 850;
  color: #24324a;
  background: #fff;
}
.preview-list a:hover {
  border-color: #bfd4ff;
  background: #f8fbff;
  color: var(--primary);
}
.preview-list i {
  font-style: normal;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--primary);
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: -26px;
  position: relative;
  z-index: 2;
}
.stats div {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}
.stats strong {
  display: block;
  font-size: 25px;
  color: #16223a;
}
.stats span {
  color: var(--muted);
  font-weight: 700;
}
.section {
  padding: 76px 0;
}
.section-heading {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 36px;
}
.section-heading h2 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.05em;
  margin: 0 0 12px;
  color: #14213d;
}
.section-heading p:last-child {
  color: var(--muted);
  margin: 0;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.category-card {
  background: #eef5ff;
  border-radius: 16px;
  padding: 18px;
  position: relative;
}
.category-card:nth-child(even) {
  background: #ecf7f4;
}
.category-card:nth-child(3n) {
  background: #f7f7f7;
}

.category-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.category-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary);
  display: grid;
  place-items: center;
  font-size: 21px;
}
.category-card h3 {
  margin: 0;
  font-size: 18px;
}
.category-card a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px;
  border-radius: 12px;
  color: #435268;
  font-weight: 800;
  border: 1px solid transparent;
}
.category-card a:hover {
  background: #f8fbff;
  border-color: #e2eaf5;
  color: var(--primary);
}
.category-link-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.category-link-left i {
  font-style: normal;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #f1f6ff;
}
.category-link-left b {
  display: block;
  line-height: 1.2;
}
.category-link-left small {
  display: block;
  color: #7b8798;
  font-weight: 650;
  margin-top: 3px;
  font-size: 12px;
}
.calc-section {
  /* margin-bottom: 0;
  border: 1px solid var(--border); */
  padding: 0 0 30px 0;
  position: relative;
  overflow: hidden;
}
/* .calc-section:nth-child(odd) {
  background: #fff;
}
.calc-section:nth-child(even) {
  background: #f3f8ff;
}
.calc-section:nth-child(3n) {
  background: #f8fbff;
} */
.calc-section-inner {
  width: min(1240px, calc(100% - 0px));
  margin-inline: auto;
  background: rgb(239 246 255);
  border: 1px solid #e2eaf5;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.055);
}
.calc-section:nth-child(even) .calc-section-inner {
  background: #fff;
}
.calc-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 20px;
  position: relative;
}
.calc-title-row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.calc-main-icon {
  font-size: 27px;
  font-weight: 600;
  color: var(--primary);
}
.calc-top h2 {
  margin: 0;
  font-size: 27px;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.calc-top h2 span {
  color: var(--muted);
  font-weight: 300;
  font-size: 14px;
}
.easy-line {
  color: var(--muted) !important;
  font-family: "Great Vibes", cursive;
  display: none;
}
.tag {
  background: var(--primary);
  color: #fff;
  padding: 6px 15px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 400;
  white-space: nowrap;
}
.calc-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.74fr);
  gap: 22px;
  position: relative;
}
.calc-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.calc-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #2d3a4f;
  font-weight: 600;
}
.calc-form input,
.calc-form select {
  width: 100%;
  border: 1px solid #cfd9e5;
  border-radius: 8px;
  padding: 13px 14px;
  background: #fff;
  color: #0f172a;
  outline: none;
  font-weight: 400;
}
.calc-form input:focus,
.calc-form select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(47, 124, 255, 0.12);
}
.calc-form .full {
  grid-column: 1/-1;
}
.result-box {
  background: #fff;
  color: #2f7cff;
  border-radius: 16px;
  padding: 22px;
  min-height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid #2f7cff;
}
.result-box .muted {
  color: #cbd5e1;
  text-align: center;
}
.result-box strong {
  font-size: 25px;
  line-height: 1.2;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
  font-weight: 500;
}
.result-box strong span {
  display: none;
}
.result-grid {
  display: grid;
  gap: 10px;
}
.result-item {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid rgb(0 0 0 / 14%);
  padding-bottom: 9px;
}
.result-item:last-child {
  border-bottom: 0;
}
.result-item span:first-child {
  color: #6e6e6e;
  font-weight: 400;
}
.result-item span:last-child {
  font-weight: 900;
  text-align: right;
}
.note {
  grid-column: 1/-1;
  margin: 0;
  padding: 12px 14px;
  border-radius: 10px;
  background: #fff7ed;
  color: #9a3412;
  font-size: 13px;
  font-weight: 400;
}
.feature-section {
  background: #14213d;
  color: #fff;
}
.section-heading.light .eyebrow {
  color: #9cc4ff;
}
.section-heading.light h2 {
  color: #fff;
}
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.features div {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 24px;
}
.features h3 {
  margin: 0 0 8px;
}
.features p {
  margin: 0;
  color: #cbd5e1;
}
.contact-card {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 34px;
  box-shadow: var(--shadow);
  margin: 30px auto;
}
.contact-card h2 {
  font-size: 32px;
  letter-spacing: -0.05em;
  margin: 0 0 8px;
}
.contact-card p:last-child {
  color: var(--muted);
  margin: 0;
}
.footer {
  background: #fff;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  color: var(--muted);
  font-weight: 700;
}
.footer-inner p {
  margin: 0;
}
.back-top {
  display: inline-flex;
  margin-top: 16px;
  color: var(--primary);
  font-weight: 900;
}
@media (max-width: 1120px) {
  .dropdown-menu {
    grid-template-columns: repeat(2, 1fr);
    max-height: calc(100vh - 74px);
    overflow: auto;
  }
  .mega-panel {
    min-height: auto;
  }
  .hero-grid,
  .calc-card {
    grid-template-columns: 1fr;
  }
  .category-grid,
  .features,
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .calc-form {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .nav {
    height: 64px;
  }
  .menu-toggle {
    display: block;
  }
  .header-cta {
    display: none;
  }
  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 74px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 12px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
  }
  .nav-links.active {
    display: flex;
  }
  .nav-links > a,
  .dropdown-btn {
    padding: 12px 10px;
  }
  .dropdown-menu {
    position: static;
    width: 100%;
    grid-template-columns: 1fr;
    max-height: 70vh;
    overflow: auto;
    border-radius: 12px;
    margin-top: 8px;
  }
  .mega-panel {
    padding: 16px;
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid #edf1f7;
  }
  .dropdown:hover .dropdown-menu {
    display: none;
  }
  .dropdown.open .dropdown-menu {
    display: grid;
  }
  .hero {
    padding: 52px 0;
  }
  .preview-list,
  .category-grid,
  .features,
  .stats {
    grid-template-columns: 1fr;
  }
  .calc-section-inner {
    padding: 18px;
  }
  .calc-top {
    flex-direction: column;
  }
  .calc-title-row {
    align-items: flex-start;
  }
  .contact-card,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .calc-preview-head strong {
    font-size: 38px;
  }
}

/* Simple bullet-list style for calculator menu and category cards */
.simple-list {
  list-style: disc;
  margin: 0;
  padding-left: 0px;
  display: block;
}
.simple-list li {
  margin: 0 0 9px;
  padding-left: 2px;
  color: var(--primary);
}
.simple-list li::marker {
  color: var(--primary);
  font-size: 1.05em;
}
.mega-list.simple-list {
  display: block;
  gap: 0;
}
.mega-list.simple-list .mega-link {
  display: inline-block;
  padding: 4px 0;
  border-radius: 0;
  background: transparent;
  color: #263852;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
}
.mega-list.simple-list .mega-link:hover {
  background: transparent;
  padding-left: 0;
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.category-simple-list {
  margin-top: 12px;
}
.category-simple-list a {
  display: inline !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #435268;
  font-weight: 400;
  line-height: 1.35;
}
.category-simple-list a:hover {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.category-card a {
  justify-content: flex-start;
}
.category-link-left,
.menu-icon,
.category-link-left i,
.category-link-left small,
.mega-link small {
  display: none !important;
}

/* Click ke baad menu turant close, mouse leave par normal hover behavior wapas */
.dropdown.suppress-hover:hover .dropdown-menu {
  display: none;
}
.dropdown.suppress-hover .dropdown-menu {
  display: none;
}

.footer-links {
  color: var(--primary);
  font-weight: 700;
}
.footer-links:hover {
  color: var(--primary-dark);
}

.calculate-clear {
  font-weight: 600;
}
.calc-desc {
  margin: 0;
  padding: 0;
  width: 100%;
}
.calc-desc p {
  margin: 0px;
  color: var(--muted);
  font-weight: 400;
}

.admin-bar .site-header {
  top: 32px;
}
@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

.taxyear-counter {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #3faf66;
  color: #ffffff;
  padding: 8px 15px 9px;
  border-radius: 20px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
}

/* Footer dynamic menu */
.footer-inner > div:last-child {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.footer-navigation {
  display: block;
}
.footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-menu a {
  color: var(--muted);
  font-weight: 700;
}
.footer-menu a:hover {
  color: var(--primary);
}
@media (max-width: 760px) {
  .footer-inner > div:last-child {
    justify-content: flex-start;
  }
  .footer-menu {
    gap: 10px;
  }
}

/* Individual calculator page design */
.calculator-page-wrap {
  padding: 25px 0;
  background: #f8fbff;
}
.calculator-page-hero {
  max-width: 850px;
  margin-bottom: 30px;
}
.calculator-page-hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.08;
  margin: 10px 0;
  color: #14213d;
  letter-spacing: -0.05em;
}
.calculator-page-hero p {
  color: var(--muted);
}
.calculator-breadcrumb {
  font-size: 14px;
  color: var(--muted);
}
.calculator-breadcrumb a {
  color: var(--primary);
  font-weight: 800;
}
.calculator-layout {
     display: flex;
    gap: 28px;
    align-items: start;
    flex-direction: column;
    width: 100%;
}
.calculator-card {
  background: #fff;
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 26px;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
    width: 100%;
    display: flex;
    gap: 2rem;
}
.calculator-info-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 26px;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
  width: 100%;
}
.calculator-info-card h3{
  margin: 0px;
    padding: 0px;
    margin-bottom: 1rem;
}
.taxyear-calculator-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    width: 100%;
    align-items: end;
}
.taxyear-calculator-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 600;
  color: #2d3a4f;
}
.taxyear-calculator-form input,
.taxyear-calculator-form select {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #cfd9e5;
  border-radius: 12px;
  font: inherit;
  outline: none;
}
.taxyear-calculator-form input:focus,
.taxyear-calculator-form select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(47, 124, 255, 0.12);
}
.calculator-submit,
.calculator-reset {
  padding: 14px 18px;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 800;
}
.calculator-submit {
  background: var(--primary);
  color: #fff;
}
.calculator-reset {
  background: #f2f7ff;
  color: var(--primary);
}
.calculator-result {
  margin-top: 22px;
  padding: 18px;
  border-radius: 16px;
  background: #f7fbff;
  border: 1px solid #dbeafe;
  color: #24324a;
  width: 100%;
}
.calculator-result strong {
  display: block;
  margin-bottom: 8px;
}
.related-calculators {
  margin: 0;
  padding-left: 18px;
}
.related-calculators li {
  margin: 8px 0;
}
.related-calculators a {
  color: var(--primary);
  font-weight: 700;
}
@media (max-width: 768px) {
  .calculator-layout,
  .taxyear-calculator-form {
    grid-template-columns: 1fr;
  }
}

/* TaxYear highlighted corporate calculator mega menu */
.calculator-dropdown .dropdown-menu {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.calculator-dropdown .mega-panel {
  min-height: 360px;
  padding: 24px 18px 20px;
}
.calculator-dropdown .mega-heading {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
}
.calculator-dropdown .mega-list.simple-list {
  padding-left: 0;
  list-style: none;
}
.calculator-dropdown .mega-list.simple-list .mega-link,
.calculator-dropdown .mega-link.is-highlighted-calculator {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 8px !important;
  border-radius: 10px !important;
  background: transparent !important;
  color: #263852;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none !important;
}
.calculator-dropdown .mega-link.is-highlighted-calculator:hover,
.calculator-dropdown .mega-link.is-highlighted-calculator:focus {
  color: var(--primary);
}
.calculator-dropdown .mega-link .menu-icon {
  display: grid !important;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
  border-radius: 9px;
  background: #eef5ff;
  color: var(--primary);
  font-size: 15px;
}
.calculator-dropdown .mega-link small {
  display: none !important;
  color: #7b8798;
  font-size: 10.5px;
  font-weight: 650;
  margin-top: 3px;
}
.calculator-dropdown .mega-panel:nth-child(1) {
  background: #f3f8ff;
}
.calculator-dropdown .mega-panel:nth-child(2) {
  background: #fff;
}
.calculator-dropdown .mega-panel:nth-child(3) {
  background: #f3f8ff;
}
.calculator-dropdown .mega-panel:nth-child(4) {
  background: #fff;
}
.calculator-dropdown .mega-panel:nth-child(5) {
  background: #f3f8ff;
}
.calculator-dropdown .mega-panel:nth-child(6) {
  background: #fff;
}

@media (max-width: 1280px) {
  .calculator-dropdown .dropdown-menu {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-height: calc(100vh - 74px);
    overflow: auto;
  }
}
@media (max-width: 760px) {
  .calculator-dropdown .dropdown-menu {
    grid-template-columns: 1fr;
  }
}

/* Updated calculator mega menu bullets and heading icons */
.calculator-dropdown .mega-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  margin-bottom: 14px;
}
.calculator-dropdown .mega-heading-icon {
  width: 34px;
  height: 34px;
  min-width: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 10px;
  background: #eaf3ff;
  color: var(--primary);
  font-size: 18px;
  box-shadow: inset 0 0 0 1px rgba(47, 124, 255, 0.14);
}
.calculator-dropdown .mega-list {
  gap: 3px;
}
.calculator-dropdown .mega-link.is-highlighted-calculator {
  position: relative;
  padding-left: 24px !important;
  gap: 8px;
}
.calculator-dropdown .mega-link.is-highlighted-calculator::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 15px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(47, 124, 255, 0.1);
}
.calculator-dropdown .mega-link.is-highlighted-calculator:hover::before,
.calculator-dropdown .mega-link.is-highlighted-calculator:focus::before {
  background: var(--primary-dark);
  box-shadow: 0 0 0 5px rgba(47, 124, 255, 0.14);
}
.calculator-dropdown .mega-link .menu-icon {
  display: none !important;
}
.category-head .category-icon {
  background: #eaf3ff;
  color: var(--primary);
  border: 1px solid rgba(47, 124, 255, 0.18);
}
.category-simple-list a {
  position: relative;
  display: block !important;
  padding: 8px 8px 8px 34px !important;
  border-radius: 10px !important;
}
.category-simple-list a::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 15px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
}
.category-simple-list a:hover {
  text-decoration: none !important;
}

.dropdown-menu-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  width: 100%;
}

@media (max-width: 1120px) {
  .dropdown-menu-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .dropdown-menu-wrapper {
    grid-template-columns: 1fr;
  }
}


.site-header .nav-links a.active,
.site-header .nav-links li.active > a,
.site-header .nav-links li.current-menu-item > a {
  color: var(--primary);
}

.site-header .nav-links a.active::after,
.site-header .nav-links li.active > a::after,
.site-header .nav-links li.current-menu-item > a::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  margin-top: 4px;
  background: var(--primary);
  border-radius: 20px;
}


.soft-section {
  background: #f8fbff;
  padding: 60px 0;
}

.contact-note-box {
  margin: 25px auto;
}

.form-section {
  padding: 60px 0;
}


/* ================================
   TaxYear Clean About Page CSS
   Paste this at the bottom of style.css
================================ */

.about-page {
  background: #ffffff;
  overflow: hidden;
}

.about-hero-section {
  position: relative;
  padding: 86px 0 72px;
  background: linear-gradient(110deg, #ffffff 0%, #f3f8ff 50%, #eef6ff 100%);
}

.about-hero-section::after {
  content: "";
  position: absolute;
  right: -140px;
  bottom: -180px;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  background: rgba(47, 124, 255, 0.08);
}

.about-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.72fr);
  gap: 44px;
  align-items: center;
}

.about-hero-content h1 {
  max-width: 850px;
  margin: 0 0 18px;
  font-size: clamp(38px, 5.4vw, 66px);
  line-height: 1.04;
  letter-spacing: -0.06em;
  color: #14213d;
}


.about-hero-card {
  background: #ffffff;
  border: 1px solid #e2eaf5;
  border-radius: 24px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.about-hero-icon {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 18px;
  background: #eef5ff;
  color: var(--primary);
  font-size: 30px;
}

.about-hero-card h2,
.about-content-box h2,
.about-note-card h3 {
  margin: 0 0 16px;
  color: #14213d;
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.about-hero-card h2,
.about-note-card h3 {
  font-size: 26px;
}

.about-hero-card ul,
.about-calculator-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.about-hero-card li,
.about-calculator-card li {
  position: relative;
  padding: 9px 0 9px 28px;
  border-bottom: 1px solid #edf1f7;
  color: #435268;
  font-weight: 750;
}

.about-hero-card li:last-child,
.about-calculator-card li:last-child {
  border-bottom: 0;
}

.about-hero-card li::before,
.about-calculator-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 9px;
  color: var(--primary);
  font-weight: 900;
}

.about-section {
  padding: 76px 0;
}

.about-soft-section {
  background: #f8fbff;
}

.about-two-col {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 36px;
  align-items: center;
}

.about-content-box h2,
.about-page .section-heading h2 {
  font-size: clamp(30px, 4vw, 46px);
}

/* .about-content-box p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
} */

.about-points-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.about-point {
  min-height: 170px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.about-point span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 14px;
  border-radius: 14px;
  background: #eef5ff;
  color: var(--primary);
  font-size: 23px;
}

.about-point strong {
  display: block;
  margin-bottom: 7px;
  color: #14213d;
  font-size: 18px;
}

.about-point p,
.about-note-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.about-calculator-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 36px;
}

.about-calculator-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.about-calculator-card:nth-child(even) {
  background: #f3f8ff;
}

.about-calculator-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: #14213d;
  font-size: 21px;
  line-height: 1.2;
}

.about-calculator-card h3::before {
  content: "🧮";
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 12px;
  background: var(--primary);
  color: #ffffff;
  font-size: 17px;
}

.about-calculator-card:nth-child(1) h3::before { content: "🏦"; }
.about-calculator-card:nth-child(2) h3::before { content: "🧾"; }
.about-calculator-card:nth-child(3) h3::before { content: "💼"; }
.about-calculator-card:nth-child(4) h3::before { content: "📈"; }
.about-calculator-card:nth-child(5) h3::before { content: "🏢"; }
.about-calculator-card:nth-child(6) h3::before { content: "💳"; }

.about-calculator-card a {
  color: #435268;
  font-weight: 800;
}

.about-calculator-card a:hover {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.about-disclaimer-grid {
  align-items: stretch;
}

.about-note-card {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 22px;
  padding: 30px;
}

.about-note-card h3,
.about-note-card p {
  color: #9a3412;
}

@media (max-width: 1120px) {
  .about-hero-grid,
  .about-two-col {
    grid-template-columns: 1fr;
  }

  .about-calculator-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .about-hero-section,
  .about-section {
    padding: 54px 0;
  }

  .about-points-grid,
  .about-calculator-grid {
    grid-template-columns: 1fr;
  }

  .about-hero-card,
  .about-point,
  .about-calculator-card,
  .about-note-card {
    padding: 22px;
  }
}



/* =====================================
   TaxYear Calculator Page Template CSS
===================================== */
.calculator-template-page {
  background: #ffffff;
}

.calculator-hero {
  padding: 82px 0 64px;
  background: linear-gradient(110deg, #ffffff 0%, #f3f8ff 50%, #eef6ff 100%);
  overflow: hidden;
}

.calculator-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 36px;
  align-items: center;
}

.calculator-hero-content h1 {
  max-width: 850px;
  margin: 0 0 18px;
  font-size: clamp(38px, 5.4vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.06em;
  color: #14213d;
}

.calculator-hero-content p:last-child {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.calculator-hero-card {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: #ffffff;
  border: 1px solid #e2eaf5;
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 28px 70px rgba(23, 45, 80, 0.13);
}

.calculator-hero-icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 20px;
  background: #eef5ff;
  color: var(--primary);
  font-size: 34px;
}

.calculator-hero-card strong {
  display: block;
  color: #14213d;
  font-size: 22px;
  line-height: 1.2;
}

.calculator-hero-card small {
  margin-top: 6px;
  color: var(--muted);
  font-weight: 700;
}

.calculator-main-section {
  padding: 76px 0;
}

.calculator-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: start;
}

.calculator-tool-card,
.sidebar-card,
.info-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.calculator-card-head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid #edf1f7;
}

.calculator-card-head > span {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: #eef5ff;
  color: var(--primary);
  font-size: 25px;
}

.calculator-card-head h2 {
  margin: 0 0 5px;
  color: #14213d;
  font-size: 28px;
  line-height: 1.15;
}

.calculator-card-head p {
  margin: 0;
  color: var(--muted);
}

.calculator-sidebar {
  display: grid;
  gap: 18px;
  position: sticky;
  top: 96px;
}

.sidebar-card h3,
.info-card h2 {
  margin: 0 0 16px;
  color: #14213d;
  font-size: 24px;
  line-height: 1.2;
}

.sidebar-card p,
.info-card p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.7;
}

.note-card {
  background: #fff7ed;
  border-color: #fed7aa;
  box-shadow: none;
}

.note-card h3,
.note-card p {
  color: #9a3412;
}

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 10px 0 10px 28px;
  color: #435268;
  font-weight: 700;
  border-bottom: 1px solid #edf1f7;
}

.check-list li:last-child {
  border-bottom: 0;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 10px;
  color: var(--primary);
  font-weight: 900;
}

.calculator-info-section {
  padding: 76px 0;
  background: #f8fbff;
}

.calculator-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.blue-card {
  background: #eef5ff;
  border-color: #d9e8ff;
}

.related-calculator-section {
  padding: 76px 0;
  background: #ffffff;
}

.related-calculator-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.related-calculator-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 82px;
  padding: 16px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  color: #24324a;
  font-weight: 850;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.045);
}

.related-calculator-card:hover {
  color: var(--primary);
  border-color: #bfd4ff;
  background: #f8fbff;
}

.related-calculator-card span {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #eef5ff;
}

.calculator-empty-state {
  padding: 22px;
  border-radius: 16px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #9a3412;
}

.calculator-empty-state h3 {
  margin: 0 0 8px;
}

.calculator-empty-state p {
  margin: 0 0 12px;
}

.calculator-empty-state code {
  display: inline-block;
  padding: 8px 10px;
  border-radius: 8px;
  background: #ffffff;
  color: #14213d;
}

@media (max-width: 1024px) {
  .calculator-hero-grid,
  .calculator-page-grid,
  .calculator-info-grid {
    grid-template-columns: 1fr;
  }

  .calculator-sidebar {
    position: static;
  }

  .related-calculator-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .calculator-hero,
  .calculator-main-section,
  .calculator-info-section,
  .related-calculator-section {
    padding: 52px 0;
  }

  .calculator-tool-card,
  .sidebar-card,
  .info-card {
    padding: 22px;
  }

  .related-calculator-grid {
    grid-template-columns: 1fr;
  }
}

/* Contact Form 7 Custom Style */
.wpcf7 {
    max-width: 700px;
    margin: 0 auto;
}

.wpcf7 form {
    
}

.wpcf7 label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #222222;
    margin-bottom: 18px;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
    width: 100%;
    height: 52px;
    margin-top: 8px;
    padding: 12px 16px;
    font-size: 15px;
    color: #222222;
    background: #f8f9fb;
    border: 1px solid #dcdfe5;
    border-radius: 10px;
    outline: none;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.wpcf7 textarea {
    height: 140px;
    resize: vertical;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 textarea:focus {
    background: #ffffff;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.wpcf7 input[type="submit"] {
    display: inline-block;
    width: 100%;
    padding: 15px 28px;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    background: #2563eb;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wpcf7 input[type="submit"]:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

.wpcf7 input[type="submit"]:active {
    transform: translateY(0);
}

/* Error and success messages */
.wpcf7-not-valid-tip {
    margin-top: 6px;
    font-size: 13px;
    color: #dc2626;
}

.wpcf7-response-output {
    margin: 20px 0 0 !important;
    padding: 14px 16px !important;
    border-radius: 10px;
    font-size: 14px;
}

.wpcf7 form.sent .wpcf7-response-output {
    border-color: #16a34a !important;
    color: #166534;
    background: #dcfce7;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output {
    border-color: #dc2626 !important;
    color: #991b1b;
    background: #fee2e2;
}

/* Mobile responsive */
@media (max-width: 767px) {
    .wpcf7 form {
        padding: 24px 18px;
        border-radius: 12px;
    }

    .wpcf7 input[type="text"],
    .wpcf7 input[type="email"],
    .wpcf7 input[type="tel"],
    .wpcf7 textarea {
        height: 48px;
        font-size: 14px;
    }

    .wpcf7 textarea {
        height: 120px;
    }
}