/* ========================================
   Layne Tax Solutions - Static CSS
   ======================================== */

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  color: #333;
  background-color: #fff;
  font-family: 'Inter', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
}

img {
  max-width: 100%;
  vertical-align: middle;
  display: inline-block;
}

a {
  color: inherit;
  text-decoration: none;
  background-color: transparent;
}

a:hover {
  outline: 0;
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 10px;
  font-weight: 700;
}

h1 { font-size: 48px; line-height: 1.15; }
h2 { font-size: 36px; line-height: 1.2; }
h3 { font-size: 24px; line-height: 1.3; }

p { margin-top: 0; margin-bottom: 10px; }

input, select, textarea, button {
  font-family: inherit;
  font-size: inherit;
}

/* Container */
.container-max1440 {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ========================================
   Top Callout Bar
   ======================================== */
.top-callout {
  background-color: #1a3a5c;
  padding: 10px 0;
  text-align: center;
}

.action-textwrapper {
  display: inline-block;
  text-decoration: none;
}

.cta-boldtext {
  color: #f0c040;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 0;
  line-height: 1.4;
}

.cta-text {
  color: #fff;
  font-size: 14px;
  margin-bottom: 0;
  line-height: 1.4;
}

/* ========================================
   Navigation
   ======================================== */
.nav-bar {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-content-wrapper {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav-logo {
  display: inline-block;
}

.nav-logo-image {
  height: 50px;
  width: auto;
}

.nav-link-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  color: #333;
  font-size: 15px;
  font-weight: 500;
  padding: 10px 16px;
  text-decoration: none;
  transition: color 0.2s;
}

.nav-link:hover {
  color: #1a3a5c;
}

.nav-button-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 12px;
}

.default-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #1a3a5c;
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.2s;
  border: none;
  cursor: pointer;
}

.default-button:hover {
  background-color: #14304a;
}

.btn-icon {
  width: 18px;
  height: 18px;
}

.btn-text {
  margin-bottom: 0;
  line-height: 1.4;
}

.mobile-nav-trigger {
  display: none; /* Base state */
  cursor: pointer;
  padding: 5px;
  width: 32px;
  height: 24px;
  flex-direction: column;
  justify-content: space-between;
  background: transparent;
  border: none;
  position: relative; /* Enables z-index layering */
  z-index: 1001;      /* Keeps it higher than .nav-bar (z-index: 1000) */
  flex-shrink: 0;     /* Keeps logo/layout from squeezing it to 0px width */
}

.hamburger-bar {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #1a1a1a;
  border-radius: 2px;
}

.mobile-nav-wrapper {
  display: none;
  background-color: #fff;
  border-top: 1px solid #eee;
  padding: 20px 40px;
}

.mobile-nav-wrapper.active {
  display: block;
}

.mobile-nav-container {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav-link {
  color: #333;
  font-size: 16px;
  font-weight: 500;
  padding: 12px 0;
  text-decoration: none;
  border-bottom: 1px solid #f0f0f0;
}

.mobile-nav-link:hover {
  color: #1a3a5c;
}

.mobile-nav-button-wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.mobile-nav-btn {
  justify-content: center;
}

/* ========================================
   Hero Section
   ======================================== */
.hp-hero-section {
  background: linear-gradient(135deg, #f8f9fb 0%, #eef1f5 100%);
  padding: 80px 0;
}

.hero-content-wrapper {
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero-col-content {
  flex: 1;
}

.heading-2 {
  color: #1a3a5c;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.hero-heading {
  font-size: 44px;
  line-height: 1.15;
  color: #1a1a1a;
  margin-bottom: 20px;
}

.hero-p {
  font-size: 18px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 30px;
}

.hero-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #1a3a5c;
  color: #fff;
  padding: 16px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  transition: background-color 0.2s, transform 0.2s;
}

.hero-button:hover {
  background-color: #14304a;
  transform: translateY(-2px);
}

.hero-img {
  flex: 1;
  max-width: 550px;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

/* ========================================
   Reviews Section
   ======================================== */
.reviews-section {
  padding: 60px 0;
  background-color: #f8f9fb;
}

.reviews-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.reviews-content h2 {
  font-size: 32px;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.reviews-subtitle {
  font-size: 17px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 28px;
}

.review-google-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background-color: #4285f4;
}

.review-google-btn:hover {
  background-color: #3367d6;
}

/* ========================================
   Info Section
   ======================================== */
.info-section {
  padding: 80px 0;
  background-color: #f8f9fb;
}

.info-content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.info-content-child h2 {
  font-size: 36px;
  color: #1a1a1a;
  margin-bottom: 16px;
}

.info-content-child p {
  font-size: 17px;
  color: #555;
  line-height: 1.7;
}

.info-button-wrapper {
  margin-top: 12px;
}

.info-cta-button {
  display: inline-block;
  background-color: #1a3a5c;
  color: #fff;
  padding: 16px 36px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s, transform 0.2s;
}

.info-cta-button:hover {
  background-color: #14304a;
  transform: translateY(-2px);
}

/* ========================================
   Contact Section
   ======================================== */
.contact-section {
  padding: 80px 0;
  background-color: #1a3a5c;
}

.contact-form-text-wrapper {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 40px;
}

.contact-heading {
  color: #fff;
  font-size: 36px;
  margin-bottom: 16px;
}

.h-reg {
  color: #f0c040;
  font-weight: 400;
}

.contact-form-text-wrapper > p {
  color: #c0cfe0;
  font-size: 16px;
  line-height: 1.7;
}

.contact-form-home-container {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-field-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field-input,
.select-field,
.text-area {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #d0d8e0;
  border-radius: 6px;
  font-size: 15px;
  color: #333;
  background-color: #fff;
  outline: none;
  transition: border-color 0.2s;
}

.field-input:focus,
.select-field:focus,
.text-area:focus {
  border-color: #3898ec;
}

.field-input::placeholder,
.text-area::placeholder {
  color: #999;
}

.select-field {
  background-color: #f3f3f3;
  appearance: auto;
}

.text-area {
  min-height: 140px;
  resize: vertical;
}

.submit-button {
  display: block;
  width: 100%;
  padding: 16px;
  background-color: #f0c040;
  color: #1a1a1a;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s;
}

.submit-button:hover {
  background-color: #e0b030;
  transform: translateY(-1px);
}

.success-message {
  max-width: 700px;
  margin: 0 auto;
}

.success-message-wrapper {
  text-align: center;
  background-color: #fff;
  border-radius: 12px;
  padding: 40px;
}

.success-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
}

.success-message-wrapper h2 {
  color: #1a3a5c;
  font-size: 28px;
}

.success-message-wrapper div {
  color: #555;
  font-size: 16px;
  line-height: 1.6;
}

/* ========================================
   Footer
   ======================================== */
.footer-section {
  background-color: #111;
  color: #aaa;
  padding: 40px 0 24px;
}

.footer-contact-info {
  text-align: center;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px 30px;
  border-bottom: 1px solid #333;
}

.footer-contact-p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 8px;
}

.footer-link {
  color: #ccc;
  text-decoration: underline;
}

.footer-link:hover {
  color: #fff;
}

.footer-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 24px 40px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright-notice p {
  font-size: 13px;
  color: #666;
  margin-bottom: 0;
}

.designer-byline p {
  font-size: 13px;
  color: #666;
  margin-bottom: 0;
}

.designer-byline:hover p {
  color: #aaa;
}

/* ========================================
   Team Page
   ======================================== */
.page-header {
  padding: 60px 0 40px;
  background-color: #f8f9fb;
}

.page-header h1 {
  font-size: 40px;
  color: #1a1a1a;
  margin-bottom: 16px;
}

.p-max720 {
  max-width: 720px;
  font-size: 18px;
  color: #555;
  line-height: 1.7;
}

.team-members {
  padding: 60px 0 80px;
}

.team-members-wrapper {
  margin-bottom: 40px;
}

.team-members-list {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
}

.team-members-list.leadership {
  gap: 50px;
}

.team-members-item {
  background-color: #f8f9fb;
  border-radius: 12px;
  overflow: hidden;
  width: 320px;
  text-align: center;
  transition: box-shadow 0.3s;
}

.team-members-item:hover {
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.team-member-headshot {
  width: 100%;
  height: 220px;
  object-fit: contain;
  background-color: #f8f9fb;
}

.team-member-headshot.not-leadership {
  height: 240px;
}

.team-member-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #e8ecf0;
  height: 240px;
}

.team-member-info-container {
  padding: 24px;
}

.smaller-h2 {
  font-size: 20px;
  color: #1a1a1a;
  margin-bottom: 6px;
}

.team-member-title {
  font-size: 15px;
  font-weight: 500;
  color: #1a3a5c;
  margin-bottom: 16px;
}

.team-contact-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 14px;
}

.team-divider {
  width: 80px;
  height: 3px;
  background-color: #1a3a5c;
  margin: 10px auto 40px;
  border-radius: 2px;
}

/* ========================================
   Services Page
   ======================================== */
.services-section {
  padding: 40px 0 80px;
}

.services-tabs {
  max-width: 900px;
  margin: 0 auto;
}

.services-tab-menu {
  display: flex;
  gap: 4px;
  margin-bottom: 40px;
  border-bottom: 2px solid #e0e0e0;
}

.services-tab-link {
  flex: 1;
  padding: 16px 24px;
  background-color: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  font-size: 17px;
  font-weight: 600;
  color: #888;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  text-align: center;
}

.services-tab-link:hover {
  color: #555;
}

.services-tab-link.active {
  color: #1a3a5c;
  border-bottom-color: #1a3a5c;
}

.services-tab-content {
  display: none;
}

.services-tab-content.active {
  display: block;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.services-item {
  background-color: #f8f9fb;
  border-radius: 10px;
  padding: 28px 32px;
  border-left: 4px solid #1a3a5c;
}

.service-heading {
  font-size: 22px;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.services-item p {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 0;
}

.services-cta-wrapper {
  text-align: center;
  margin-top: 50px;
}

.services-cta-button {
  display: inline-block;
  background-color: #1a3a5c;
  color: #fff;
  padding: 16px 36px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s, transform 0.2s;
}

.services-cta-button:hover {
  background-color: #14304a;
  transform: translateY(-2px);
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
  .hero-content-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .hero-img {
    max-width: 100%;
  }

  .hero-heading {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .container-max1440 {
    padding: 0 20px;
  }

  .nav-link-wrapper {
    display: none;
  }

  /* CHANGED: Switched from display: block to display: flex */
  .mobile-nav-trigger {
    display: flex;
  }

  .nav-content-wrapper {
    height: 65px;
    padding: 0 20px;
  }

  .hp-hero-section {
    padding: 50px 0;
  }

  .hero-heading {
    font-size: 30px;
  }

  .hero-p {
    font-size: 16px;
  }

  .info-section {
    padding: 50px 0;
  }

  .contact-section {
    padding: 50px 0;
  }

  .team-members-list {
    flex-direction: column;
    align-items: center;
  }

  .team-members-item {
    width: 100%;
    max-width: 400px;
  }

  .form-field-grid-2 {
    grid-template-columns: 1fr;
  }

  .footer-container {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  h1 { font-size: 32px; }
  h2 { font-size: 28px; }
}

@media (max-width: 480px) {
  .hero-heading {
    font-size: 26px;
  }

  .default-button {
    padding: 8px 14px;
    font-size: 13px;
  }

  .contact-heading {
    font-size: 28px;
  }
}
