:root {
  --soft-teal: #63A69F;
  --contrast-teal: rgba(255, 255, 255, 0.12);
  --contrast-teal-light: rgba(255, 255, 255, 0.18);
  --warm-gold: #D4B574;
  --light-beige: #FAF6F0;
  --charcoal: #2E2E2E;
}

* {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  color: var(--charcoal);
  font-size: 20px;
  line-height: 1.7;
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(250, 246, 240, 0.95);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  z-index: 10;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.logo {
  font-weight: bold;
  color: var(--soft-teal);
}

.navbar a {
  margin-left: 1.5rem;
  text-decoration: none;
  color: var(--soft-teal);
  font-weight: 500;
}

.panel {
  position: relative;
  padding: 4rem 2rem 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.panel-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: white;
  position: center;
  margin-bottom: 2rem;
}

.panel-title::after {
  content: "";
  display: block;
  width: 150px;
  height: 5px;
  background-color: var(--warm-gold);
  margin: 0.5rem auto 0;
  border-radius: 3px;
}

.panel-content.hero-content {
  width: 100%;
  max-width: 900px;
  text-align: center;
}

.panel-content {
  width: 80%;
  margin: 0 auto;
  font-size: 1.25rem;
  line-height: 1.8;
  text-align: left;
}

.panel-content p {
  margin-bottom: 0.0rem;
}

.teal {
  background-color: var(--soft-teal);
  color: white;
}

.beige {
  background-color: var(--light-beige);
  color: var(--charcoal);
}

.subtitle {
  font-size: 1.3rem;
  font-weight: 400;
  color: #FAF6F0;
  margin-bottom: 2rem;
  text-align: center;
}

.panel-content p.intro-text {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  text-align: left;
}

.hero-list {
  list-style-type: disc;
  font-size: 1.1rem;
  line-height: 1.8;
  padding-left: 1.5rem;
  text-align: left;
  display: block;
  width: 70%;
  margin: 1.5rem auto 2rem;
  transform: translateX(-10%); 
}

.panel-content p.mission-statement {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 auto 2.5rem;
  text-align: left;
  max-width: 1200px;
}

.cta-button {
  background-color: #FAF6F0;
  color: #333;
  padding: 0.8rem 1.6rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  transition: background 0.3s ease;
  margin-top: 1rem;
}

.cta-button:hover {
  background-color: #e7e2d8;
}

.panel-body {
  width: 90%;
  max-width: 850px;
  margin: 0 auto;
  text-align: left;
}

.panel-body p {
  margin-bottom: 1.3rem;
  line-height: 1.7;
}

.highlight-inline {
  display: inline-block;
  position: relative;
}

.highlight-inline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.05em;
  width: 100%;
  height: 0.2em;
  background-color: var(--warm-gold);
  opacity: 0.4;
}

.highlight {
  display: inline-block;
  position: relative;
}

.highlight::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.0em;
  width: 100%;
  height: 2px;
  background-color: var(--warm-gold);
  border-radius: 1px;
}

.services-wrapper {
  display: flex;
  justify-content: center;
}

.services-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  width: 60vw;   
}

.expandable-item {
  background-color: var(--contrast-teal);
  color: white;
  border-radius: 8px;
  margin: 1rem 0;
  padding: 1rem 1.25rem;
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(4px);
  cursor: pointer;
}

.expandable-item:hover {
  background-color: var(--warm-gold);
  color: white;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.25);
}

.expandable-item.open {
  background-color: rgba(255, 255, 255, 0.15);
}

.expandable-item:not(:last-child) {
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.service-icon.small {
  width: 60px;
  height: 60px;
  margin-right: 1rem;
  flex-shrink: 0;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.service-image.large {
  width: 240px;
  height: 160px;
  display: block;
  margin: 0;
  flex-shrink: 0;
}

.item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  font-size: 1.3rem;
}

.item-header span:first-of-type {
  flex: 1;
  margin-left: 1rem;
}

.item-content {
  margin-top: 0.5rem;
  font-size: 1.1rem;
  color: white;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease;
  opacity: 0;
}

.expandable-item.open .item-content {
  display: block;
  max-height: 1000px;
  opacity: 1;
}

.expandable-item.open .service-icon.small {
  opacity: 0;
  pointer-events: none;
}

.expandable-item:not(.open) .service-image.large {
  display: none;
}

.item-detail {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 1rem;
  flex-wrap: nowrap;
}

.item-detail img.service-image.large {
  flex-shrink: 0;
  max-height: 140px;
}

.item-detail .text-block {
  flex: 1;
  max-width: 60%;
}

.item-detail .text-block p {
  font-size: 1.1rem;
  color: white;
  margin: 0 0 1rem 0;
  line-height: 1.7;
}

.item-detail .text-block p strong {
  display: inline-block;
  margin-bottom: 0.7rem;
}


.plus-sign {
  font-weight: normal;
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.expandable-item.open .plus-sign {
  transform: rotate(45deg);
}

.teal .panel-title,
.teal .panel-content {
  color: white;
}

.beige .panel-title,
.beige .panel-content {
  color: var(--charcoal);
}

h1, h2 {
  margin-bottom: 1rem;
}

ul {
  list-style: none;
  padding: 0;
  font-size: 1.1rem;
  margin-top: 1.5rem;
}

ul li {
  margin: 0.5rem 0;
}

.lqc-list {
  list-style: disc;
  margin-left: 1.5rem;
  padding-left: 1.5rem;
}
.lqc-list.ul {
   font-size: 1.1rem;
}

a {
  color: var(--warm-gold);
  font-weight: bold;
  text-decoration: none;
}

.mission-punchline {
  font-weight: 700;
  font-size: 1.6rem;
  text-align: center;
  margin: 2rem auto;
  width: fit-content;
  color: #1e1e1e;
}

@media (max-width: 600px) {
  .highlight-inline::after {
    height: 0.1em;
  }
}

#projects-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.grid-item {
  flex: 0 1 350px;
  width: 350px;
  display:flex;
  flex-direction:column;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
  text-align: center;
  padding: 1.0rem;
  color: var(--charcoal);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.grid-item h2 {
  margin-bottom: 0.3rem;
}

.grid-item:hover {
  transform: translateY(-5px);
  background-color: var(--warm-gold);
  color: white;
}

.grid-item img {
  width: 85%;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0.8rem auto 1rem auto;
  border-radius: 8px;
}

.grid-item h2 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.grid-item p {
  font-size: 0.95rem;
  color: #555;
}

.panel-title {
  position: relative;
  margin-left: 2rem;
  margin-bottom: 1rem;
  font-size: 2.2rem;
  font-weight: bold;
  color: var(--charcoal);
}

.contact-panel {
  align-items: center;
  text-align: center;
}

.contact-message {
  font-size: 1.3rem;
  margin-top: 3rem;
  color: var(--charcoal);
  line-height: 1.6;
}

.contact-message a {
  color: var(--warm-gold);
  font-weight: bold;
  text-decoration: none;
}

.contact-message a:hover {
  text-decoration: underline;
}

.contact-logo {
  display: block;
  margin: 4rem auto 2rem auto;
  width: 40vw;
  height: auto;
}

@keyframes glowPulse {
  0% {
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.05);
  }
  50% {
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.3);
  }
  100% {
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.05);
  }
}

.custom {
  transform: rotate(-45deg);
}

.footer {
  text-align: center;
  padding: 0.5rem 0;
  background-color: var(--light-beige);
  color: var(--charcoal);
  z-index: 10;
}

.button-link {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.6rem 1.2rem;
  background-color: var(--soft-teal);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: background-color 0.3s;
}
.button-link:hover {
  background-color: #3e867f;
}

.back-button-wrapper {
  text-align: center;
  margin: 2rem 0;
}

.images-horizontal {
  display: flex;          /* put images next to each other */
  justify-content: center;/* optional: center them */
  gap: 1rem;              /* space between images */
}

.images-horizontal img {
  width: 500px;           /* or 50%, or any value you like */
  height: auto;           /* keep aspect ratio */
  object-fit: cover;      /* crop if aspect ratios differ */
}