@media (min-width: 992px) {
  .hero-banner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 20px 40px;
    text-align: left;
    overflow: visible;
  }

  .hero-heading {
    font-size: 2.5rem;
    line-height: 1.2;
    margin: 0;
    color: #153821;
    max-width: 70%;
  }

  .hero-logo {
    position: absolute;
    right: 40px;
    top: -90px;        /* pull further above bar */
    width: 180px;
    height: auto;
    z-index: 10;       /* ensure it’s layered over the gold */
  }
}



html, body {
  overflow-x: hidden;
}


.container {
  max-width: 100% !important;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}


/* Base body text */
body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 400;
  color: #f0f0f0; /* adjust depending on background */
  line-height: 1.6;
}

/* Headings and banners */
h1, h2, h3, .hero-heading, .section-title {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-weight: 700;        
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #dab03b;          /* gold text for consistency */
}

p, li {
  color:#dab03b;
}

/* Ecosystem tagline */
.ecosystem-tagline {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  color: #f7c947;          
}

.hero-banner {
  background-color: #dab03b;
  padding: 1.5rem 1rem;
  border-radius: 10px;
  max-width: 100%;      /* keeps it inside screen */
  box-sizing: border-box;
}


/* Banner Heading */
.hero-heading {
  color: #153821;              
  font-weight: 700;
  margin: 0 auto;
  font-size: 1.6rem;           
  line-height: 1.3;
}

/* Circle Logo */
.hero-logo {
  max-width: 120px;   /* keeps logo small */
  height: auto;
  margin: 1rem auto;
  display: block;
}

/* Gold framed container */
.hero-frame {
  margin: 0 auto;
  padding: 1rem 0 0;
  max-width: 1000px;                
}

/* Wrapper to add equal space inside frame */
.hero-image-wrapper {
  padding: 0 20px;                  
  text-align: center;
}

/* Image styling */
.hero-image {
  max-width: 100%;
  height: auto;
  display: inline-block;            
}

/* Button row */
.button-row {
  margin-top: 1.5rem;
  margin-left: 1rem;   /* spacing from container edges */
  margin-right: 1rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Buttons */
.btn-hero {
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  text-transform: none;
  background: linear-gradient(135deg, #d35400, #f39c12);
  border: none;
  color: #fff;
  font-size: 1rem;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  min-width: 140px;
  max-width: 250px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-hero:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #e67e22, #f1c40f);
  box-shadow: 0 6px 12px rgba(0,0,0,0.4);
}

/* Flat gold for middle button */
.btn-gold {
  background: linear-gradient(135deg, #dab03b, #f7d774);
  color: #153821;
}

/* Stack buttons full-width on small screens with padding */
@media (max-width: 576px) {
  .btn-hero {
    flex: 1 1 100%;
  }
}

/* Certification logos always centered */
.certification-logo {
  max-height: 120px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Force parent columns to center contents */
.cert-col {
  display: flex;
  justify-content: center;
  align-items: center;
}


/* Lists */
section ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: inline-block;
  text-align: left;
}

section ul li::before {
  content: "•";
  color: #f7c947; 
  font-weight: bold;
  margin-right: 0.5rem;
}

.cert-text {
  color: #dab03b;
  padding-top: 20px;
  text-transform: none;
  font-size: 1.2rem;
  line-height: 1.5;
  font-weight: 600;
}

/* Contact section background matches PDF */
.contact-section {
  padding: 3rem 0;
  margin: 3rem auto;
  max-width: 1000px;
  border-radius: 10px;
}

/* Title */
.contact-section .section-title {
  background-color: #c9a23d;
  color: #0f3b2f;
  padding: 0.5rem 1rem;
  font-weight: bold;
  font-size: 1.8rem;
  display: inline-block;
  margin-bottom: 2rem;
}

/* Inputs */
.contact-form input,
.contact-form textarea {
  background-color: #dab03b; 
  border: none;
  border-radius: 6px;
  color: #153821;
  font-family: "Times New Roman", serif;
  font-size: 1.2rem;
  width: 100%;
  padding: 0.8rem;
  box-shadow: 0 5px 12px rgba(0,0,0,0.3);
}

.contact-form label {
  font-family: "Times New Roman", serif;
  font-size: 1.3rem;
  font-style: italic;
  color: #f7c947;
  margin-bottom: 0.5rem;
  display: block;
}

/* Submit button */
.contact-form .btn-hero {
  background: linear-gradient(to right, #f7c947, #d85a2b);
  border: none;
  color: #000;
  font-weight: bold;
  padding: 0.8rem 2.5rem;
  margin-top: 1rem;
  border-radius: 8px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.4);
}

.contact-info {
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.contact-icon {
  background-color: #dab03b; 
  color: #0f3b2f; 
  font-size: 1.5rem;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.contact-text {
  font-family: "Georgia", serif;
  font-size: 1.8rem;
  font-weight: bold;
  color: #dab03b; 
  text-decoration: none;
}

.contact-text:hover {
  text-decoration: underline;
  color: #f7c947; 
}


/* Make borders count inside width and kill stray overflow */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: hidden; }

/* Replaces the inline border/margins and restores container gutters */
.teo-panel {
  border: 2px solid #dab03b;
  margin-top: 40px;
  /* keep Bootstrap's default horizontal padding so .row doesn't overflow */
  padding-left: calc(var(--bs-gutter-x, 1.5rem) * .5) !important;
  padding-right: calc(var(--bs-gutter-x, 1.5rem) * .5) !important;
}

/* Safety net for any images */
img { max-width: 100%; height: auto; display: block; }

/* (You already fixed the bottom logos stacking; keep them centered) */
.certification-logo { margin-left: auto; margin-right: auto; }


/* === Desktop: float logo ABOVE the gold bar === */
@media (min-width: 992px) {
  /* Make the outer panel the positioning context */
  .teo-panel {
    position: relative;
    overflow: visible; /* allow logo to sit above the banner */
  }

  /* Let the banner be a normal block again (so the logo anchors to .teo-panel) */
  .hero-banner {
    position: static;        /* important: remove relative positioning here */
    display: block;          /* keep your gold strip layout */
    padding: 20px 40px;
    text-align: left;
  }

  /* Desktop heading sizing */
  .hero-heading {
    font-size: 2rem;
    line-height: 1.2;
    margin: 0;
    color: #153821;
    max-width: 70%;
  }

  /* Float the logo above the gold bar, anchored to the panel */
  .hero-logo {
    position: absolute;
    right: 40px;    /* nudge from right edge of the panel */
    top: -30px;     /* lift ABOVE the gold bar */
    width: 180px;   /* desktop size */
    height: auto;
    z-index: 10;    /* ensure it sits on top of the bar */
    pointer-events: none; /* optional: avoids accidental clicks */
  }
}

/* Optional: scale logo up a touch on very wide screens */
@media (min-width: 1400px) {
  .hero-logo { width: 210px; top: -82px; }
}


/* Reduce top gap on small screens */
@media (max-width: 576px) {
  .teo-panel {
    margin-top: 40px;  /* smaller gap for phones */
  }
}



.gallery-item {
  aspect-ratio: 1/1;     /* makes all items square */
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;     /* fills box without distortion */
  cursor: pointer;
}
