.App {
  text-align: center;
}

.App-logo {
  height: 10vmin;
  pointer-events: none;
}

@media screen and (max-width: 768px) {
  .nav-links {
    padding: 15px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .App-logo {
    animation: App-logo-spin infinite 20s linear;
  }
}

@media screen and (max-width: 768px) {
  .grid-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .card {
    width: 100%;
    margin: 10px 0;
  }
}

.App-header {
  /*min-height: 100vh;*/
  display: flex;
  flex-direction: row;
  align-items: left;
  justify-content: left; 
}

.App-header-text {
  font-size: 1.25rem;
  font-weight: 500;
  color: lightgray;
  flex: 1;
  margin-left: 1px;
  margin-top: 30px;
  transition: opacity 0.2s ease-in-out;
}

.fade-in {
  opacity: 1;
  transition: opacity 0.2s ease-in;
}

.fade-out {
  opacity: 0;
  transition: opacity 0.2s ease-out;
}

@keyframes App-logo-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

@media screen and (max-width: 768px) {
  button, 
  .button {
    min-height: 44px;
    padding: 12px 24px;
    margin: 10px 0;
  }
}

.nav-button {
  margin-top: 5px;
  margin-right: 40px;
  height: 20px;
  line-height: 20px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  /*color: #AA2828;*/
  color: lightgray;
  text-decoration: none;
  background: none;
  border: none;
}

.nav-button:hover {
  /*color: #8a2121;*/
  color: whitesmoke;
}

.nav-links a {
  display: block;
  padding: 12px 0;
  font-size: 18px;
}


.App-footer {
  background-color: #282c34;
  padding: 1rem;
  position: fixed;
  bottom: 0;
  width: 100%;
  display: flex;
  justify-content: center;
}


.content-section {
  margin-top: 2rem;
}

.content-section h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}



.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.service-item {
  padding: 1.5rem;
  border-radius: 8px;
  background-color: #f5f5f5;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.service-item h3 {
  margin-bottom: 1rem;
  color: #333;
}

ul {
  list-style-type: disc;
  margin-left: 2rem;
  margin-bottom: 1rem;
}

li {
  margin-bottom: 0.5rem;
}
.hero-text {
  font-size: 1.25rem;
  font-weight: 500;
  color: lightgray;
  margin: 0 auto;
}
.hero-text2 {
  font-size: 1.25rem;
  font-weight: 500;
  color: black;
  margin: 0 auto;
}
.phone-text {
  font-size: 1rem;
  font-weight: 500;
  color: lightgray;
  margin: 0 auto;
}

.page-container {
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom: 100px; /* Space for footer */
}

.main-page-container {
  max-width: 800px;
  margin: 1rem auto;
  padding: 2rem;
  margin: 0 auto;
  margin-bottom: 100px; /* Space for footer */
}
.content-section p {
  line-height: 1.6;
  margin-bottom: 1rem;
}
.main-content-section p {
  max-width: 800px;
  margin: 1rem auto;
  line-height: 1.6;
  margin-bottom: 1rem;
}