/* ==========================================================================
   Nixon Consulting - Main Stylesheet
   Built by Kadena Web Solutions
   ========================================================================== */

/* Import Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap");

/* ==========================================================================
   CSS Custom Properties (Design Tokens)
   ========================================================================== */
:root {
  /* Colors */
  --color-primary: #1e4ec4;
  --color-secondary: #13255b;
  --color-accent: #61ce70;
  --color-text: #a5aec2;
  --color-white: #ffffff;
  --color-dark-blue: #001a57;
  --color-light-blue: #c3d5ea;
  --color-light-gray: #f2f5fd;
  --color-border: #e4e4e4;
  --color-success: #28a745;
  --color-error: #dc3545;
  
  /* Typography */
  --font-family-primary: "Poppins", sans-serif;
  --font-size-xs: 0.75rem;    /* 12px */
  --font-size-sm: 0.875rem;   /* 14px */
  --font-size-base: 1rem;     /* 16px */
  --font-size-lg: 1.125rem;   /* 18px */
  --font-size-xl: 1.25rem;    /* 20px */
  --font-size-2xl: 1.5rem;    /* 24px */
  --font-size-3xl: 1.875rem;  /* 30px */
  --font-size-4xl: 2.25rem;   /* 36px */
  --font-size-5xl: 3rem;      /* 48px */
  
  /* Spacing */
  --spacing-xs: 0.25rem;   /* 4px */
  --spacing-sm: 0.5rem;    /* 8px */
  --spacing-md: 1rem;      /* 16px */
  --spacing-lg: 1.5rem;    /* 24px */
  --spacing-xl: 2rem;      /* 32px */
  --spacing-2xl: 3rem;     /* 48px */
  --spacing-3xl: 4rem;     /* 64px */
  --spacing-4xl: 5rem;     /* 80px */
  
  /* Layout */
  --container-max-width: 1200px;
  --section-padding: var(--spacing-4xl) 0;
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-base: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 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);
  
  /* Border Radius */
  --radius-sm: 0.125rem;   /* 2px */
  --radius-base: 0.25rem;  /* 4px */
  --radius-md: 0.375rem;   /* 6px */
  --radius-lg: 0.5rem;     /* 8px */
  --radius-xl: 0.75rem;    /* 12px */
}

/* ==========================================================================
   Reset and Base Styles
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family-primary);
  font-size: var(--font-size-sm);
  line-height: 1.6;
  color: var(--color-text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.container {
  max-width: var(--container-max-width);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

@media (max-width: 767.98px) {
  .container {
    padding: 0 var(--spacing-md);
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   Navigation Component
   ========================================================================== */
.navbar {
  background-color: #1b3686;
  padding: var(--spacing-lg) 0;
  border-bottom: 1px solid var(--color-border);
  transition: padding var(--transition-base);
}

.navbar--scrolled {
  padding: var(--spacing-lg) 0;
  position: fixed;
  top: 0;
  width: 100%;
  left: 0;
  right: 0;
  z-index: 99999;
  box-shadow: var(--shadow-lg);
}

.navbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.navbar__logo {
  display: flex;
  align-items: center;
}

.navbar__logo-image {
  max-height: 5em;
  margin-right: var(--spacing-md);
}

.navbar__logo-text {
  color: var(--color-white);
  font-size: var(--font-size-3xl);
  font-weight: 600;
}

.navbar__buttons {
  display: flex;
  gap: var(--spacing-md);
}

.navbar__button {
  background-color: var(--color-primary);
  padding: var(--spacing-md) var(--spacing-lg);
  border-radius: var(--radius-sm);
  color: var(--color-white);
  border: none;
  text-align: center;
  transition: var(--transition-base);
  cursor: pointer;
}

.navbar__button-link {
  color: var(--color-white);
  text-decoration: none;
  font-size: var(--font-size-sm);
  font-weight: 400;
  line-height: 1.75;
}

.navbar__button:hover {
  transform: translateY(-2px);
}

.navbar__toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--color-white);
  font-size: var(--font-size-2xl);
  padding: var(--spacing-sm);
  cursor: pointer;
}

.navbar__close {
  display: none;
  background: transparent;
  border: none;
  color: var(--color-white);
  font-size: var(--font-size-2xl);
  padding: var(--spacing-sm);
  cursor: pointer;
}

/* Mobile Navigation */
@media (max-width: 767.98px) {
  .navbar__toggle,
  .navbar__close {
    display: block;
  }
  
  .navbar__buttons {
    position: fixed;
    max-width: 320px;
    width: 100%;
    height: 100vh;
    right: -330px;
    top: 0;
    z-index: 999;
    background-color: var(--color-primary);
    flex-direction: column;
    gap: 0;
    padding-top: var(--spacing-2xl);
    transition: var(--transition-base);
  }
  
  .navbar__buttons--open {
    right: 0;
  }
  
  .navbar__close {
    position: absolute;
    left: var(--spacing-md);
    top: var(--spacing-md);
    z-index: 1;
  }
  
  .navbar__logo-text {
    font-size: var(--font-size-lg);
  }
}

/* ==========================================================================
   Hero Section Component
   ========================================================================== */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.42)),
    url(../img/yosemite-national-park-landscape-california-144251.jpeg);
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 90vh;
  display: flex;
  align-items: center;
}

.hero__content {
  max-width: 50%;
}

.hero__title {
  color: var(--color-white);
  font-family: var(--font-family-primary);
  font-size: var(--font-size-4xl);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: var(--spacing-lg);
}

.hero__description {
  color: var(--color-white);
  font-size: var(--font-size-base);
  font-weight: 400;
  line-height: 1.75;
  padding-right: 9.375rem;
  margin-bottom: var(--spacing-xl);
}

.hero__buttons {
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

.hero__button {
  border-radius: 0;
  box-shadow: var(--shadow-lg);
  padding: var(--spacing-md) var(--spacing-2xl);
  text-decoration: none;
  transition: var(--transition-base);
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.hero__button--primary {
  color: #1d1a4e;
  background-color: var(--color-white);
}

.hero__button--secondary {
  color: var(--color-white);
  background-color: var(--color-primary);
}

.hero__button:hover {
  transform: translateY(-8px);
}

.hero__button-icon {
  font-size: var(--font-size-xs);
}

/* Hero Responsive */
@media (max-width: 991.98px) {
  .hero {
    height: 80vh;
  }
}

@media (max-width: 767.98px) {
  .hero {
    background-position: top left;
    height: 400px;
  }
  
  .hero__content {
    max-width: 100%;
  }
  
  .hero__title {
    font-size: var(--font-size-3xl);
    line-height: 1.1;
  }
  
  .hero__description {
    padding-right: 0;
  }
}

@media (max-width: 575.98px) {
  .hero__title {
    font-size: var(--font-size-2xl);
    line-height: 1.4;
  }
  
  .hero__button {
    max-width: 120px;
    width: 100%;
    justify-content: space-evenly;
    padding: var(--spacing-md);
    font-size: var(--font-size-xs);
  }
  
  .services__item {
    flex-direction: column;
    text-align: center;
    gap: var(--spacing-md);
  }
  
  .services__icon {
    width: 40px;
    height: 40px;
    margin: 0 auto;
  }
  
  .services__item-title {
    font-size: var(--font-size-base);
  }
  
  .services__item-description {
    font-size: var(--font-size-xs);
    line-height: 1.5;
  }
  
  .team__member {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    text-align: center;
  }
  
  .team__image-container {
    height: 300px;
  }
  
  .team__image {
    width: 80%;
    height: 100%;
    margin: 0 auto;
  }
  
  .team__badge {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    margin: var(--spacing-md) auto 0;
  }
  
  .team__badge-name {
    font-size: var(--font-size-lg);
  }
  
  .team__badge-experience {
    font-size: var(--font-size-sm);
  }
  
  .team__description {
    font-size: var(--font-size-xs);
    line-height: 1.5;
  }
  
  .fee-structure__tabs {
    flex-direction: column;
    gap: var(--spacing-sm);
  }
  
  .fee-structure__tab {
    padding: var(--spacing-sm);
    font-size: var(--font-size-xs);
  }
  
  .fee-table th,
  .fee-table td {
    padding: var(--spacing-sm);
    font-size: var(--font-size-xs);
  }
  
  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    text-align: center;
  }
  
  .footer__form {
    max-width: 100%;
  }
  
  .footer__form-field {
    font-size: var(--font-size-xs);
  }
  
  .footer__form-submit {
    font-size: var(--font-size-xs);
  }
}

/* ==========================================================================
   Testimonials Section Component
   ========================================================================== */
.testimonials {
  margin: var(--spacing-3xl) 0;
}

.testimonials__heading {
  padding: 0 0 var(--spacing-lg) var(--spacing-md);
}

.testimonials__title {
  color: #1d1a4e;
  font-family: var(--font-family-primary);
  font-size: var(--font-size-3xl);
  font-weight: 600;
  line-height: 1.3;
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
}

.testimonials__item {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.testimonials__quote-icon {
  flex-shrink: 0;
}

.testimonials__text {
  color: #3e3e3e;
  font-size: var(--font-size-lg);
  font-weight: 600;
  line-height: 1.6;
}

@media (max-width: 767.98px) {
  .testimonials {
    margin: var(--spacing-2xl) 0;
  }
}

/* ==========================================================================
   Services Section Component
   ========================================================================== */
.services {
  background-color: var(--color-secondary);
  padding: var(--spacing-4xl) 0 var(--spacing-3xl) 0;
  position: relative;
}

.services__overlay {
  background-image: url(https://www.tctaxcpa.com/wp-content/uploads/2022/11/shape-for-service.png);
  background-position: 80% 0;
  background-repeat: no-repeat;
  background-size: 26% 32%;
  opacity: 1;
  height: 90%;
  width: 90%;
  top: 0;
  left: 0;
  position: absolute;
}

.services__header {
  max-width: 41.666667%;
}

.services__title {
  color: var(--color-white);
  font-size: var(--font-size-3xl);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: var(--spacing-md);
}

.services__description {
  color: rgba(255, 255, 255, 0.621);
  font-size: var(--font-size-sm);
  font-weight: 400;
  line-height: 2;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-lg);
}

.services__item {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

.services__icon {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
}

.services__icon--special {
  filter: brightness(1.5) contrast(0.5);
}

.services__content {
  flex: 1;
}

.services__item-title {
  color: var(--color-white);
  font-size: var(--font-size-lg);
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: var(--spacing-sm);
}

.services__item-description {
  color: rgba(255, 255, 255, 0.621);
  font-size: var(--font-size-sm);
  font-weight: 400;
  line-height: 2;
}

.services__cta {
  padding: var(--spacing-md) var(--spacing-2xl);
  font-size: var(--font-size-sm);
  font-weight: 500;
  text-decoration: none;
  color: var(--color-white);
  background-color: var(--color-primary);
  width: fit-content;
  transition: var(--transition-base);
  margin-top: var(--spacing-xl);
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.services__cta:hover {
  transform: translateY(-8px);
}

/* Services Responsive */
@media (max-width: 1224.98px) {
  .services__cta {
    margin: 0 auto;
  }
  
  .services__title {
    font-size: var(--font-size-2xl);
    line-height: 1.4;
  }
}

@media (max-width: 775.98px) {
  .services__overlay {
    background-position: 0 0;
    background-size: contain;
  }
  
  .services__item {
    gap: var(--spacing-lg);
  }
  
  .services__cta {
    margin-left: 0;
  }
  
  .services__description {
    line-height: 1.6;
  }
  
  .services {
    padding: var(--spacing-3xl) 0 var(--spacing-2xl) 0;
  }
}

@media (max-width: 575.98px) {
  .services__item {
    gap: var(--spacing-md);
  }
  
  .services__item-title {
    font-size: var(--font-size-sm);
    line-height: 1.4;
  }
  
  .services__description {
    font-size: var(--font-size-xs);
    line-height: 1.4;
    text-align: center;
  }
  
  .services__title {
    font-size: var(--font-size-xl);
    line-height: 1.4;
    text-align: center;
  }
}

/* ==========================================================================
   Team Section Component
   ========================================================================== */
.team {
  padding: var(--spacing-3xl) 0;
}

.team__member {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  align-items: center;
  margin-bottom: var(--spacing-xl);
}

.team__member--reverse {
  direction: rtl;
}

.team__member--reverse > * {
  direction: ltr;
}

.team__image-container {
  position: relative;
}

.team__image {
  width: 100%;
  height: 511px;
  object-fit: cover;
  object-position: top;
}

.team__badge {
  position: absolute;
  top: var(--spacing-lg);
  padding: var(--spacing-md) var(--spacing-xl);
  background-color: var(--color-white);
  box-shadow: var(--shadow-xl);
  z-index: 111;
}

.team__badge--left {
  left: -var(--spacing-lg);
}

.team__badge--right {
  right: -var(--spacing-lg);
}

.team__badge-name {
  margin-bottom: var(--spacing-sm);
  color: #1d1a4e;
  font-family: "Inter", sans-serif;
  font-size: var(--font-size-4xl);
  font-weight: 600;
  line-height: 0.8;
}

.team__badge-experience {
  color: #1d1a4e;
  font-size: var(--font-size-lg);
  font-weight: 600;
  line-height: 1.6;
}

.team__description {
  color: #616670;
  font-size: var(--font-size-sm);
  font-weight: 400;
  line-height: 2;
}

/* Team Responsive */
@media (max-width: 1024.98px) {
  .team__badge--left,
  .team__badge--right {
    left: var(--spacing-md);
    right: auto;
  }
  
  .team__image-container {
    height: 480px;
    overflow: hidden;
    padding: var(--spacing-xl);
    width: fit-content;
  }
  
  .team__image {
    margin: 0 auto;
    width: 60%;
  }
  
  .team__description {
    margin-bottom: var(--spacing-md);
    line-height: 1.4;
  }
  
  .team {
    padding: var(--spacing-2xl) 0;
  }
}

@media (max-width: 767.98px) {
  .team__image-container {
    height: 450px;
  }
  
  .team__image {
    margin: 0 auto;
    width: 100%;
  }
  
  .team__badge-name {
    font-size: var(--font-size-2xl);
  }
  
  .team__badge-experience {
    font-size: var(--font-size-base);
  }
}

@media (max-width: 575.98px) {
  .team__badge {
    left: 0;
    top: auto;
    bottom: var(--spacing-lg);
  }
  
  .team__image-container {
    height: 400px;
    padding: var(--spacing-md) 0;
  }
  
  .team__image {
    height: 100%;
    width: 80%;
  }
  
  .team__badge {
    padding: var(--spacing-md);
  }
  
  .team__badge-name {
    font-size: var(--font-size-lg);
    line-height: 1.2;
    margin: 0;
  }
  
  .team__badge-experience {
    font-size: var(--font-size-sm);
    margin: 0;
  }
}

@media (max-width: 480.98px) {
  .team__image-container {
    height: 380px;
  }
  
  .team__image {
    width: 100%;
  }
}

/* ==========================================================================
   Fee Structure Component
   ========================================================================== */
.fee-structure {
  background-color: var(--color-secondary);
  padding: var(--spacing-4xl) 0;
}

.fee-structure__title {
  color: var(--color-white);
  font-size: var(--font-size-3xl);
  font-weight: 600;
  margin-bottom: var(--spacing-xl);
}

.fee-structure__tabs {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: var(--spacing-md);
}

.fee-structure__tab {
  cursor: pointer;
  padding: var(--spacing-lg);
  width: 100%;
  background-color: #f6f6f6;
  color: var(--color-primary);
  transition: var(--transition-base);
  font-weight: 500;
  border: none;
  font-size: var(--font-size-sm);
}

.fee-structure__tab--active {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.fee-structure__content {
  background-color: var(--color-white);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-lg);
  margin-top: var(--spacing-xl);
}

.fee-structure__section {
  padding: var(--spacing-lg);
}

.fee-structure__section-title {
  font-size: var(--font-size-xl);
  font-weight: 600;
  margin-bottom: var(--spacing-lg);
}

.fee-table {
  table-layout: fixed;
  width: 100%;
  margin-top: var(--spacing-md);
  background-color: var(--color-white);
  border: 1px solid #f1f1f1;
  border-collapse: collapse;
}

.fee-table--highlighted {
  background-color: rgba(19, 37, 91, 0.05);
}

.fee-table thead {
  background-color: var(--color-secondary);
  color: var(--color-white);
}

.fee-table th,
.fee-table td {
  padding: var(--spacing-md);
  text-align: left;
  border: 1px solid #f1f1f1;
}

.fee-table th {
  text-align: center;
  font-weight: 600;
}

.fee-table tbody tr {
  background-color: var(--color-white);
  border-bottom: 1px solid #f1f1f1;
}

.fee-table tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}

.fee-table__list {
  list-style: none;
  padding: 0;
  line-height: 1.875;
}

.fee-structure__total {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: var(--spacing-lg) var(--spacing-lg) var(--spacing-md);
  display: flex;
  justify-content: space-between;
  margin-top: var(--spacing-xl);
}

.fee-structure__total-text {
  font-size: var(--font-size-xl);
}

.fee-structure__notes {
  margin-top: var(--spacing-lg);
}

.fee-structure__notes-title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: var(--spacing-md);
}

.fee-structure__notes-list {
  list-style: none;
  padding: 0;
  line-height: 1.875;
}

.fee-structure__notes-item {
  margin-bottom: var(--spacing-sm);
}

.fee-structure__plus {
  position: relative;
  top: 7.5rem;
  font-weight: 600;
  text-align: center;
}

.fee-structure__text {
  padding-top: var(--spacing-lg);
  font-weight: 500;
}

/* Fee Structure Responsive */
@media (max-width: 767px) {
  .fee-structure {
    padding: var(--spacing-xl) 0;
  }
  
  .fee-structure__tabs {
    gap: var(--spacing-md);
  }
  
  .fee-structure__tab {
    padding: var(--spacing-md);
    font-size: var(--font-size-sm);
  }
  
  .fee-structure__content {
    padding: var(--spacing-md) var(--spacing-md);
  }
  
  .fee-structure__section-title {
    font-size: var(--font-size-lg);
  }
  
  .fee-structure__section {
    padding: var(--spacing-md);
  }
  
  .fee-table th,
  .fee-table td {
    padding: var(--spacing-md);
    font-size: var(--font-size-sm);
  }
  
  .fee-table__list {
    line-height: 1.4;
  }
  
  .fee-structure__total {
    padding: var(--spacing-md) var(--spacing-md) 0;
  }
  
  .fee-structure__total-text {
    font-size: var(--font-size-sm);
  }
  
  .fee-structure__notes-list {
    line-height: 1.4;
  }
  
  .fee-structure__notes-item {
    padding-top: var(--spacing-sm);
    font-size: var(--font-size-sm);
  }
  
  .fee-structure__plus {
    top: var(--spacing-md);
  }
  
  .fee-table th {
    font-size: var(--font-size-sm);
    word-break: break-all;
  }
  
  .fee-table td {
    font-size: var(--font-size-xs);
    padding: var(--spacing-md) var(--spacing-sm);
  }
  
  .fee-structure__text {
    font-size: var(--font-size-sm);
    word-wrap: break-word;
  }
}

/* ==========================================================================
   Footer Component
   ========================================================================== */
.footer {
  background-color: var(--color-secondary);
  background-image: url(../img/dot.png);
  background-position: 25% 0;
  background-repeat: no-repeat;
  background-size: auto;
  margin-top: 0;
  margin-bottom: 0;
  position: relative;
}

.footer__overlay {
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  position: absolute;
  background-image: url(../img/shape.png);
  background-position: 80% 0;
  background-repeat: no-repeat;
  background-size: auto;
  opacity: 1;
}

.footer__main {
  padding: var(--spacing-3xl) 0;
  position: relative;
  z-index: 9;
  width: 100%;
  overflow: hidden;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-xl);
  overflow: hidden;
}

.footer__description {
  font-size: var(--font-size-sm);
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 0;
  color: var(--color-text);
  padding-top: var(--spacing-lg);
}

.footer__hours {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.footer__hours-icon {
  width: 42px;
  height: 42px;
}

.footer__hours-text {
  font-size: var(--font-size-sm);
  color: var(--color-text);
}

.footer__hours-time {
  font-size: var(--font-size-sm);
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-white);
}

.footer__section-title {
  padding-bottom: var(--spacing-xl);
  color: var(--color-white);
  font-size: var(--font-size-lg);
  font-weight: 500;
  line-height: 1.6;
}

.footer__text {
  font-size: var(--font-size-sm);
  color: var(--color-text);
}

.footer__link {
  color: var(--color-white);
  font-size: var(--font-size-sm);
  font-weight: 400;
  text-decoration: none;
  line-height: 1.6;
}

.footer__form {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.footer__form-field {
  width: 100%;
  border: 1px solid #69727d;
  color: #1f2124;
  background-color: var(--color-white);
  border-radius: var(--radius-sm);
  padding: var(--spacing-sm) var(--spacing-md);
  line-height: 1.4;
  font-size: var(--font-size-sm);
  min-height: 40px;
  box-sizing: border-box;
  word-wrap: break-word;
}

.footer__form-submit {
  text-align: center;
  padding: var(--spacing-sm) var(--spacing-md);
  font-size: var(--font-size-base);
  border-radius: var(--radius-sm);
  display: flex;
  justify-content: center;
  align-items: center;
  border: none;
  min-height: 40px;
  font-weight: 700;
  background-color: var(--color-white);
  color: #040060;
  width: auto;
  margin-left: auto;
  cursor: pointer;
  transition: var(--transition-base);
}

.footer__form-submit:hover {
  background-color: #f8f9fa;
}

.footer__form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.contact-message {
  margin-top: var(--spacing-md);
  padding: var(--spacing-md);
  border-radius: var(--radius-base);
  font-size: var(--font-size-sm);
  font-weight: 500;
  text-align: center;
}

.contact-message--success {
  background-color: rgba(40, 167, 69, 0.1);
  color: var(--color-success);
  border: 1px solid rgba(40, 167, 69, 0.2);
}

.contact-message--error {
  background-color: rgba(220, 53, 69, 0.1);
  color: var(--color-error);
  border: 1px solid rgba(220, 53, 69, 0.2);
}

.contact-message--info {
  background-color: rgba(13, 110, 253, 0.1);
  color: var(--color-primary);
  border: 1px solid rgba(13, 110, 253, 0.2);
}

/* Form validation styles */
.footer__form-field.is-valid {
  border-color: var(--color-success);
  box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

.footer__form-field.is-invalid {
  border-color: var(--color-error);
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.footer__form-field:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 0.2rem rgba(30, 78, 196, 0.25);
  outline: none;
}


.footer__divider {
  margin: 0;
  background-color: rgba(175, 184, 203, 0.53);
  opacity: 1;
}

.footer__bottom {
  padding: var(--spacing-md) 0;
  position: relative;
  z-index: 999;
  width: 100%;
  overflow: hidden;
}

.footer__copyright {
  margin: 0 auto;
  padding: var(--spacing-lg) 0 var(--spacing-md) 0;
  text-align: center;
  font-size: var(--font-size-sm);
  color: var(--color-text);
  font-weight: 400;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.footer__copyright-link {
  color: var(--color-text);
  text-decoration: none;
  font-size: var(--font-size-sm);
  line-height: 1.4;
  margin-top: var(--spacing-md);
}

/* Footer Responsive */
@media (max-width: 767.98px) {
  .footer {
    background-image: none;
  }
  
  .footer__overlay {
    background-image: none;
  }
  
  .footer__grid {
    margin-top: var(--spacing-xl);
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
  
  .footer__section-title {
    font-size: var(--font-size-lg);
  }
  
  .footer__main {
    padding: var(--spacing-2xl) 0;
  }
  
  .footer__form {
    max-width: 100%;
    overflow: hidden;
  }
}

@media (max-width: 575.98px) {
  .footer__form-submit {
    font-size: var(--font-size-xs);
  }
  
  .footer__section-title {
    font-size: var(--font-size-sm);
    line-height: 1.4;
    margin: 0;
    padding: var(--spacing-md) 0;
  }
  
  .footer__copyright {
    flex-wrap: wrap;
  }
  
  .footer__text,
  .footer__link,
  .footer__description,
  .footer__hours-text,
  .footer__hours-time {
    font-size: var(--font-size-xs);
    line-height: 1.4;
  }
  
  .footer__copyright-link {
    font-size: var(--font-size-xs);
    line-height: 1.4;
    margin-top: var(--spacing-md);
  }
}


/* ==========================================================================
   Loading States
   ========================================================================== */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

/* ==========================================================================
   Accessibility Improvements
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Focus styles for better accessibility */
button:focus,
input:focus,
textarea:focus,
select:focus,
a:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --color-text: #000000;
    --color-white: #ffffff;
    --color-primary: #0000ff;
  }
}

/* ==========================================================================
   Print Styles
   ========================================================================== */
@media print {
  .navbar,
  .footer,
  .hero__buttons,
  .services__cta {
    display: none;
  }
  
  .hero {
    background: none;
    color: #000;
    height: auto;
  }
  
  .hero__title,
  .hero__description {
    color: #000;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
  
  .container {
    max-width: none;
    padding: 0;
  }
}
