@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --color-primary: #0a192f;
  --color-primary-light: #172a45;
  --color-primary-extra-light: #233554;
  --color-accent: #059669;
  --color-accent-hover: #10b981;
  --color-gold: #d97706;
  --color-gold-hover: #f59e0b;
  --color-bg-light: #fcfbfa;
  --color-bg-gray: #f3f4f6;
  --color-white: #ffffff;
  --color-text-dark: #1f2937;
  --color-text-muted: #6b7280;
  --color-text-light: #f3f4f6;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-gold: 0 8px 20px rgba(217, 119, 6, 0.25);
  --shadow-emerald: 0 8px 20px rgba(5, 150, 105, 0.25);
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  height: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-light);
  color: var(--color-text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  font-weight: 700;
  line-height: 1.25;
}

h1 {
  font-size: 3.5rem;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

h3 {
  font-size: 1.75rem;
  margin-bottom: 15px;
}

p {
  margin-bottom: 1.5rem;
  color: var(--color-text-muted);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  transition: all var(--transition-normal);
  cursor: pointer;
  border: none;
  outline: none;
  gap: 10px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-accent), #0f766e);
  color: var(--color-white);
  box-shadow: var(--shadow-emerald);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(5, 150, 105, 0.4);
  background: linear-gradient(135deg, var(--color-accent-hover), var(--color-accent));
}

.btn-secondary {
  background: linear-gradient(135deg, var(--color-gold), #b45309);
  color: var(--color-white);
  box-shadow: var(--shadow-gold);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(217, 119, 6, 0.4);
  background: linear-gradient(135deg, var(--color-gold-hover), var(--color-gold));
}

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

.btn-outline:hover {
  background-color: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
  transform: translateY(-3px);
}

.btn-dark {
  background-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}

.btn-dark:hover {
  background-color: var(--color-primary-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.header-nav {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 999;
  background-color: rgba(10, 25, 47, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 16px 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--color-white);
}

.logo i {
  color: var(--color-accent);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-item {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 8px 0;
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: width var(--transition-normal);
}

.nav-item:hover {
  color: var(--color-white);
}

.nav-item:hover::after {
  width: 100%;
}

.nav-item.active {
  color: var(--color-accent-hover);
  font-weight: 600;
}

.nav-item.active::after {
  width: 100%;
  background-color: var(--color-accent-hover);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.search-trigger {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.2rem;
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.search-trigger:hover {
  color: var(--color-accent-hover);
}

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 1.5rem;
  cursor: pointer;
}

.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background-color: var(--color-primary-light);
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  transform: translateX(100%);
  transition: transform var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 40px;
}

.nav-drawer.active {
  transform: translateX(0);
}

.drawer-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 1.8rem;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.drawer-close:hover {
  color: var(--color-accent);
}

.drawer-menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-top: 40px;
  gap: 24px;
}

.drawer-item {
  color: var(--color-text-light);
  font-size: 1.25rem;
  font-family: var(--font-heading);
  font-weight: 500;
  width: 100%;
  text-align: center;
  padding: 12px;
  border-radius: 8px;
  transition: all var(--transition-fast);
}

.drawer-item:hover {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--color-white);
}

.drawer-item.active {
  color: var(--color-accent-hover);
  background-color: rgba(16, 185, 129, 0.1);
}

.drawer-actions {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 16px;
  margin-top: auto;
}

.drawer-actions .btn {
  width: 100%;
}

.hero {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--color-white);
  padding: 160px 0;
  display: flex;
  align-items: center;
  min-height: 85vh;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(10, 25, 47, 0.92), rgba(17, 34, 64, 0.85));
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero h1 {
  color: var(--color-white);
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.hero p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.25rem;
  margin-bottom: 40px;
}

.hero-btns {
  display: flex;
  gap: 20px;
}

.hero-page {
  position: relative;
  background-size: cover;
  background-position: center;
  color: var(--color-white);
  padding: 100px 0;
  text-align: center;
}

.hero-page .hero-overlay {
  background: linear-gradient(180deg, rgba(10, 25, 47, 0.9), rgba(17, 34, 64, 0.8));
}

.hero-page-container {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.hero-page h1 {
  color: var(--color-white);
  margin-bottom: 16px;
}

.hero-page p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.15rem;
  margin-bottom: 0;
}

.stats-bar {
  background-color: var(--color-white);
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--shadow-xl);
  margin-top: -60px;
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.stats-card {
  text-align: center;
  padding: 10px;
  border-right: 1px solid var(--color-bg-gray);
}

.stats-card:last-child {
  border-right: none;
}

.stats-card h3 {
  font-size: 2.25rem;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.stats-card p {
  margin-bottom: 0;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  color: var(--color-accent);
}

.intro-section {
  background-color: var(--color-bg-light);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.intro-img-wrapper {
  position: relative;
}

.intro-img-wrapper img {
  border-radius: 24px;
  box-shadow: var(--shadow-xl);
}

.intro-img-badge {
  position: absolute;
  bottom: -30px;
  right: -30px;
  background-color: var(--color-white);
  padding: 24px;
  border-radius: 16px;
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 250px;
  border: 1px solid rgba(0,0,0,0.05);
}

.intro-img-badge i {
  font-size: 2rem;
  color: var(--color-gold);
}

.intro-img-badge span {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-primary);
  line-height: 1.2;
}

.section-tag {
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-accent);
  font-weight: 700;
  font-size: 0.85rem;
  display: inline-block;
  margin-bottom: 12px;
}

.planning-section {
  background-color: var(--color-white);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px auto;
}

.section-header h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--color-gold);
  border-radius: 2px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.info-card {
  background-color: var(--color-bg-light);
  padding: 40px;
  border-radius: 20px;
  transition: all var(--transition-normal);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.info-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(5, 150, 105, 0.15);
}

.info-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 24px;
  transition: all var(--transition-normal);
}

.info-card:hover .info-card-icon {
  background-color: var(--color-accent);
  color: var(--color-white);
  transform: rotateY(360deg);
}

.info-card h3 {
  font-size: 1.35rem;
  margin-bottom: 16px;
}

.info-card p {
  margin-bottom: 0;
}

.cards-grid-section {
  background-color: var(--color-bg-gray);
}

.card-item {
  background-color: var(--color-white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.card-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.card-img-wrapper {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.card-item:hover .card-img-wrapper img {
  transform: scale(1.1);
}

.card-icon-overlay {
  position: absolute;
  bottom: -20px;
  right: 24px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-gold), #b45309);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  box-shadow: var(--shadow-md);
  border: 3px solid var(--color-white);
}

.card-body {
  padding: 32px 24px 24px 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-body h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.card-body p {
  font-size: 0.95rem;
  margin-bottom: 24px;
  flex-grow: 1;
}

.btn-card-link {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color var(--transition-fast);
}

.btn-card-link i {
  transition: transform var(--transition-fast);
}

.btn-card-link:hover {
  color: var(--color-accent-hover);
}

.btn-card-link:hover i {
  transform: translateX(4px);
}

.cta-section {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.cta-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.cta-content h2 {
  color: var(--color-white);
  margin-bottom: 20px;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.15rem;
  margin-bottom: 0;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 8px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

.newsletter-form input {
  flex-grow: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 0 24px;
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-form button {
  padding: 12px 24px;
  border-radius: 50px;
}

.checklist-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

.checklist-img img {
  border-radius: 20px;
  box-shadow: var(--shadow-xl);
}

.checklist-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background-color: var(--color-white);
  padding: 20px;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.02);
  transition: all var(--transition-fast);
}

.checklist-item:hover {
  transform: translateX(5px);
  border-color: rgba(16, 185, 129, 0.2);
  box-shadow: var(--shadow-md);
}

.checklist-icon {
  width: 32px;
  height: 32px;
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.checklist-info h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.checklist-info p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.grid-2-col {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.visual-banner {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.visual-banner img {
  width: 100%;
  height: auto;
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.rule-box {
  background-color: var(--color-white);
  border-radius: 20px;
  padding: 35px;
  text-align: center;
  box-shadow: var(--shadow-md);
  border-top: 4px solid var(--color-accent);
}

.rule-box:nth-child(2) {
  border-top-color: var(--color-gold);
}

.rule-box:nth-child(3) {
  border-top-color: var(--color-primary);
}

.rule-percentage {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 10px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.rule-box:nth-child(2) .rule-percentage {
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-hover));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.rule-box:nth-child(3) .rule-percentage {
  background: linear-gradient(135deg, var(--color-primary-extra-light), var(--color-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.rule-box h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.rule-box p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.planner-form-section {
  background-color: var(--color-bg-light);
}

.planner-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
}

.form-card {
  background-color: var(--color-white);
  padding: 48px;
  border-radius: 24px;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(0, 0, 0, 0.02);
}

.form-card h3 {
  font-size: 1.6rem;
  margin-bottom: 30px;
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 24px;
  position: relative;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.form-control {
  width: 100%;
  padding: 14px 20px;
  border-radius: 12px;
  background-color: var(--color-bg-gray);
  border: 2px solid transparent;
  outline: none;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-control:focus {
  background-color: var(--color-white);
  border-color: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

.timeline-section {
  background-color: var(--color-white);
}

.timeline-flow {
  position: relative;
  max-width: 800px;
  margin: 40px auto 0 auto;
  padding: 20px 0;
}

.timeline-flow::before {
  content: '';
  position: absolute;
  top: 0;
  left: 31px;
  height: 100%;
  width: 3px;
  background-color: var(--color-bg-gray);
}

.timeline-node {
  position: relative;
  padding-left: 80px;
  margin-bottom: 48px;
}

.timeline-node:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  top: 0;
  left: 12px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--color-white);
  border: 4px solid var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  color: var(--color-accent);
  font-size: 0.9rem;
}

.timeline-node:nth-child(even) .timeline-dot {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.timeline-card {
  background-color: var(--color-bg-light);
  padding: 30px;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.02);
  transition: all var(--transition-fast);
}

.timeline-card:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0,0,0,0.05);
}

.timeline-card h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.timeline-date {
  font-weight: 700;
  color: var(--color-accent);
  font-size: 0.9rem;
  margin-bottom: 12px;
  display: inline-block;
}

.timeline-node:nth-child(even) .timeline-date {
  color: var(--color-gold);
}

.timeline-card p {
  margin-bottom: 0;
}

.faq-section {
  background-color: var(--color-bg-light);
}

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-card {
  background-color: var(--color-white);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.02);
  transition: all var(--transition-fast);
}

.faq-card[open] {
  box-shadow: var(--shadow-md);
}

.faq-summary {
  padding: 24px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  outline: none;
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-summary::after {
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.9rem;
  transition: transform var(--transition-fast);
  color: var(--color-text-muted);
}

.faq-card[open] .faq-summary::after {
  transform: rotate(180deg);
  color: var(--color-accent);
}

.faq-body {
  padding: 0 24px 24px 24px;
  border-top: 1px solid var(--color-bg-gray);
  margin-top: 0;
  padding-top: 20px;
}

.faq-body p {
  margin-bottom: 0;
}

.tax-mistakes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.mistake-box {
  background-color: var(--color-white);
  padding: 30px;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 20px;
  border-left: 6px solid #ef4444;
  transition: all var(--transition-fast);
}

.mistake-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.mistake-icon {
  width: 48px;
  height: 48px;
  background-color: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.mistake-info h4 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.mistake-info p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.guide-categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.category-card {
  background-color: var(--color-white);
  padding: 30px 20px;
  border-radius: 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.02);
  transition: all var(--transition-normal);
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(217, 119, 6, 0.15);
}

.category-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgba(217, 119, 6, 0.1);
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 20px auto;
  transition: all var(--transition-normal);
}

.category-card:hover .category-card-icon {
  background-color: var(--color-gold);
  color: var(--color-white);
  transform: scale(1.1);
}

.category-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.category-card p {
  margin-bottom: 0;
  font-size: 0.85rem;
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.contact-card-item {
  background-color: var(--color-white);
  padding: 35px 24px;
  border-radius: 20px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  border: 1px solid rgba(0,0,0,0.02);
}

.contact-card-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.contact-card-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin: 0 auto 20px auto;
}

.contact-card-item h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.contact-card-item p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.map-section {
  padding: 0;
  background-color: var(--color-bg-light);
}

.map-wrapper {
  height: 450px;
  width: 100%;
  border-radius: 0;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.footer {
  background-color: var(--color-primary);
  color: var(--color-text-light);
  padding: 80px 0 20px 0;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col h3 {
  color: var(--color-white);
  font-size: 1.2rem;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--color-accent);
  border-radius: 2px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 20px;
}

.footer-logo i {
  color: var(--color-accent);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--color-accent-hover);
  padding-left: 4px;
}

.footer-info {
  list-style: none;
}

.footer-info li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
}

.footer-info i {
  color: var(--color-accent);
  margin-top: 4px;
}

.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-link {
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  transition: all var(--transition-fast);
}

.social-link:hover {
  background-color: var(--color-accent);
  transform: translateY(-3px);
}

.footer-newsletter-form {
  display: flex;
  margin-top: 15px;
}

.footer-newsletter-form input {
  padding: 12px 16px;
  border-radius: 8px 0 0 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--color-white);
  outline: none;
  font-family: var(--font-body);
  font-size: 0.9rem;
  flex-grow: 1;
}

.footer-newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.footer-newsletter-form button {
  border-radius: 0 8px 8px 0;
  padding: 0 20px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copyright {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-legal-links {
  display: flex;
  gap: 20px;
}

.footer-legal-links a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-legal-links a:hover {
  color: var(--color-accent-hover);
}

@media (max-width: 1440px) {
  .container {
    max-width: 1200px;
  }
}

@media (max-width: 1200px) {
  .container {
    max-width: 960px;
  }
  h1 {
    font-size: 3rem;
  }
  h2 {
    font-size: 2.2rem;
  }
  .grid-3 {
    gap: 24px;
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .guide-categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .container {
    max-width: 720px;
  }
  h1 {
    font-size: 2.5rem;
  }
  .nav-menu, .nav-actions .btn {
    display: none;
  }
  .nav-hamburger {
    display: block;
  }
  .hero {
    padding: 120px 0;
  }
  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
    padding: 30px;
  }
  .stats-card {
    border-right: none;
  }
  .stats-card:nth-child(odd) {
    border-right: 1px solid var(--color-bg-gray);
  }
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .intro-img-wrapper {
    order: 2;
    max-width: 500px;
    margin: 0 auto;
  }
  .intro-img-badge {
    right: 0;
  }
  .grid-3 {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }
  .cta-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .checklist-grid {
    grid-template-columns: 1fr;
  }
  .grid-2-col {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .rules-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 40px auto 0 auto;
  }
  .planner-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .tax-mistakes-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .container {
    max-width: 540px;
  }
  h2 {
    font-size: 2rem;
  }
  .stats-bar {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .stats-card {
    border-right: none;
    border-bottom: 1px solid var(--color-bg-gray);
    padding-bottom: 20px;
  }
  .stats-card:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  .hero-btns {
    flex-direction: column;
    gap: 15px;
  }
  .hero-btns .btn {
    width: 100%;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 16px;
  }
  h1 {
    font-size: 2.2rem;
  }
  h2 {
    font-size: 1.8rem;
  }
  .nav-drawer {
    width: 70%;
  }
  .form-card {
    padding: 30px 20px;
  }
  .form-group-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .guide-categories-grid {
    grid-template-columns: 1fr;
  }
  .contact-cards-grid {
    grid-template-columns: 1fr;
  }
  .mistake-box {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
}

@media (max-width: 400px) {
  .nav-drawer {
    width: 85%;
  }
  .intro-img-badge {
    position: relative;
    right: 0;
    bottom: 0;
    margin-top: 20px;
    max-width: 100%;
  }
  .timeline-flow::before {
    left: 20px;
  }
  .timeline-node {
    padding-left: 55px;
  }
  .timeline-dot {
    left: 4px;
    width: 32px;
    height: 32px;
  }
}

@media (max-width: 320px) {
  .nav-drawer {
    width: 100%;
  }
  .logo {
    font-size: 1.25rem;
  }
  h1 {
    font-size: 1.8rem;
  }
  h2 {
    font-size: 1.5rem;
  }
}

/* Custom Overrides (Appended to prevent modifying existing CSS rules) */
.stats-bar {
  margin-top: 40px;
}

@media (max-width: 768px) {
  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 24px 16px;
  }
  
  .stats-card {
    border-right: none;
    border-bottom: none;
    padding: 10px 5px;
  }
  
  .stats-card h3 {
    font-size: 1.8rem;
    margin-bottom: 4px;
  }
  
  .stats-card p {
    font-size: 0.8rem;
    letter-spacing: 0.5px;
  }
  
  /* 2x2 grid borders layout */
  .stats-card:nth-child(1),
  .stats-card:nth-child(2) {
    border-bottom: 1px solid var(--color-bg-gray);
    padding-bottom: 20px;
  }
  
  .stats-card:nth-child(odd) {
    border-right: 1px solid var(--color-bg-gray);
  }
  
  .stats-card:nth-child(3),
  .stats-card:nth-child(4) {
    padding-top: 20px;
  }
}

/* Centering Content Overrides (Appended to prevent modifying existing CSS rules) */
.hero-container {
  text-align: center;
  margin: 0 auto;
}

.hero-btns {
  justify-content: center;
}

.intro-grid {
  text-align: center;
  justify-items: center;
}

.intro-grid .intro-img-wrapper {
  margin: 0 auto;
}

.grid-3 .info-card {
  text-align: center;
}

.grid-3 .info-card-icon {
  margin-left: auto;
  margin-right: auto;
}

.grid-4 .card-body {
  text-align: center;
  align-items: center;
}

.cta-container {
  grid-template-columns: 1fr;
  text-align: center;
  justify-items: center;
  max-width: 800px;
  margin: 0 auto;
}

.newsletter-form {
  max-width: 500px;
  width: 100%;
  margin: 0 auto;
}

.planner-layout > div:not(.form-card) {
  text-align: center;
}

.planner-layout > div:not(.form-card) .info-card-icon {
  margin-left: auto;
  margin-right: auto;
}

.section-header .section-tag {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: fit-content;
}

/* Align contact form submit button in the center without changing existing styling */
#contact-form {
  display: flex;
  flex-direction: column;
}

#contact-form button[type="submit"] {
  align-self: center;
}

/* Place get started button of the sidebar below the nav links */
.drawer-actions {
  margin-top: 32px;
}

/* Align guide request form submit button in the center without changing existing styling */
#guide-request-form {
  display: flex;
  flex-direction: column;
}

#guide-request-form button[type="submit"] {
  align-self: center;
}

/* Center the text column content in grid-2-col layout */
.grid-2-col > div:not(.visual-banner) {
  text-align: center;
}

/* Align budget planner form submit button in the center without changing existing styling */
#budget-planner-form {
  display: flex;
  flex-direction: column;
}

#budget-planner-form button[type="submit"] {
  align-self: center;
}

/* Center the section tag, heading, and paragraph inside checklist-wrapper */
.checklist-wrapper > .section-tag {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: fit-content;
}

.checklist-wrapper > h2,
.checklist-wrapper > p {
  text-align: center;
}

/* Center mistake-box card content */
.mistake-box {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Add padding to the left and right of subpage hero content */
.hero-page-container {
  padding-left: 24px;
  padding-right: 24px;
}




