/* general body and layout */
body {
  margin: 0;
  background-color: #f4e7df;
  color: #2B190A;
  font-family: Arial, sans-serif;
}

/* banner */
.banner {
  position: relative;
  display: flex;
  justify-content: center; 
  align-items: center;
  padding: 0.75rem;
  background-color: #896C6C;
  color: #f4e7df;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

/* banner logo positioning */
.banner-logo-link {
  position: absolute;
  right: 1rem;    
  top: 50%;
  transform: translateY(-50%);
}

/* banner logo sizing */
.banner-logo {
  height: 60px;
  width: auto;
  cursor: pointer;
}


/* headings */
h1, h2 {
  display: block;
  text-align: center;
}

/* images */
img {
  display: block;
  margin: auto;
  height: 16rem;
  width: 18rem;
}

/* table */
table {
  margin: auto; 
}

td {
  text-align: center;
  height: 10rem;
  width: 10rem;
}

/* menu button for tabs*/
.menu-btn {
  position: fixed;
  top: 1rem;
  left: 1rem;
  background: #896C6C;
  color: #f4e7df;
  border: none;
  font-size: 1.5rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  border-radius: 5px;
  /* stays above the menu */
  z-index: 1100;
}

/* side menu display (pop-out from left)*/
.menu {
  position: fixed;
  top: 0;
  /* start hidden */
  left: -250px;
  height: 100%;
  width: 250px;
  background: #896C6C;
  list-style-type: none;
  /* push links down so first one isn’t behind button */
  padding: 4rem 0 0 0;
  margin: 0;
  box-shadow: 2px 0 6px rgba(0,0,0,0.2);
  transition: left 0.3s ease;
  z-index: 1000;
}

.menu li {
  margin: 0;
}

.menu li a {
  display: block;
  padding: 1rem 1.5rem;
  color: #f4e7df;
  text-decoration: none;
  font-size: 1.2rem;
}

.menu li a:hover {
  background: #6f5555;
}

/* toggle visibility */
.menu.show {
  /* slide in from left*/
  left: 0; 
}

.team {
  display: flex;
  justify-content: center;
  gap: 40px; /* space between people */
  flex-wrap: wrap; /* allows wrapping on small screens */
  text-align: center;
}

.member img {
  width: 185px;
  border-radius: 8px;
  margin-top: 10px;
}
.member p {
  font-weight: bold;
  margin: 0;
}
.member small {
  font-weight: normal;
  color: gray;
}

/* content section blocks */
/* originally for the project page, but can be used elsewhere*/
.content-section{
  margin: 2rem auto ;
  background: #fafafa;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  max-width: 900px;
  line-height: 1.6;
}

/* lists within content sections */
.content-list {
  list-style: disc inside;
  padding-left: 1rem;
}

/* bullets in list withing content section*/
.content-list li {
  margin-bottom: 0.5rem;
}

/* add styling to titles in content sections */
.content-section h2 {
  font-family: 'Segoe UI', Tahoma, sans-serif;
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #333;
}

/* add font styling to non headers */
.content-section p, .content-section li {
  font-size: 1.05rem;
  color: #444;
}

/* add columns to the blocks so they can have an image in the left 1/4 and text in the right 3/4 */
/* initially implemented at bottom of teams page */
.two-col {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
}
.two-col .image-col {
  flex: 0 0 25%;
}
.two-col .image-col img {
  width: 90%;
  border-radius: 8px;
}
.two-col .text-col {
  flex: 1; 
}


/* Container for multiple info boxes side by side */
.info-box-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin: 2rem auto;
  max-width: 1000px;
  padding: 0 1rem;
}

/* Info box layout */
.info-box {
  flex: 1 1 300px; /* grow/shrink with min width */
  background: #E1E9C9/*f8f9fc*/;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  text-align: center; /* centers text inside */
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.info-box:hover, .info-box-free-floating:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

/* Inner content alignment */
.info-box-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Button styling */
.info-button {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.6rem 1.2rem;
  background-color: #054d3b;
  color: #fff;
  border: none;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.25s ease, transform 0.15s ease;
}

.info-button:hover {
  background-color: #054d3b;
  transform: translateY(-2px);
}


/* Responsive iframe wrapper */
.iframe-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
}

.iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/*make the blocks on the index page line up by overriding the padding of the bigger block*/
#project-overview-block{
  padding: 3.1rem;
}

/*make the smaller blocks on the index page match the bigger block*/
.info-box-free-floating{
  flex: 1 1 300px; /* grow/shrink with min width */
  background: #fafafa;
  /*border: 1px solid #d1d5db;*/
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  text-align: center; /* centers text inside */
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}


/* Collapsible Section Styles */
.collapsible {
  background-color: #5f8589;
  color: white;
  cursor: pointer;
  padding: 14px 20px;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  font-size: 1.2rem;
  border-radius: 8px;
  margin-bottom: 8px;
  transition: background-color 0.2s ease;
}

.collapsible:hover {
  background-color: #3e5153;
}

.collapsible.active {
  background-color: #607971;
}

.collapsible + .content {
  padding: 0 18px;
  max-height: 0;
  overflow: hidden;
  border-left: 3px solid #d0d0d0;
  transition: max-height 0.25s ease-out;
  background: #fafafa;
  border-radius: 0 0 10px 10px;
  margin-bottom: 20px;
}

.collapsible-section h3 {
  margin-top: 15px;
}

.collapsible-section p {
  margin-bottom: 12px;
}



.two-column {
  display: flex;
  gap: 20px;
  flex-wrap: wrap; /* prevents crushing */
}

.two-column > div {
  flex: 1 1 300px; /* minimum comfortable width */
}


.image-box img {
  width: 100%;       /* image fills container */
  max-width: 800px;  /* or whatever width you want */
  height: auto;      /* keep aspect ratio */
  display: block;
  margin: 0 auto;    /* center the image in the box */
}



/* table for the pain points */
.pain-impact-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.pain-impact-table th {
  background-color: #a4ccbf;
  padding: 12px;
  text-align: center;
  font-weight: bold;
  border-bottom: 2px solid #e0e0e0;
}

.pain-impact-table td {
  padding: 12px;
  vertical-align: top;
  border-bottom: 1px solid #e0e0e0;
}

.pain-impact-table tr:nth-child(even) {
  background-color: #fafafa;
}

.pain-impact-table tr:hover {
  background-color: #f5faff;
}


/* FOR VIDOE SIZE*/
.local-video {
  width: 100%;
  max-width: 800px;
  display: block;
  margin: 1.5rem auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
