/* Basic page reset so spacing looks consistent in every browser */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: #1b241e;
  background-color: #f7f8f6;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Top Navigation Bar */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 6%;
  background-color: #ffffff;
  border-bottom: 1px solid #dce3de;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 62px;
  width: auto;
  display: block;
}

.logo span {
  font-size: 11px;
  color: #2d6a4f;
  letter-spacing: 2px;
}

.navigation {
  display: flex;
  gap: 24px;
}

.navigation a:hover {
  color: #2d6a4f;
}

/* Buttons */
.primary-button,
.nav-button {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 6px;
  font-weight: bold;
  background-color: #2d6a4f;
  color: #ffffff;
}

.primary-button:hover,
.nav-button:hover {
  background-color: #1f4d39;
}

/* Full Width Hero Section */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 550px;
  padding: 80px 6%;

  background-image: url("images/gr.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  color: #ffffff;
}

/* Dark Overlay for Text Readability */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(15, 30, 21, 0.90) 0%,
    rgba(15, 30, 21, 0.70) 50%,
    rgba(15, 30, 21, 0.25) 100%
  );
}

/* Hero Text */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.hero h1 {
  font-size: 48px;
  line-height: 1.15;
  margin-bottom: 16px;
}

.hero-description {
  font-size: 18px;
  color: #ffffff;
  margin-bottom: 24px;
}
 /* Mobile Hero Adjustments */
@media (max-width: 768px) {

  .hero {
    min-height: 480px;
    padding: 60px 6%;
    background-position: center;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-description {
    font-size: 16px;
  }

  .hero-overlay {
    background: rgba(15, 30, 21, 0.75);
  }

}

/* Page Sections */
.section,
.contact-section {
  padding: 64px 6%;
}

/* ABOUT BEAR RIVER SECTION */

.about-section {
  padding: 80px 6%;
  background-color: #f7f8f6;
}

.about-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  max-width: 1300px;
  margin: 0 auto;
}

.about-content {
  flex: 1 1 50%;
  max-width: 550px;
  min-width: 0;
}

.about-content h2 {
  font-size: 36px;
  line-height: 1.2;
  margin-bottom: 20px;
}

.about-content p {
  color: #526056;
  line-height: 1.8;
  margin-bottom: 18px;
}

.about-image-container {
  flex: 1 1 50%;
  max-width: 550px;
  min-width: 0;
}

.about-image {
  display: block;
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 10px;
}

/* Why Choose Us Section */
.why-section {
  background-color: #ffffff;
  padding: 80px 6%;
  border-top: 1px solid #dce3de;
  border-bottom: 1px solid #dce3de;
}

.why-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  max-width: 1300px;
  margin: 0 auto;
}

.why-content {
  flex: 1;
  max-width: 600px;
}

.why-content h2 {
  font-size: 36px;
  line-height: 1.2;
  margin-bottom: 20px;
}

.why-content p {
  color: #526056;
  margin-bottom: 18px;
  line-height: 1.8;
}

.why-image-container {
  flex: 1;
  max-width: 550px;
}

.why-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.section-heading {
  max-width: 400px;
  margin-bottom: 36px;
}

.section-heading h2,
.about-content h2,
.contact-section h2 {
  font-size: 32px;
  margin-bottom: 12px;
}

/* Service & Why Cards */
.service-category {
  margin-bottom: 36px;
}

.category-title {
  font-size: 20px;
  margin-bottom: 16px;
  padding-bottom: 6px;
  border-bottom: 2px solid #dce3de;
}

.service-grid,
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.service-card,
.why-card {
  background-color: #ffffff;
  border: 1px solid #dce3de;
  border-radius: 8px;
  padding: 24px;
}

/* Why Choose Us Cards */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 220px);
  justify-content: center;
  gap: 28px;
  margin-top: 40px;
}

.why-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 28px 20px;
  border-radius: 10px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.why-card h3 {
  font-size: 19px;
  margin-bottom: 12px;
}

.why-card p {
  color: #526056;
  font-size: 15px;
  margin: 0;
}

.why-card:hover {
  transform: translateY(-4px);
  border-color: #2d6a4f;
}

.service-card:hover {
  border-color: #2d6a4f;
}

.service-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 14px;
  display: block;
}
.service-card img.zoom-out {
  object-fit: contain;
  background-color: #f7f8f6;
  padding: 18px;
}

.card-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}

.card-images img {
  height: 180px;
  margin-bottom: 0;
}

.service-card p,
.why-card p,
.about-content p,
.contact-section p {
  color: #526056;
  margin-top: 8px;
  margin-bottom: 16px;
}

.service-card span {
  font-weight: bold;
  color: #2d6a4f;
}

/* Footer */
.footer {
  background-color: #ffffff;
  color: #1b241e;
  border-top: 1px solid #dce3de;
  padding: 48px 6%;
  text-align: center;
}

.footer-logo {
  display: block;
  margin: 0 auto 18px;
  height: 180px;
  max-width: 95%;
  width: auto;
  object-fit: contain;
}

.footer p {
  margin-top: 6px;
  font-size: 14px;
  color: #526056;
}
/* Mobile Why Choose Us Section */
@media (max-width: 768px) {

  .why-container {
    flex-direction: column;
    gap: 30px;
    align-items: stretch;
  }

  .why-content {
    max-width: 100%;
  }

  .why-content h2 {
    font-size: 30px;
  }

  .why-image-container {
    max-width: 100%;
  }

  .why-image {
    height: 300px;
  }

}
/* Why Cards Mobile Layout */
@media (max-width: 768px) {

  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 220px));
    gap: 16px;
  }

  .why-card {
    min-height: 200px;
  }

}

@media (max-width: 480px) {

  .why-grid {
    grid-template-columns: minmax(0, 260px);
  }

}
/* Subpage Banner & Layouts (Contact & Service Pages) */
.page-banner {
  background-color: #16241b;
  color: #ffffff;
  padding: 64px 8%;
}

.page-banner-inner {
  max-width: 1150px;
  margin: 0 auto;
}

.page-banner h1 {
  font-size: 40px;
  line-height: 1.15;
  margin-bottom: 12px;
}

.page-banner p {
  color: #dce6df;
  max-width: 620px;
  font-size: 18px;
}

.page-section {
  padding: 64px 8%;
}

.contact-direct-section {
  background-color: #ffffff;
  border-top: 1px solid #dce3de;
}

.service-detail-layout,
.contact-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 56px;
  max-width: 1150px;
  margin: 0 auto;
}

.service-detail-text,
.contact-info-box {
  flex: 1 1 50%;
}

.service-detail-text h2,
.contact-info-box h2 {
  font-size: 32px;
  margin-bottom: 14px;
}

.service-detail-text p,
.contact-info-box p {
  color: #526056;
  margin-bottom: 18px;
  line-height: 1.75;
}

.detail-list {
  list-style: none;
  margin-bottom: 24px;
}

.detail-list li {
  padding: 8px 0 8px 22px;
  position: relative;
  color: #1b241e;
}

.detail-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #2d6a4f;
  font-weight: bold;
}

.contact-image-container,
.service-detail-image {
  flex: 1 1 50%;
}

.contact-image,
.service-detail-image img {
  display: block;
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #dce3de;
}

/* Quote Form */
.quote-form {
  flex: 1 1 50%;
  background-color: #ffffff;
  border: 1px solid #dce3de;
  border-radius: 10px;
  padding: 32px;
  display: flex;
  flex-direction: column;
}

.quote-form label {
  font-weight: bold;
  font-size: 14px;
  margin-bottom: 6px;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  font-family: inherit;
  font-size: 15px;
  padding: 12px;
  margin-bottom: 18px;
  border: 1px solid #dce3de;
  border-radius: 6px;
  background-color: #f7f8f6;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: none;
  border-color: #2d6a4f;
  background-color: #ffffff;
}

.quote-form button {
  border: none;
  cursor: pointer;
  font-size: 16px;
}

@media (max-width: 768px) {
  .service-detail-layout,
  .contact-layout {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-image,
  .service-detail-image img {
    height: 280px;
  }
}
/* Preventative Program Callout Section */
.program-callout-section {
  background-color: #ffffff;
  border-top: 1px solid #dce3de;
}

.program-callout-box {
  max-width: 1150px;
  margin: 0 auto;
  background-color: #f7f8f6;
  border: 1px solid #dce3de;
  border-left: 5px solid #2d6a4f;
  border-radius: 10px;
  padding: 36px 40px;
}

.program-callout-box h2 {
  font-size: 28px;
  margin-bottom: 14px;
}

.program-callout-box p {
  color: #526056;
  line-height: 1.75;
  margin-bottom: 20px;
  max-width: 820px;
}