:root {
  --color-brick-red: #8B0000;
  --color-teal: #008080;
  --color-sandstone: #D2B48C;
  --color-graphite: #2F2F2F;
  --color-white: #FFFFFF;
  --color-light-gray: #F5F5F5;
  --color-dark-gray: #333333;
}

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

html, body {
  height: 100%;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 400;
  line-height: 1.76;
  color: var(--color-graphite);
  background-color: var(--color-white);
  padding-top: 80px;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--color-white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  height: 80px;
  display: flex;
  align-items: center;
  padding: 0 2rem;
}

header .logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-right: auto;
}

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

header .logo-text {
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--color-brick-red);
  text-decoration: none;
  cursor: pointer;
}

header .logo-text:hover {
  color: var(--color-teal);
  transition: color 0.3s ease;
}

header nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

header nav a {
  text-decoration: none;
  color: var(--color-graphite);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
  border-radius: 3px;
  transition: all 0.3s ease;
}

header nav a:hover {
  background-color: var(--color-light-gray);
  color: var(--color-teal);
  transform: translateY(-2px);
}

main {
  flex: 1;
  min-height: calc(100vh - 80px);
}

footer {
  background-color: var(--color-graphite);
  color: var(--color-white);
  padding: 3rem 2rem 1rem;
  margin-top: 4rem;
}

footer .container {
  max-width: 1240px;
  margin: 0 auto;
}

footer h4 {
  color: var(--color-teal);
  font-size: 0.95rem;
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-weight: 600;
}

footer a {
  color: var(--color-sandstone);
  text-decoration: none;
  font-size: 0.9rem;
  line-height: 1.8;
  transition: color 0.3s ease;
}

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

footer p {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 2rem;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: #999;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
}

h1 {
  font-weight: 900;
  font-size: 4.7rem;
  color: var(--color-brick-red);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

h2 {
  font-weight: 700;
  font-size: 2.5rem;
  color: var(--color-graphite);
  margin: 2.5rem 0 1.5rem;
}

h3 {
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--color-brick-red);
  margin: 1.5rem 0 1rem;
}

section {
  padding: 4rem 0;
}

.hero {
  background: linear-gradient(135deg, rgba(139, 0, 0, 0.85) 0%, rgba(0, 128, 128, 0.85) 100%), 
              url('images/hero.jpg') center/cover;
  background-attachment: fixed;
  color: var(--color-white);
  padding: 8rem 2rem;
  text-align: center;
  position: relative;
  margin-top: -80px;
  padding-top: 160px;
}

.hero h1 {
  color: var(--color-white);
  font-size: 5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.hero .disclaimer {
  font-size: 0.95rem;
  margin-top: 2rem;
  color: var(--color-sandstone);
  font-weight: 600;
}

.intro-section {
  background-color: var(--color-light-gray);
  padding: 4rem 2rem;
}

.section-with-image {
  display: flex;
  gap: 3rem;
  align-items: center;
  margin: 3rem 0;
}

.section-with-image img {
  width: 50%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.section-with-image-text {
  width: 50%;
}

.full-width-image {
  width: 100%;
  margin: 2rem 0;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.text-highlight {
  color: var(--color-teal);
  font-weight: 600;
}

.disclaimer-box {
  background-color: var(--color-light-gray);
  border-left: 4px solid var(--color-brick-red);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 4px;
  font-size: 0.95rem;
  line-height: 1.7;
}

.disclaimer-box strong {
  color: var(--color-brick-red);
}

.cta-section {
  background-color: var(--color-brick-red);
  color: var(--color-white);
  padding: 3rem 2rem;
  text-align: center;
  margin: 3rem 0;
  border-radius: 8px;
}

.cta-section h3 {
  color: var(--color-white);
  margin-bottom: 1.5rem;
  font-size: 2rem;
}

.cta-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-link {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  background-color: var(--color-teal);
  color: var(--color-white);
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.cta-link:hover {
  background-color: var(--color-sandstone);
  color: var(--color-graphite);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 128, 128, 0.3);
}

.faq-item {
  background-color: var(--color-white);
  border: 1px solid #ddd;
  margin: 1.5rem 0;
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.faq-question {
  background-color: var(--color-light-gray);
  padding: 1.25rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--color-brick-red);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question:hover {
  background-color: #efefef;
  color: var(--color-teal);
}

.faq-answer {
  padding: 1.5rem;
  color: var(--color-graphite);
  line-height: 1.8;
  display: none;
  background-color: var(--color-white);
}

.faq-answer.active {
  display: block;
}

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

.blog-card {
  background-color: var(--color-white);
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  border-color: var(--color-teal);
}

.blog-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.blog-card-content {
  padding: 1.5rem;
}

.blog-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
}

.blog-card p {
  margin-bottom: 1rem;
  color: #666;
  font-size: 0.95rem;
}

.blog-card a {
  display: inline-block;
  color: var(--color-teal);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.blog-card a:hover {
  color: var(--color-brick-red);
}

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

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

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

input[type="email"],
textarea {
  width: 100%;
  padding: 0.875rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.3s ease;
}

input[type="email"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-teal);
  box-shadow: 0 0 0 3px rgba(0, 128, 128, 0.1);
}

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

button[type="submit"] {
  background-color: var(--color-brick-red);
  color: var(--color-white);
  padding: 0.875rem 2rem;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

button[type="submit"]:hover {
  background-color: var(--color-teal);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.thank-you-container {
  text-align: center;
  padding: 4rem 2rem;
  min-height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.thank-you-container h1 {
  color: var(--color-teal);
  margin-bottom: 1rem;
}

.thank-you-container p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 2rem;
}

.thank-you-container a {
  display: inline-block;
  background-color: var(--color-brick-red);
  color: var(--color-white);
  padding: 0.875rem 2rem;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.thank-you-container a:hover {
  background-color: var(--color-teal);
}

.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-graphite);
  color: var(--color-white);
  padding: 1.5rem 2rem;
  z-index: 999;
  display: none;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.cookie-consent.show {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cookie-consent-content {
  flex: 1;
  font-size: 0.95rem;
  line-height: 1.6;
}

.cookie-consent-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-consent button {
  padding: 0.65rem 1.5rem;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.cookie-consent .accept-btn {
  background-color: var(--color-teal);
  color: var(--color-white);
}

.cookie-consent .accept-btn:hover {
  background-color: var(--color-brick-red);
}

.cookie-consent .reject-btn {
  background-color: transparent;
  color: var(--color-white);
  border: 1px solid var(--color-white);
}

.cookie-consent .reject-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.cookie-consent .learn-btn {
  background-color: var(--color-sandstone);
  color: var(--color-graphite);
}

.cookie-consent .learn-btn:hover {
  background-color: var(--color-brick-red);
  color: var(--color-white);
}

@media (max-width: 768px) {
  body {
    padding-top: 70px;
  }

  header {
    height: 70px;
    flex-direction: column;
    padding: 0 1rem;
  }

  header nav {
    display: none;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .hero {
    padding: 6rem 1rem;
    padding-top: 100px;
  }

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

  .hero p {
    font-size: 1rem;
  }

  .section-with-image {
    flex-direction: column;
    gap: 1.5rem;
  }

  .section-with-image img,
  .section-with-image-text {
    width: 100%;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .cta-links {
    flex-direction: column;
  }

  .cta-link {
    width: 100%;
    text-align: center;
  }

  .cookie-consent.show {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .cookie-consent-buttons {
    flex-direction: column;
  }

  .cookie-consent button {
    width: 100%;
  }

  footer {
    padding: 2rem 1rem 1rem;
  }
}

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

  h2 {
    font-size: 1.25rem;
  }

  h3 {
    font-size: 1.1rem;
  }

  header nav a {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }

  .container {
    padding: 0 1rem;
  }

  section {
    padding: 2rem 0;
  }
}
