*:root {
  --forest: #34483b;
  --forest-dark: #232b26;
  --bronze: #a06f3c;
  --cream: #fcfbfb;
  --warm-white: #f5f1ea;
  --body-text: #333832;
}

html {
  scroll-behavior: smooth;
}


* {
  margin: 0;
  padding: 0;
  list-style: none;
  text-decoration: none;
  font-family: "Source Sans 3", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.65;
  color: #26231f;
}

h1,
h2,
h3 {
  font-family: "Libre Baskerville", Georgia, serif;
  line-height: 1.25;
}


.header {
    position: sticky;
    top:0;
    z-index:100;
    width:100%;
    height: 300px;
  background-image: url("header.jpg"); 
   background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    background-color:black;
  
}

.container {
  position: sticky;
  top: 300px;
  z-index: 999;

  width: 100%;
  min-height: 50px;
  margin: 0;
  font-size: 18px;
  box-shadow: 0 0 2px;
  background-color: #edecea;
  box-sizing: border-box;
}


nav {
    width:100%;
    display: flex;
    justify-content: space-between;
     align-items: center; 
     padding: 10px 0px;
    
}

nav ul {
    
    list-style-type: none;
    width:100%;
    text-align:center;
    
}

nav ul li {
    display: inline;
    margin:10px 50px;
}

nav ul li a {
    color: black;
    text-decoration: none;
    font-family: "Source Sans 3", Arial, sans-serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.5px;
    cursor:pointer;
    
}

nav ul li a:hover {
    color: grey;
}


.about {
    width: 100%;
   height: 400px; 
    background-color:#ffffff; 
}


/* The single parent container holding both items */
.about-hero-section {
  display: flex;         /* Places items side-by-side */
  width: 100%;
  height: 400px;         /* Keeps the section height locked */
  background-color: whitesmoke;
}

/* Right Side (Image) */
.half-width-img {
  width: 50%;            /* Takes up the remaining half width */
  height: 100%;          /* Fills the 400px height of the parent */
  object-fit: cover;     /* Crops and covers cleanly without bleeding */
}

.aboutgraph {
  width: 50%;            /* Takes up exactly half the width */
  height: 100%;          /* Fills the 400px height of the parent */
  margin-right: .25%; 
  padding:40px;
  display: flex;
  flex-direction: column;   /* Keeps text wrapping normally from top to bottom */
  justify-content: center;  /* Centers text vertically (top to bottom) */
  align-items: center;      /* Centers text horizontally (left to right) */
  background-color: #f2eee6;
  box-sizing: border-box;
}

.aboutgraph .about-label p {
  font-size: 30px;
  font-weight:bold;
  text-align:center;
  color:#8a603b;
  
}

.aboutgraph p {
    font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-align:center;
  color:#292621;
  padding:2px;
}


.whatwe {
    display:flex;
    min-height: 300px;
    height: auto;
     margin-top:5px;
    margin-bottom:5px;
    background-color:#FCFBF8;
    padding: 80px 6%;
    font-size: 18px; 
    box-shadow: 0px 0px 2px;
   
}

.intro {
  width: 100%;
  text-align: center;
  margin-bottom: 35px;
}

.intro h2 {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 38px;
  line-height: 1.2;
  font-weight: 700;
  color: #8a603b;
  margin: 0 0 16px;
}

.intro p {
  font-family: "Source Sans 3", Arial, sans-serif;
  font-size: 24px;
  line-height: 1.45;
  font-weight: 400;
  color: #56534E;
  margin: 0;
}

/* The Parent Grid Container */
.card-container {
  display: flex;
  flex-wrap: wrap; /* Allows cards to drop to a new line on small screens */
  gap: 60px;
  padding: 20px;
  justify-content: center;
}



/* The Text-Only Card */
.text-card {
  /* 1. Fluid & Responsive Rules */
  flex: 1 1 300px;    /* Grow to fill space, shrink if needed, baseline at 300px */
  max-width: 420px;   /* Prevents the text from stretching too wide on massive screens */
  width: 100%;        /* Forces it to utilize full available space on mobile devices */
  
  /* 2. Padding & Box Model */
  padding: 50px;
  box-sizing: border-box; /* Crucial: Includes padding in the total width calculation */
  
  /* 3. Aesthetic Presentation */
  background-color: #EEEAE4;
  border: 1px solid #c8b9a8;
  border-radius: 16px;
  box-shadow: 0 6px 6px 18px rgba(56,42,30 0.10);
}

/* Typography Constraints */
.text-card h2 {
  font-family: "Libre Bakerville", Georgia, serif;
  font-size: 26px;
  line-height: 1.25;
  font-weight: 700;
/*  margin: 12px 0 8px 0; */
  color:  #34483B;
}

.text-card p {
  font-family: "Source Sans 3", Arial, sans-serif;
   font-size: 18px;
   line-height: 1.6;
   font-weight:400;
  margin: 0 0 24px 0;
  color: #2b2926;
}

.fa-magnifying-glass {
  display:flex;
  font-size: 40px;
  color:#8a603b;
  
}

.fa-laptop {
  display:flex;
  font-size: 40px;
  color:#8a603b;
  
}

.fa-square-check {
  display:flex;
  font-size: 40px;
  color:#8a603b;
  
}

.icon-wrapper {
  text-align: center; /* Centers inline elements like Font Awesome icons */
  width: 100%;       /* Ensures wrapper spans the entire card width */
  margin-top: -15px;
  margin-bottom: 10px;
}

/*

.standards {
  display: flex;
  width: 100%;
  min-height: 500px;
   margin-bottom:5px;
  background-color: #34483b;
  box-sizing: border-box;
   box-shadow: 0px 0px 2px;

}

/* Left 35% 

.standleft {
  flex: 0 0 35%;
  padding: 70px 55px;
  box-sizing: border-box;

  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Right 65% 

.standright {
  flex: 0 0 65%;
  box-sizing: border-box;
  padding: 70px 75px;

  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 70px;
  row-gap: 55px;
  align-content: center;

  border-left: 1px solid rgba(244, 240, 232, 0.25);
}

.standard-item {
  padding: 0;
}

.standard-item h3 {
  margin: 0 0 14px;
}

.standard-item p {
  max-width: 470px;
  margin: 0;
  line-height: 1.65;
}
.standleft h2 {
  margin: 0 0 14px;
  color:#faf0e8;
}

.standleft p {
  color: #e6e1d8;
}

.standright h3 {
  color:#faf0e8;
}

.standright p {
  color: #e6e1d8;
}

/* =========================
   SHARED SECTION STYLES
========================= */

:root {
  --forest: #34483b;

}
.standards {
  display: flex;
  width: 100%;
  min-height: 560px;
  background-color: var(--forest);
  color: var(--warm-white);
  box-sizing: border-box;
}

.standleft {
  flex: 0 0 35%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 60px;
  box-sizing: border-box;
}

 .standleft .standards-label {
  color: var(--bronze);
}

.standleft h2 {
  margin: 0 0 24px;
  color: var(--warm-white);
  font-size: clamp(2.25rem, 3.5vw, 3.75rem);
  font-weight: 600;
  line-height: 1.08;
}

.standards-intro {
  max-width: 430px;
  margin: 0;
  color: rgba(245, 241, 234, 0.82);
  font-size: 1.15rem;
  line-height: 1.75;
}

.standright {
  flex: 0 0 65%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 70px;
  row-gap: 58px;
  align-content: center;
  padding: 75px;
  border-left: 1px solid rgba(245, 241, 234, 0.2);
  box-sizing: border-box;
}

.standard-item {
  position: relative;
  padding: 0;
}

.standard-number {
  display: block;
  margin-bottom: 13px;
  color: var(--bronze);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.standard-item h3 {
  margin: 0 0 15px;
  color: var(--warm-white);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.25;
}

.standard-item p {
  max-width: 470px;
  margin: 0;
  color: rgba(245, 241, 234, 0.78);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* =========================
   CONTACT SECTION
========================= */
.contact-section {
  width: 100%;
  padding: 110px 30px;
  background-color: #f5f1ea;
  border-top: 5px solid #a06f3c;
  box-sizing: border-box;
  text-align: center;
}

.contact-content {
  width: 100%;
  max-width: 850px;
  margin: 0 auto;
}

.contact-label {
  margin: 0 0 18px;
  color: #a06f3c;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.2;
}

.contact-content h2 {
  margin: 0 0 26px;
  color: #34483b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 4.5vw, 4.25rem);
  font-weight: 700;
  line-height: 1.08;
}

.contact-intro {
  max-width: 760px;
  margin: 0 auto 38px;
  color: #333832;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.18rem;
  line-height: 1.75;
}

.contact-button {
  display: block;
  width: fit-content;
  margin: 0 auto 24px;
  padding: 17px 32px;
  background-color: #34483b;
  border: 2px solid #34483b;
  color: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.contact-button:hover {
  background-color: transparent;
  color: #34483b;
  transform: translateY(-2px);
}

.contact-email {
  display: inline-block;
  color: #76502f;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
}

.contact-email:hover {
  color: #34483b;
  text-decoration: underline;
}


/* =========================
   FOOTER
========================= */

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  width: 100%;
  padding: 26px 7%;
  background-color: #232b26;
  color: rgba(255, 255, 255, 0.72);
  box-sizing: border-box;
}

.site-footer p {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.site-footer p:first-child {
  color: #ffffff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  font-weight: 700;
}


/* =========================
   TABLET
========================= */

@media (max-width: 900px) {
  .contact-section {
    padding: 90px 35px;
  }

  .contact-intro {
    font-size: 1.1rem;
  }


} 


/* =========================
   MOBILE
========================= */

@media (max-width: 600px) {
  .contact-section {
    padding: 75px 24px;
    border-top-width: 4px;
  }

  .contact-label {
    margin-bottom: 15px;
    font-size: 0.78rem;
  }

  .contact-content h2 {
    margin-bottom: 22px;
    font-size: 2.35rem;
  }

  .contact-intro {
    margin-bottom: 32px;
    font-size: 1.03rem;
    line-height: 1.7;
  }

  .contact-button {
    width: 100%;
    max-width: 330px;
    padding: 16px 20px;
    box-sizing: border-box;
  }

  .contact-email {
    font-size: 0.95rem;
    overflow-wrap: anywhere;
  }

  .site-footer {
    flex-direction: column;
    gap: 9px;
    padding: 25px 20px;
    text-align: center;
  }

}

/* =========================
   TABLET
========================= */

@media (max-width: 1000px) {
  .standards {
    flex-direction: column;
  }

  .standleft,
  .standright {
    flex: 0 0 auto;
    width: 100%;
  }

  .standleft {
    padding: 70px 7% 55px;
  }

  .standards-intro {
    max-width: 680px;
  }

  .standright {
    padding: 60px 7% 75px;
    border-left: 0;
    border-top: 1px solid rgba(245, 241, 234, 0.2);
    column-gap: 55px;
    row-gap: 50px;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .contact-action {
    max-width: 560px;
  }




}


/* =========================
   MOBILE
========================= */

@media (max-width: 650px) {
  .standleft {
    padding: 60px 24px 45px;
  }

  .standleft h2 {
    margin-bottom: 20px;
    font-size: 2.35rem;
  }

  .standards-intro {
    font-size: 1.05rem;
    line-height: 1.65;
  }

  .standright {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 10px 24px 60px;
  }

  .standard-item {
    padding: 34px 0;
    border-bottom: 1px solid rgba(245, 241, 234, 0.17);
  }

  .standard-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .standard-item h3 {
    font-size: 1.35rem;
  }

  .standard-item p {
    max-width: none;
    font-size: 1rem;
    line-height: 1.65;
  }

  .contact-section {
    padding: 70px 24px;
  }

  .contact-inner {
    gap: 38px;
  }

  .contact-copy h2 {
    font-size: 2.35rem;
  }

  .contact-copy > p:last-child {
    font-size: 1.05rem;
    line-height: 1.7;
  }

  .contact-action {
    width: 100%;
    padding: 30px 24px;
  }

  .contact-button {
    width: 100%;
    padding: 15px 18px;
    text-align: center;
    box-sizing: border-box;
  }
}

@media (max-width: 768px) {
  .service-card h3 {
    font-size: 23px;
  }

  .service-card p {
    font-size: 17px;
  }


}

/* ====================================
   TABLET AND MOBILE NAVIGATION
==================================== */

@media (max-width: 800px) {
  .container {
    width: 100%;
    height: auto;
    margin: 0;
    background-color: #edecea;
    box-sizing: border-box;
  }

  nav {
    width: 100%;
    padding: 0;
  }

  nav ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    margin: 0;
    padding: 0;
  }

  nav ul li {
    display: block;
    margin: 0;
    border-right: 1px solid rgba(52, 72, 59, 0.16);
    border-bottom: 1px solid rgba(52, 72, 59, 0.16);
  }

  nav ul li:nth-child(even) {
    border-right: 0;
  }

  nav ul li a {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 52px;
    padding: 8px 10px;
    color: #26231f;
    font-size: 0.82rem;
    line-height: 1.25;
    text-align: center;
    box-sizing: border-box;
  }



  /* ====================================
     TABLET AND MOBILE ABOUT SECTION
  ==================================== */

  .about {
    width: 100%;
    height: auto;
  }

  .about-hero-section {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    min-height: 0;
  }

  .aboutgraph {
    order: 1;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 55px 7%;
    align-items: flex-start;
    box-sizing: border-box;
  }

  .aboutgraph .about-label {
    width: 100%;
  }

  .aboutgraph .about-label p {
    margin: 0 0 28px;
    color: #8a603b;
    font-size: clamp(1.75rem, 6vw, 2.4rem);
    line-height: 1.15;
    letter-spacing: 0.04em;
    text-align: left;
  }

  .aboutgraph > p {
    width: 100%;
    margin: 0;
    color: #292621;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: 0.025em;
    text-align: left;
  }

  .half-width-img {
    order: 2;
    display: block;
    width: 100%;
    height: 420px;
    object-fit: cover;
    object-position: center;
  }


}


/* ====================================
   SMALL PHONES
==================================== */

@media (max-width: 500px) {
  .header {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 2.7 / 1;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
  }

  nav ul li a {
    min-height: 50px;
    padding: 8px 6px;
    font-size: 0.72rem;
    letter-spacing: 0.02em;
  }

  .aboutgraph {
    padding: 48px 24px;
  }

  .aboutgraph .about-label p {
    margin-bottom: 24px;
    font-size: 2rem;
  }

  .aboutgraph > p {
    font-size: 0.98rem;
    line-height: 1.65;
    letter-spacing: 0.015em;
  }

  .half-width-img {
    height: 300px;
  }
  
}
@media (max-width: 500px) {
  .container {
    position: sticky;
    top: 0;
    z-index: 999;
  }

  #about,
  #what-we-do,
  #standards,
  #contact {
    scroll-margin-top: 110px;
  }
}