:root {
  --default-font: "Anek Tamil", system-ui, -apple-system, "Segoe UI", sans-serif;
  --heading-font: "Anek Tamil", system-ui, -apple-system, "Segoe UI", sans-serif;
  --nav-font: "Anek Tamil", system-ui, -apple-system, "Segoe UI", sans-serif;
  --background-color: #f7f9fb;
  --default-color: #243446;
  --heading-color: #071f35;
  --accent-color: #1399d6;
  --surface-color: #ffffff;
  --contrast-color: #ffffff;
  --nav-color: rgba(255, 255, 255, 0.86);
  --nav-hover-color: #ffffff;
  --nav-dropdown-hover-color: #1399d6;
  --tax-blue: #1399d6;
  --tax-navy: #12245a;
  --tax-deep: #061c31;
  --tax-gold: #f0a414;
  --tax-line: #dfe7ef;
}

body {
  font-family: var(--default-font);
  letter-spacing: 0;
}

.one-tax #preloader {
  display: none !important;
}

.header {
  background: rgba(4, 18, 35, 0.58);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 0;
}

.header .logo img {
  max-height: 52px;
  margin-right: 0;
}

.scrolled .header {
  --background-color: rgba(255, 255, 255, 0.96);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(6, 28, 49, 0.08);
}

.navmenu a,
.navmenu a:focus {
  font-size: 14px;
  font-weight: 800;
}

.navmenu li {
  margin: 0 2px;
}

@media (min-width: 1200px) {
  .navmenu ul {
    align-items: center;
    display: flex;
    gap: 24px;
  }

  .navmenu a,
  .navmenu a:focus {
    padding: 18px 0 !important;
    white-space: nowrap;
  }

  .navmenu .portal-link {
    padding: 9px 14px !important;
  }
}

.navmenu .portal-link {
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 4px;
  margin-left: 10px;
  padding: 9px 14px;
}

.scrolled .navmenu a,
.scrolled .navmenu a:focus {
  color: #26384a;
}

.scrolled .navmenu .active,
.scrolled .navmenu .active:focus,
.scrolled .navmenu li:hover > a {
  color: var(--tax-blue);
}

.scrolled .navmenu .portal-link {
  border-color: rgba(6, 28, 49, 0.18);
}

.tax-hero {
  isolation: isolate;
  min-height: 100vh;
  overflow: hidden;
  position: relative;
}

.subpage .main {
  background: #fff;
}

.tax-hero picture,
.tax-hero picture img {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.tax-hero picture {
  z-index: -2;
}

.tax-hero picture img {
  object-fit: cover;
  object-position: 55% 50%;
}

.subpage-hero {
  isolation: isolate;
  min-height: 54vh;
  overflow: hidden;
  padding: 168px 0 90px;
  position: relative;
}

.subpage-hero > img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: 50% 52%;
  position: absolute;
  width: 100%;
  z-index: -2;
}

.subpage-hero h1 {
  color: #fff;
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 800;
  line-height: 0.95;
  margin-bottom: 20px;
  max-width: 900px;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.48);
}

.subpage-hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.45;
  max-width: 720px;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.42);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(4, 18, 35, 0.96) 0%, rgba(8, 32, 64, 0.84) 42%, rgba(8, 32, 64, 0.34) 100%),
    linear-gradient(0deg, rgba(5, 25, 45, 0.16), rgba(5, 25, 45, 0.16));
  inset: 0;
  position: absolute;
  z-index: -1;
}

.tax-hero .container {
  position: relative;
  z-index: 2;
}

.tax-hero .row {
  align-items: flex-start !important;
  padding-top: clamp(145px, 17vh, 205px);
}

.eyebrow,
.section-kicker,
.section-title span {
  color: var(--tax-gold);
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.tax-hero h1 {
  color: #fff;
  font-size: clamp(58px, 9vw, 120px);
  font-weight: 800;
  line-height: 0.9;
  margin: 0 0 22px;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.48);
}

.tax-hero .lead {
  color: rgba(255, 255, 255, 0.91);
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.45;
  max-width: 760px;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.5);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn-primary-tax,
.btn-secondary-tax {
  align-items: center;
  border-radius: 4px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
}

.btn-primary-tax {
  background: var(--tax-blue);
  color: #fff;
}

.btn-primary-tax:hover {
  background: #0f7fb3;
  color: #fff;
}

.btn-secondary-tax {
  border: 1px solid rgba(255, 255, 255, 0.52);
  color: #fff;
}

.btn-secondary-tax:hover {
  background: #fff;
  border-color: #fff;
  color: var(--tax-navy);
}

.section {
  padding: 86px 0;
}

.section-title {
  margin-bottom: 34px;
  padding-bottom: 0;
}

.section-title::before,
.section-title::after,
.section-title h2::before,
.section-title h2::after {
  display: none;
}

.section-title h2,
.split-section h2,
.contact-cta h2 {
  color: var(--heading-color);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.02;
  margin-bottom: 14px;
}

.section-title p,
.split-section p,
.contact-cta p {
  color: #5d6b7a;
  font-size: 18px;
  line-height: 1.65;
  max-width: 760px;
}

.showcase-section {
  background: #fff;
}

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

.showcase-card {
  border-radius: 8px;
  height: 250px;
  margin: 0;
  overflow: hidden;
  position: relative;
}

.showcase-large {
  grid-column: span 2;
  grid-row: span 2;
  height: 518px;
}

.showcase-card img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
  width: 100%;
}

.showcase-card::after {
  background: linear-gradient(0deg, rgba(4, 18, 35, 0.78), rgba(4, 18, 35, 0.08));
  content: "";
  inset: 0;
  position: absolute;
}

.showcase-card figcaption {
  bottom: 18px;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  left: 18px;
  line-height: 1.1;
  max-width: 80%;
  position: absolute;
  z-index: 2;
}

.showcase-card:hover img {
  transform: scale(1.04);
}

.feature-photo {
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(6, 28, 49, 0.14);
  object-fit: cover;
  width: 100%;
}

.mission-band,
.service-band {
  background: #f6f8fb;
}

.statement-card {
  background: #fff;
  border: 1px solid var(--tax-line);
  border-radius: 8px;
  height: 100%;
  padding: 34px;
}

.statement-card.dark {
  background: var(--tax-deep);
  border-color: var(--tax-deep);
}

.statement-card h2 {
  color: var(--tax-navy);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  line-height: 1.05;
}

.statement-card.dark h2,
.statement-card.dark p {
  color: #fff;
}

.statement-card p {
  color: #5d6b7a;
  font-size: 18px;
  line-height: 1.62;
}

.service-tile {
  background: #fff;
  border: 1px solid var(--tax-line);
  border-radius: 8px;
  height: 100%;
  padding: 28px;
}

.service-tile i {
  align-items: center;
  background: rgba(19, 153, 214, 0.1);
  border-radius: 6px;
  color: var(--tax-blue);
  display: inline-flex;
  font-size: 25px;
  height: 46px;
  justify-content: center;
  margin-bottom: 22px;
  width: 46px;
}

.service-tile h3 {
  color: var(--tax-navy);
  font-size: 22px;
  font-weight: 800;
}

.service-tile p {
  color: #5d6b7a;
  line-height: 1.55;
  margin-bottom: 0;
}

.appointment-section,
.info-section {
  background: #fff;
}

.page-1tax-appointment [data-aos] {
  opacity: 1 !important;
  transform: none !important;
}

.appointment-panel {
  background: #fff;
  border: 1px solid var(--tax-line);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(6, 28, 49, 0.08);
  overflow: hidden;
}

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

.info-card {
  background: #fff;
  border: 1px solid var(--tax-line);
  border-radius: 8px;
  height: 100%;
  padding: 30px;
}

.info-card i {
  align-items: center;
  background: rgba(19, 153, 214, 0.1);
  border-radius: 6px;
  color: var(--tax-blue);
  display: inline-flex;
  font-size: 26px;
  height: 48px;
  justify-content: center;
  margin-bottom: 22px;
  width: 48px;
}

.info-card h3 {
  color: var(--tax-navy);
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 16px;
}

.info-card ul {
  color: #5d6b7a;
  line-height: 1.58;
  list-style: none;
  margin: 0;
  padding: 0;
}

.info-card li {
  padding: 6px 0 6px 22px;
  position: relative;
}

.info-card li::before {
  color: var(--tax-gold);
  content: "\F26A";
  font-family: bootstrap-icons;
  font-size: 13px;
  left: 0;
  position: absolute;
  top: 9px;
}

.tax-tools-section {
  background: #f6f8fb;
}

.tool-links {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.tool-links a {
  align-items: center;
  background: #fff;
  border: 1px solid var(--tax-line);
  border-radius: 8px;
  color: var(--tax-navy);
  display: flex;
  font-weight: 800;
  gap: 12px;
  padding: 15px 16px;
}

.tool-links a:hover {
  border-color: rgba(19, 153, 214, 0.45);
  color: var(--tax-blue);
}

.brand-band {
  background: #fff;
}

.portal-panel {
  align-items: center;
  background: #f6f8fb;
  border: 1px solid var(--tax-line);
  border-radius: 8px;
  display: grid;
  gap: 30px;
  grid-template-columns: minmax(220px, 360px) 1fr;
  padding: 32px;
}

.portal-panel img {
  background: #fff;
  border-radius: 8px;
  max-width: 100%;
  padding: 18px;
}

.portal-panel h3 {
  color: var(--tax-navy);
  font-size: 30px;
  font-weight: 800;
  line-height: 1.1;
}

.portal-panel p {
  color: #5d6b7a;
  font-size: 18px;
  line-height: 1.6;
}

.contact-cta {
  background: var(--tax-deep);
  color: #fff;
}

.contact-cta h2,
.contact-cta p {
  color: #fff;
}

.contact-methods {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.contact-methods a {
  align-items: center;
  color: rgba(255, 255, 255, 0.9);
  display: inline-flex;
  gap: 10px;
}

.contact-methods i {
  color: var(--tax-gold);
  font-size: 18px;
}

.tax-footer {
  background: #041223;
  color: rgba(255, 255, 255, 0.78);
  padding: 24px 0;
}

.footer-logo,
.footer-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo img {
  max-height: 28px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.footer-links a:hover {
  color: #fff;
}

.scroll-top {
  background: var(--tax-blue);
}

@media (max-width: 1199px) {
  .header .container-fluid {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  .navmenu .portal-link {
    border-color: rgba(18, 36, 90, 0.18);
    margin-left: 0;
  }
}

@media (max-width: 991px) {
  .showcase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .showcase-large {
    grid-column: span 2;
    height: 360px;
  }

  .portal-panel {
    grid-template-columns: 1fr;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  .header .logo img {
    max-height: 38px;
  }

  .tax-hero .container {
    padding-left: 24px;
    padding-right: 24px;
  }

  .tax-hero .row {
    padding-top: 112px;
  }

  .subpage-hero {
    min-height: 48vh;
    padding: 126px 0 62px;
  }

  .subpage-hero h1 {
    font-size: 44px;
  }

  .subpage-hero p {
    font-size: 19px;
  }

  .tax-hero h1 {
    font-size: 52px;
  }

  .tax-hero .lead {
    font-size: 20px;
  }

  .hero-actions,
  .contact-actions {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 240px;
  }

  .showcase-grid {
    grid-template-columns: 1fr;
  }

  .showcase-large,
  .showcase-card {
    grid-column: span 1;
    height: 260px;
  }

  .section {
    padding: 62px 0;
  }

  .statement-card,
  .portal-panel,
  .service-tile,
  .info-card {
    padding: 24px;
  }
}
