:root {
  --primary: #1a3a52;
  --primary-dark: #0f2638;
  --accent-green: #6b8e5f;
  --accent-beige: #d4c4a8;
  --accent-rust: #a0573d;
  --accent-gray: #e8e8e8;
  --text-dark: #1a1a1a;
  --text-light: #f5f5f5;
  --border-light: #d0d0d0;
}

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

html, body {
  font-family: 'Georgia', 'Times New Roman', serif;
  color: var(--text-dark);
  background-color: #ffffff;
  line-height: 1.6;
}

header {
  background-color: var(--primary);
  color: var(--text-light);
  padding: 1.5rem 2rem;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

header .logo {
  font-size: 1.8rem;
  font-weight: bold;
  text-decoration: none;
  color: var(--accent-beige);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

header .logo img {
  width: 40px;
  height: 40px;
}

header nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

header nav a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
}

header nav a:hover {
  color: var(--accent-beige);
}

main {
  margin-top: 80px;
}

section {
  padding: 4rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

h1 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 2px;
}

h2 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  color: var(--primary);
  letter-spacing: 1px;
}

h3 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: var(--primary);
}

p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-dark);
}

.hero {
  background-image: linear-gradient(rgba(26, 58, 82, 0.6), rgba(26, 58, 82, 0.6)), url('images/hero.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--text-light);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 2rem;
}

.hero h1 {
  color: var(--text-light);
  font-size: 4rem;
  max-width: 900px;
  margin: 0 auto;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.text-block {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
  line-height: 1.8;
}

.text-block.centered {
  text-align: center;
  max-width: 1000px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

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

.card {
  background-color: var(--accent-gray);
  padding: 2rem;
  border-radius: 4px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 1.5rem;
  border-radius: 4px;
}

.card h3 {
  margin-bottom: 1rem;
  color: var(--accent-green);
}

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

.feature-list {
  display: grid;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.feature-item {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.feature-icon {
  width: 40px;
  height: 40px;
  background-color: var(--accent-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-weight: bold;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.feature-item h3 {
  margin-top: 0;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

.image-left {
  max-width: 500px;
}

.image-right {
  max-width: 500px;
}

.pull-quote {
  border-left: 4px solid var(--accent-green);
  padding-left: 2rem;
  margin: 2rem 0;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--primary);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background-color: var(--accent-gray);
}

.comparison-table th,
.comparison-table td {
  padding: 1.5rem;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}

.comparison-table th {
  background-color: var(--primary);
  color: var(--text-light);
  font-weight: bold;
}

.comparison-table tr:hover {
  background-color: #f0f0f0;
}

.accordion {
  margin: 2rem 0;
}

.accordion-item {
  border: 1px solid var(--border-light);
  margin-bottom: 1rem;
  border-radius: 4px;
  overflow: hidden;
}

.accordion-header {
  background-color: var(--accent-gray);
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
  font-weight: bold;
  color: var(--primary);
}

.accordion-header:hover {
  background-color: #d9d9d9;
}

.accordion-toggle {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--accent-green);
}

.accordion-body {
  display: none;
  padding: 1.5rem;
  background-color: var(--text-light);
  border-top: 1px solid var(--border-light);
}

.accordion-body.active {
  display: block;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    max-height: 0;
  }
  to {
    opacity: 1;
    max-height: 500px;
  }
}

.faq-list {
  margin: 2rem 0;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.faq-item {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-light);
}

.faq-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.faq-question {
  font-weight: bold;
  color: var(--primary);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.faq-answer {
  color: var(--text-dark);
  line-height: 1.8;
}

.cta-button {
  display: inline-block;
  background-color: var(--accent-green);
  color: var(--text-light);
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-family: inherit;
}

.cta-button:hover {
  background-color: #5a7650;
  transform: translateY(-2px);
}

.cta-section {
  text-align: center;
  padding: 3rem 0;
}

.cta-section p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.centered-text {
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
}

.disclaimer {
  background-color: var(--accent-gray);
  padding: 2rem;
  border-radius: 4px;
  margin: 2rem 0;
  border-left: 4px solid var(--accent-rust);
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.disclaimer p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

footer {
  background-color: var(--primary-dark);
  color: var(--text-light);
  padding: 3rem 2rem;
  margin-top: 4rem;
}

footer .footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 2rem;
}

footer h3 {
  color: var(--accent-beige);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

footer p {
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

footer a {
  color: var(--accent-beige);
  text-decoration: none;
  transition: color 0.3s ease;
  display: block;
  margin-bottom: 0.5rem;
}

footer a:hover {
  color: var(--accent-green);
}

footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.9rem;
}

.modal {
  display: none;
  position: fixed;
  z-index: 200;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
}

.modal.active {
  display: flex;
  align-items: flex-end;
}

.modal-content {
  background-color: var(--text-light);
  padding: 2rem;
  border-radius: 8px 8px 0 0;
  width: 100%;
  max-width: 100%;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.2);
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.modal-header h2 {
  margin: 0;
  font-size: 1.5rem;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-dark);
}

.modal-body p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.modal-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.btn-primary {
  flex: 1;
  padding: 0.75rem;
  background-color: var(--accent-green);
  color: var(--text-light);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.95rem;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: #5a7650;
}

.btn-secondary {
  flex: 1;
  padding: 0.75rem;
  background-color: transparent;
  color: var(--text-dark);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.95rem;
  transition: background-color 0.3s ease;
}

.btn-secondary:hover {
  background-color: #f0f0f0;
}

.btn-more {
  padding: 0.5rem 1rem;
  background-color: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.btn-more:hover {
  background-color: var(--primary);
  color: var(--text-light);
}

.fade-in {
  animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.slide-up {
  animation: slideUpElement 0.6s ease-out;
}

@keyframes slideUpElement {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

form {
  max-width: 600px;
  margin: 2rem auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
  color: var(--primary);
}

input[type="email"],
textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

input[type="email"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent-green);
}

textarea {
  resize: vertical;
  min-height: 150px;
}

button[type="submit"] {
  width: 100%;
  padding: 1rem;
  background-color: var(--accent-green);
  color: var(--text-light);
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
  background-color: #5a7650;
}

ul, ol {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

li {
  margin-bottom: 0.75rem;
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.2rem;
  }

  header nav ul {
    gap: 1rem;
  }

  header nav a {
    font-size: 0.9rem;
  }

  header .logo {
    font-size: 1.3rem;
  }

  header .logo img {
    width: 30px;
    height: 30px;
  }

  .grid-2 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .grid-3 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .hero {
    min-height: 60vh;
  }

  .hero h1 {
    font-size: 2rem;
  }

  footer .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  section {
    padding: 2.5rem 1.5rem;
  }

  .pull-quote {
    padding-left: 1.5rem;
    font-size: 1rem;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 1rem;
    font-size: 0.95rem;
  }
}
