:root {
  --primary-bg: #FFFFFF;
  --secondary-bg: #F3F3F3;
  --primary-accent: #162F5E;
  --text-color: #333333;
}
body {
  font-family: 'Roboto Mono', monospace;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--primary-bg);
  margin: 0;
  padding: 0;
  text-align: left; /* Set default text alignment to left */
  overflow-x: hidden; /* Prevent horizontal scrolling */
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem; /* Add some horizontal padding */
  box-sizing: border-box; /* Include padding in the width calculation */
}
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-color);
  line-height: 1.2;
  text-align: left;
}
h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
p, ul, ol {
  margin-bottom: 1.5rem;
  text-align: left;
}
a {
  text-decoration: none;
  color: var(--primary-accent);
}
.button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--primary-accent);
  color: var(--primary-bg);
  border: none; /* Remove any default border */
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  /* Remove border-radius for square corners */
}
.button:hover {
  background-color: var(--text-color);
  transform: translateY(-2px);
}
header {
  background-color: var(--primary-bg);
  border-bottom: 1px solid transparent;
  transition: border-bottom-color 1s ease-out;
}

header.animate-border {
  border-bottom-color: var(--text-color);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}
.logo a {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-accent);
}
nav ul {
  list-style-type: none;
  display: flex;
  justify-content: flex-end;
  margin: 0;
  padding: 0;
}
nav ul li {
  padding: 0 1rem;
}
nav ul li a {
  position: relative;
}
nav ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--primary-accent);
  transition: width 0.3s ease;
}
nav ul li a:hover::after {
  width: 100%;
}
#hero {
  background-color: var(--secondary-bg);
  color: var(--text-color);
  text-align: center;
  padding: 4rem 0 0;
  position: relative;
}
.hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding-bottom: 4rem;
}
.hero-cta-container {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}
.hero-cta {
  background-color: var(--primary-bg);
  border: 1px solid var(--text-color);
  padding: 1.5rem;
  width: 280px;
  height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: height 0.3s ease-out;
  overflow: hidden;
}
.hero-cta:hover {
  height: 360px;
}
.hero-cta h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.hero-cta-details {
  max-height: 0;
  opacity: 0;
  transition: max-height 0.3s ease-out, opacity 0.3s ease-in-out;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-cta:hover .hero-cta-details {
  max-height: 200px;
  opacity: 1;
}
.hero-cta-details p {
  font-size: 0.9rem;
  margin: 0.3rem 0;
  text-align: center;
}
.hero-cta-details p:first-child {
  margin-bottom: 0.8rem;
}
.hero-cta-details strong {
  color: var(--primary-accent);
}
.hero-cta .button {
  width: 100%;
  text-align: center;
  box-sizing: border-box;
  padding: 0.75rem 0.5rem;
  font-size: 0.85rem;
  line-height: 1.2;
}
#services, #how-we-work, #about {
  padding: 4rem 0;
}
.service-card, .engagement-model {
  background-color: var(--primary-bg);
  border: 1px solid var(--text-color);
  padding: 2rem;
  margin-bottom: 2rem;
}
.service-card h3, .engagement-model h4 {
  color: var(--primary-accent);
  margin-bottom: 1rem;
}
.service-card ul, .engagement-model ul {
  list-style-type: none;
  padding-left: 0;
}
.service-card li, .engagement-model li {
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}
.service-card li::before, .engagement-model li::before {
  content: '•';
  color: var(--primary-accent);
  font-weight: bold;
  position: absolute;
  left: 0;
}
footer {
  background-color: var(--secondary-bg);
  color: var(--text-color);
  text-align: center;
  padding: 2rem 0;
  border-top: 1px solid var(--text-color);
}
.section-divider {
  width: 100%;
  height: 1px;
  background-color: var(--text-color);
  margin: 2rem 0;
  position: relative;
  overflow: hidden;
}

.section-divider::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 1px;
  background-color: var(--text-color);
  transition: left 1s ease-out;
}

.section-divider.animate::before {
  left: 0;
}

.animate-border {
  position: relative;
}

.animate-border::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--text-color);
  transition: width 1s ease-out;
}

.animate-border.animate::after {
  width: 100%;
}

#hero .section-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  margin: 0;
}

#contact {
  padding: 4rem 0;
}

.contact-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}

.contact-locations {
  flex: 1;
}

.contact-locations ul {
  list-style-type: none;
  padding-left: 0;
}

.contact-locations li {
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.contact-locations li::before {
  content: '•';
  color: var(--primary-accent);
  font-weight: bold;
  position: absolute;
  left: 0;
}

.contact-form {
  flex: 1;
}

.contact-form form {
  display: flex;
  flex-direction: column;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--text-color);
  border-radius: 0; /* Remove border-radius for square corners */
  font-family: 'Roboto Mono', monospace;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--primary-bg);
  resize: none;
}

.form-group textarea {
  height: 100px;
}

.button {
  margin-top: 1rem;
}

#contact {
  background-color: var(--secondary-bg);
  padding: 4rem 0;
}

.contact-info {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
}

.contact-locations, .contact-form {
  flex-basis: 48%;
}

.contact-locations ul {
  list-style-type: none;
  padding: 0;
}

.contact-locations li {
  margin-bottom: 1rem;
}

.contact-locations i {
  color: var(--primary-accent);
  margin-right: 0.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid var(--text-color);
  font-family: 'Roboto Mono', monospace;
}

.form-group textarea {
  height: 150px;
}

@media (max-width: 768px) {
  .contact-info {
      flex-direction: column;
  }

  .contact-locations, .contact-form {
      flex-basis: 100%;
      margin-bottom: 2rem;
  }
}

footer {
  background-color: var(--secondary-bg);
  padding: 3rem 0 1rem;
  border-top: 1px solid var(--text-color);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.footer-logo a {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-accent);
}

.footer-links, .footer-contact {
  margin-bottom: 1rem;
}

.footer-links h4, .footer-contact h4 {
  margin-bottom: 1rem;
  color: var(--primary-accent);
}

.footer-links ul {
  list-style-type: none;
  padding: 0;
}

.footer-links li, .footer-contact p {
  margin-bottom: 0.5rem;
}

.footer-contact a {
  color: var(--text-color);
  text-decoration: underline;
}

.footer-contact a:hover {
  color: var(--primary-accent);
}

.footer-bottom {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid var(--text-color);
}

@media (max-width: 768px) {
  .footer-content {
      flex-direction: column;
  }

  .footer-logo, .footer-links, .footer-contact {
      margin-bottom: 2rem;
  }
}

.service-card {
  background-color: var(--primary-bg);
  border: 1px solid var(--text-color);
  margin-bottom: 2rem;
  transition: all 0.3s ease-out;
}

.service-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  cursor: pointer;
}

.service-header i {
  font-size: 2rem;
  margin-right: 1rem;
  color: var(--primary-accent);
}

.service-header h3 {
  margin: 0;
  flex-grow: 1;
  margin-left: 1rem;
}

.expand-indicator {
  transition: transform 0.3s ease;
}

.service-card.expanded .expand-indicator {
  transform: rotate(180deg);
}

.service-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, opacity 0.3s ease-out;
  opacity: 0;
}

.service-card.expanded .service-content {
  max-height: 1000px; /* Adjust based on content */
  opacity: 1;
  padding: 1.5rem;
}

.service-card.expanded {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.service-card .button {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background-color: var(--primary-accent);
  color: var(--primary-bg);
  text-decoration: none;
  border-radius: 0; /* Remove border-radius for square corners */
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.service-card .button:hover {
  background-color: var(--text-color);
  transform: translateY(-2px);
}

#how-we-work {
  background-color: var(--secondary-bg);
  padding: 4rem 0;
}

.section-intro {
  text-align: left;
  max-width: 800px;
  margin-left: 0; /* Align with other content */
  margin-right: auto;
}

.engagement-models {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}

.engagement-model {
  background-color: var(--primary-bg);
  border: 1px solid var(--text-color);
  padding: 2rem;
  flex: 1;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
}

.engagement-model.animate {
  opacity: 1;
  transform: translateY(0);
}

.engagement-model:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.engagement-model h4 {
  color: var(--primary-accent);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.engagement-model h4 i {
  margin-right: 0.5rem;
  font-size: 1.5em;
}

.engagement-model ul {
  list-style-type: none;
  padding-left: 0;
}

.engagement-model li {
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.engagement-model li::before {
  content: '•';
  color: var(--primary-accent);
  font-weight: bold;
  position: absolute;
  left: 0;
}

.engagement-model li.animate {
  opacity: 1;
  transform: translateX(0);
}

.cta-container {
  text-align: center;
  margin-top: 3rem;
}

@media (max-width: 768px) {
  .engagement-models {
      flex-direction: column;
  }
}

section {
  padding: 4rem 0;
  position: relative;
}

section:nth-child(even) {
  background-color: var(--secondary-bg);
}

.section-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--text-color);
  margin: 0;
}

/* Ensure the last section doesn't have a bottom divider */
section:last-of-type .section-divider {
  display: none;
}

/* Adjust container padding */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0; /* Remove vertical padding */
}

/* Specific adjustments for the hero section */
#hero {
  padding-bottom: 0; /* Remove bottom padding from hero */
}

#hero .container {
  padding-bottom: 4rem; /* Add padding to the hero container instead */
}

/* Exceptions for centered elements */
#hero, footer {
  text-align: center;
}

#hero h1, #hero p,
footer h2, footer p {
  text-align: center;
}

/* Ensure buttons and other inline elements are aligned properly */
.button-container {
  text-align: left;
}

.engagement-model h4 {
  font-size: 1.8rem; /* Increase font size */
  font-weight: 700; /* Make it bolder */
  line-height: 1.2; /* Adjust line height for better readability */
}

.engagement-model h4 i {
  margin-right: 0.75rem; /* Increase spacing between icon and text */
  font-size: 1.5em; /* Make icon size relative to the new text size */
}

/* Add a subtle underline effect */
.engagement-model h4::after {
  content: '';
  display: block;
  width: 50px;
  height: 2px;
  background-color: var(--primary-accent);
  margin-top: 0.5rem;
}

#about {
  background-color: var(--secondary-bg);
  padding: 4rem 0;
}

.about-content {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}

.about-card {
  background-color: var(--primary-bg);
  border: 1px solid var(--text-color);
  padding: 2rem;
  flex: 1;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
}

.about-card.animate {
  opacity: 1;
  transform: translateY(0);
}

.about-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.about-card h3 {
  color: var(--primary-accent);
  margin-bottom: 1rem;
}

.about-card ul {
  list-style-type: none;
  padding-left: 0;
}

.about-card li {
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.about-card li::before {
  content: '•';
  color: var(--primary-accent);
  font-weight: bold;
  position: absolute;
  left: 0;
}

.about-card li.animate {
  opacity: 1;
  transform: translateX(0);
}

.cta-container {
  text-align: center;
  margin-top: 3rem;
}

@media (max-width: 768px) {
  .about-content {
      flex-direction: column;
  }
}

#about {
  background-color: var(--secondary-bg);
  padding: 4rem 0;
}

.about-story {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.story-point {
  background-color: var(--primary-bg);
  border: 1px solid var(--text-color);
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.story-point:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.story-icon {
  font-size: 2rem;
  color: var(--primary-accent);
  margin-bottom: 1rem;
}

.story-point h3 {
  color: var(--primary-accent);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

/* CSS Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.story-point p, .story-point ul {
  font-size: 1rem;
  line-height: 1.6;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1rem;
}

.value-item {
  display: flex;
  align-items: center;
}

.value-item i {
  margin-right: 0.5rem;
  color: var(--primary-accent);
}

@media (max-width: 768px) {
  .about-story {
      grid-template-columns: 1fr;
  }
}

#contact iframe {
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  background-color: var(--secondary-bg);
  margin-top: 20px;
  border: none;
}

@media (max-width: 767px) {
  .container {
      padding: 0 1rem;
  }

  nav {
      position: relative;
  }

  .nav-toggle {
      display: block;
  }

  .nav-menu {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      width: 100%;
      background-color: var(--primary-bg);
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
      z-index: 1;
  }

  .nav-menu.active {
      display: flex;
      flex-direction: column;
      align-items: center;
  }

  .nav-menu li {
      padding: 1rem 0;
  }

  .hero-cta-container {
      flex-direction: column;
      align-items: center;
  }

  .hero-cta {
      width: 100%;
      max-width: 400px;
  }

  .contact-info {
      flex-direction: column;
  }

  .contact-locations,
  .contact-form {
      flex-basis: 100%;
  }

  .contact-form-embed {
      margin-top: 2rem;
  }

  .contact-form-embed iframe {
      width: 100%;
      height: 1200px; /* Adjust this value as needed for mobile devices */
  }

  .footer-content {
      flex-direction: column;
      align-items: center;
      text-align: center;
  }

  .footer-links,
  .footer-contact {
      margin-top: 1rem;
  }
}

/* Added styles for responsive design */
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono&display=swap');

@media (max-width: 768px) {
.container {
  width: 100%;
  padding: 0 1rem;
}

nav ul {
  flex-direction: column;
  align-items: center;
}

nav ul li {
  padding: 0.5rem 0;
}

.hero-cta-container {
  flex-direction: column;
}

.hero-cta {
  width: 100%;
  margin-bottom: 1rem;
}

.contact-info {
  flex-direction: column;
}

.contact-locations,
.contact-form {
  flex-basis: 100%;
}

.footer-content {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-links,
.footer-contact {
  margin-top: 1rem;
}
}

@media (max-width: 480px) {
/* Styles for smaller mobile devices */
h1 {
  font-size: 1.8rem;
}

h2 {
  font-size: 1.5rem;
}

h3 {
  font-size: 1.2rem;
}

p {
  font-size: 0.9rem;
}

.hero-cta {
  padding: 1rem;
  height: auto;
}

.hero-cta:hover {
  height: auto;
}

.hero-cta-details {
  max-height: none;
  opacity: 1;
}

.hero-cta:hover .hero-cta-details {
  max-height: none;
}

.service-card,
.engagement-model,
.story-point {
  padding: 1rem;
}

.contact-form-embed iframe {
  height: 1000px;
}
}

img,
iframe {
max-width: 100%;
height: auto;
}

.button {
padding: 1rem 1.5rem;
font-size: 1.2rem;
}

a {
padding: 0.5rem;
}

/* Styles for the Google Form embed */
.contact-form-embed {
  position: relative;
  overflow: hidden;
  padding-top: 56.25%; /* 16:9 aspect ratio (adjust as needed) */
}

.contact-form-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Media query for smaller screens */
@media (max-width: 767px) {
  .contact-form-embed {
      padding-top: 0; /* Reset padding-top for mobile */
      height: 1200px; /* Adjust this value as needed for mobile devices */
  }

  .contact-form-embed iframe {
      position: relative; /* Reset position for mobile */
      height: 100%; /* Ensure the iframe takes up the full height */
  }
}