/* ====== Color Variables ====== */
:root {
  --primary-color: #1a2d5a;       /* Deep navy for headers/nav */
  --accent-color: #f7c548;       /* Gold/amber for CTAs */
  --secondary-color: #3b7f87;    /* Teal for subtle highlights */
  --text-color: #333333;
  --bg-color: #ffffff;
  --light-bg: #f7f7f7;
  --border-color: #eee;
  --hover-background: #1a2d5a;  /* #e6b836; */
  --hover-color: #f7c548;
}

/* ====== Reset ====== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

p {
  margin-bottom: 8px;
}

div {
  margin-top: 8px;
}

/* ====== Base Styles ====== */
body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  font-size: 18px;
  line-height: 1.2;
}

h1, h2, h3 {
  font-family: 'Georgia', serif;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--hover-color);
  background-color: var(--hover-background);
}

/* ====== Layout ====== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 1rem;
}

/* ====== Header ====== */
.header {
  background-color: var(--primary-color);
  color: var(--bg-color);
  padding: 0.5rem 0; /* default was 1 */  /* reduce top & bottom padding */
}

.header-container {
  display: flex;
  flex-direction: column; /* stack logo and nav*/
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; /* allow stacking */
  gap: 12px;
}

.logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
  justify-content: center;
}

.site-logo {
  height: 80px; /* desktop size */
  width: auto;
  margin-right: 10px;
}

.logo-text {
  font-size: 2.4rem;
  font-weight: bold;
  color: #accent-color; /* match brand */
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    align-items: center;
  }

  .site-logo {
    height: 40px; /* smaller logo on mobile */
    margin-right: 8px;
  }

  .nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  .nav a {
    padding: 6px 12px;
    font-size: 1rem;
  }
}

.nav {
  display: flex;
  gap: 1.5rem; /* default 1.5rem */
  justify-content: flex-end;
  align-items: center;
  padding: 0; 
  margin: 0 0.75rem;      /* horizontal spacing */ 
  flex-shrink: 0; /* keeps the items from shrinking or expanding */
}

.nav a {
  font-size: 1rem;
  /* color: var(--bg-color); */
}

.btn-nav {
  background-color: var(--accent-color);
  /*color: var(--primary-color);*/
  color: #1a2d5a; /* dark text for contrast */
  padding: 0.6rem 1rem;

  line-height: 1;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: bold;
  margin-left: 2rem;
  transition: background-color 0.3s;
}

.btn-nav:hover {
  color: var(--hover-color);
  background-color: var(--hover-background);
}

/* ====== Hero Section ====== */
.hero {
  background-color: var(--light-bg);
  padding: 1rem 1rem;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;

}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.cta {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  style="text-align: center;" 
  padding: 1rem 0.5rem;"
}

/* ====== Primary CTA Button ====== */
.btn-primary {
  background-color: var(--accent-color);
  color: #1a2d5a; /* dark text for contrast */
  /*color: var(--primary-color); */
  margin-top: 2rem;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-weight: 600; 
  letter-spacing: 0.5px;"
  padding-bottom: 2rem;
}

.btn-primary:hover {
  color: var(--hover-color);
  background-color: var(--hover-background);
}

/* ====== Secondary CTA ====== */
.btn-secondary {
  display: inline-block;
  padding: 0.3rem 1rem;
  border: 1px solid var(--secondary-color);
  border-radius: 5px;
  color: var(--primary-color);
  background-color: transparent;
  margin-top: 0.5rem;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  color: var(--hover-color);
  background-color: var(--hover-background);
  border-color: var(--secondary-color);
}

/* ====== Services Grid ====== */
.service-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.service-box {
  padding: 1rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  background-color: var(--bg-color);
  margin-bottom: 1rem;
}

.services-preview {
  margin-bottom: 3rem; /* or 48px, adjust as needed */
}

.contact-box {
  padding: 1rem;
  /* margin-top: 1rem; */
  margin-bottom: 2px;
  padding-top: 1rem; /* 8px adds space inside the top of the section */
  border: 0px solid var(--border-color);
  border-radius: 0px;
  background-color: var(--bg-color);  
  text-align: center;
}

.schedule-box {
  padding: 1rem;
  /* margin-top: 1rem; */
  margin-bottom: 2px;
  padding-top: 1rem; /* 8px adds space inside the top of the section */
  border: 0px solid var(--border-color);
  border-radius: 0px;
  background-color: var(--bg-color);  
  text-align: center;
}

/* ====== Page Titles ====== */
.page-title {
  text-align: center;
  padding: 3rem 2rem 2rem /* defaults 3rem 2rem 2rem */
  margin-bottom: 1rem;   /* smaller space below */
}

.page-title h1 {
  font-size: 1.5rem; /* default 2rem */
  line-height: 1.2;      /* tighter line height */
}

/* ====== Footer ====== */
.footer {
  background-color: var(--light-bg);
  border-top: 1px solid var(--border-color);
  text-align: center;
  margin-top: 2rem;
  padding: 1rem 1rem;
  font-size: 0.9rem;
  color: #666;
}

.footer a {
  color: var(--primary-color);
}

.footer a:hover {
  color: var(--hover-color);
  background-color: var(--hover-background);
}

/* ====== Contact Form ====== */
.contact-form {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 1rem;  /* 0.5rem; */
  margin: 0.5rem auto;
  padding: 1.5rem;
  max-width: 800px;
  border-radius: 8px;
  border: none ; /* removes solid border */
  box-shadow: 0 1px 3px rgba(0,0,0,0.1); /* optional subtle shadow for separation */
  /*margin-bottom: 0.25rem; /* reduced spacing between rows (~70% smaller) 
    margin-top: 1rem;
*/
}

.contact-form {
  background-color: var(--light-bg);
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  max-width: 600px;
  margin: 0 auto;
}

/* ====== Contact Form Labels ====== */
.contact-form label,
.contact-form .service-options legend,
.contact-form .message-row label {
  flex: 0 0 160px; /* increased from 140px to 160px */
  margin-bottom: 0;
  text-align: right;
}

/* Text inputs, email, phone, textarea */
.contact-form .form-row input[type="text"],
.contact-form .form-row input[type="email"],
.contact-form .form-row input[type="tel"],
.contact-form .form-row textarea {
  flex: 2;
  font-size: 1.2rem; /* optional: slightly larger text */
  margin-bottom: 0;      /* remove extra spacing */
}

/* ====== Services Fieldset ====== */
.contact-form .service-options {
  border: none;
  padding: 0;
  margin: 0.5rem 0 0.5rem 0; /* added top margin to create space above label */
}


@media (max-width: 768px) {
  .contact-form .service-options {
    grid-template-columns: 1fr; /* single column on mobile */
  }
}

.contact-form .service-options legend {
  grid-column: 1 / -1; /* make legend span both columns */
  font-weight: bold;
  margin-bottom: 0.25rem;
  text-align: left;    /* optional: left-align legend */
}


.contact-form .service-options label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 140px; /* keeps checkboxes aligned with inputs */
  margin: 0;            /* remove extra margin */
}

/* ====== Message Row ====== */
.contact-form .message-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem; /* increased spacing between label and textarea */
  margin-bottom: 1rem;
}

.contact-form .message-row label {
  flex: 0 0 160px; /* align with other labels */
  margin-bottom: 0;
  text-align: right;
}

.contact-form .message-row textarea {
  flex: 2;           /* twice as wide as label area */
  font-size: 1.4rem; /* larger font for easier typing */
  width: 100%;       /* fill remaining horizontal space */
  height: 220px;     /* taller typing area */
  padding: 0.5rem;
  line-height: 1.4;
  resize: vertical;  /* allow vertical resizing */
  min-width: 400px;  /* ensures a minimum width */
  border: none; /* remove textarea border */
  border-radius: 2px;
}
/*
.contact-form .message-row textarea {
  flex: 1;
  height: 150px; /* larger typing area 
  padding: 0.75rem;
  font-size: 1rem;
  line-height: 1.4;
  resize: vertical; /* allow vertical resizing 
}*/

.contact-form button {
  margin-top: 0;  /* Removes extra space above */
  align-self: flex-end;
}

.contact-info {
  text-align: center;
  margin: 1rem auto;
  max-width: 600px;
}

.contact-info-color {
  color: #001cfa; /*#0000f9 ; */
}

/* ====== Tax Debt Relief Page Styles ====== */

.irs-tax-representation-page header {
  background-color: #9b1c31;
  color: #fff;
  text-align: center;
  padding: 2rem 1rem;
  /* Keep it simple, centered */
}

.irs-tax-representation-page header h1,
.irs-tax-representation-page header p nav {
  font-family: Arial, sans-serif;
  margin: 0.2rem 0;
  background-color: #9b1c31;
  color: #fff;
  text-align: center;
  padding: 0.5rem 0.5rem;
}

/* Simple nav container below header text */
.irs-tax-representation-page .nav {
  margin-top: 1rem;
  display: inline-block;
  /* Align nav links horizontally */
}

.irs-tax-representation-page .nav a {
  color: #fff;
  margin: 0 0.75rem;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  vertical-align: middle;
}

.irs-tax-representation-page .nav a.btn-nav {
  background-color: #f7c548; /* match accent color */
  color: #1a2d5a; /* dark text for contrast */
  padding: 0.6rem 1rem;
  border-radius: 5px;
  font-weight: bold;
  margin-left: 1rem;
  transition: background-color 0.3s ease;
}

.irs-tax-representation-page .nav a.btn-nav:hover {
  /* background-color: #e6b836; /* slightly darker hover */
  color: var(--hover-color);
  background-color: var(--hover-background);
}

.irs-tax-representation-section-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin: 2rem auto;
}

.irs-tax-representation-section-grid section {
  padding: 1.5rem;
  background-color: #ffffff;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.irs-tax-representation-section-grid h2 {
  margin-top: 0;
  color: #9b1c31;
}

.irs-tax-representation-section-grid ul {
  list-style: none;
  padding-left: 1rem;
  margin: 1rem 0 0 0;
}

.irs-tax-representation-section-grid ul li::before {
  content: "✔️";
  margin-right: 0.5rem;
}

@media (max-width: 768px) {
  .irs-tax-representation-section-grid {
    grid-template-columns: 1fr;
  }
}

/* ====== Bookkeeping Page Styles ====== */

.bookkeeping-page header {
  background-color: #9b1c31;
  color: #fff;
  text-align: center;
  padding: 2rem 1rem;
  /* Keep it simple, centered */
}

.bookkeeping-page header h1,
.bookkeeping-page header nav {
  font-family: Arial, sans-serif;
  margin: 0.2rem 0;
  background-color: #9b1c31;
  color: #fff;
  text-align: center;
  padding: 0.5rem 0.5rem;
}

/* Simple nav container below header text */
.bookkeeping-page .nav {
  margin-top: 1rem;
  display: inline-block;
  /* Align nav links horizontally */
}

.bookkeeping-page .nav a {
  color: #fff;
  margin: 0 0.75rem;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  vertical-align: middle;
}

.bookkeeping-page .nav a.btn-nav {
  background-color: #f7c548; /* match accent color */
  color: #1a2d5a; /* dark text for contrast */
  padding: 0.6rem 1rem;
  border-radius: 5px;
  font-weight: bold;
  margin-left: 2rem;
  transition: background-color 0.3s ease;
}

.bookkeeping-page .nav a.btn-nav:hover {
  /*background-color: #e6b836; /* slightly darker hover */
  color: var(--hover-color);
  background-color: var(--hover-background);
}

.bookkeeping-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin: 2rem auto;
  /* Add left spacing */
  margin-left: 20px;   /* Pushes the whole grid from the left edge */
}

.bookkeeping-grid section {
  padding: 1.5rem;
  background-color: #ffffff;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.bookkeeping-grid h2 {
  margin-top: 0;
  color: #9b1c31;
}

.bookkeeping-grid ul {
  list-style: none;
  padding-left: 1rem;
  margin: 1rem 0 0 0;
}

.bookkeeping-grid ul li::before {
  content: "✔️";
  margin-right: 0.5rem;
}

.bookkeeping-div {
  margin-left: 20px; 
}

@media (max-width: 768px) {
  .bookkeeping-grid {
    grid-template-columns: 1fr;
  }
}

/* ====== Tax Preparation Page Styles ====== */

.taxprep-page body {
      font-family: Arial, sans-serif;
      margin: 0;
      padding: 0;
      background-color: white;
      color: black;
      line-height: 1.6;
} 

.taxprep-page header {
      background-color: #2874A6;
      color: #fff;
      text-align: center;
      padding: 2rem 1rem;
}

.taxprep-page header p,
.taxprep-page header nav {
  font-family: Arial, sans-serif;
  margin: 0.2rem 0;
  background-color: #2874A6;
  color: #fff;
  text-align: center;
  padding: 0rem 1rem;
}

.taxprep-page header h1 {
  font-family: Arial, sans-serif;
  margin: 0 0 0.5rem;
  background-color: #2874A6;
  color: #fff;
  text-align: center;
  padding: 2rem 1rem;
}

/* Simple nav container below header text */
.taxprep-page .nav {
  margin-top: 1rem;
  display: inline-block;
  /* Align nav links horizontally */
}

.taxprep-page .nav a {
  color: #fff;
  margin: 0 0.75rem;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  vertical-align: middle;
}

.taxprep-page .nav a.btn-nav {
  background-color: #f7c548; /* match accent color */
  color: #1a2d5a; /* dark text for contrast */
  padding: 0.6rem 1rem;
  border-radius: 5px;
  font-weight: bold;
  margin-left: 2rem;
  transition: background-color 0.3s ease;
}

.taxprep-page .nav a.btn-nav:hover {
  color: var(--hover-color);
  background-color: var(--hover-background);
  /*background-color: #e6b836; /* slightly darker hover */
}

.taxprep-content {
  background-color: #ffffff;
  color: black;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin: 2rem auto;
  /* Add left spacing */
  margin-left: 20px;   /* Pushes the whole grid from the left edge */
}

.taxprep-content section {
  padding: 1.5rem;
  background-color: #ffffff;
  color: black;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.taxprep-content h2 {
  font-family: Arial, sans-serif;
  margin-top: 1rem;
  color: #2874A6;
}

.taxprep-content ul {
  list-style: none;
  padding-left: 1rem;
  margin: 1rem 0 0 0;
}

.taxprep-content ul li::before {
  content: "✔️";
  margin-right: 0.5rem;
}

.taxprep-content {
  margin-left: 20px; 
}

@media (max-width: 768px) {
  .taxprep-content {
    grid-template-columns: 1fr;
  }
}

