/* Variables */
/* Mixins */
@import url("https://fonts.googleapis.com/css2?family=Albert+Sans:ital,wght@0,100..900;1,100..900&family=Gilda+Display&display=swap");
/* Font Face Definitions */
@font-face {
  font-family: "Canela-Thin";
  src: url("../fonts/canela/Canela-Thin-Web.woff2") format("woff2"), url("../fonts/canela/Canela-Thin-Web.woff") format("woff");
  font-weight: 100;
  font-style: normal;
}
@font-face {
  font-family: "Canela-Light";
  src: url("../fonts/canela/Canela-Light-Web.woff2") format("woff2"), url("../fonts/canela/Canela-Light-Web.woff") format("woff");
  font-weight: 300;
  font-style: normal;
}
.container {
  max-width: 1400px; /* Default maximum width for larger screens */
  width: 100%; /* Allow the container to scale */
  margin: 0 auto; /* Center the container horizontally */
  padding: 0 20px; /* Add padding for spacing */
}
@media (max-width: 768px) {
  .container {
    max-width: 95%; /* Use 95% of the viewport width */
    padding: 0; /* Remove additional padding for smaller screens */
    margin: 0 auto; /* Ensure the container remains centered */
  }
}

/* General Tags */
body {
  font-family: "Canela-Thin";
  font-weight: 100;
  font-style: normal;
  color: #2D2D2D;
  background: #E6E6DC;
}

/* Header */
header {
  margin-top: 55px;
}

.logo-img {
  width: 200px;
}

.logo-text {
  display: none;
}

.plus-sign {
  color: #3677C9;
  display: inline-block;
  transition: transform 0.3s ease;
}

nav a {
  font-size: 25px;
  font-family: "AlbertSans";
  text-decoration: none;
  color: #2D2D2D;
  font-weight: bold;
}

nav a:hover {
  color: #3677C9;
  text-decoration: none;
}

nav a:hover .plus-sign {
  transform: rotate(90deg);
}

/* Creative Section */
#creative {
  margin: 150px auto;
  max-width: 900px;
  text-align: center;
  font-weight: 100;
  font-size: 75px;
  font-size: 75px;
  line-height: 81px;
}
@media (max-width: 768px) {
  #creative {
    margin-top: 75px;
    margin-bottom: 40px;
    font-size: 50px;
    line-height: 56px;
  }
}

#difference {
  display: flex; /* Set a flex container */
  justify-content: flex-start; /* Align items to the left */
  align-items: center; /* Center content vertically */
  padding: 50px 0; /* Add padding for section spacing */
  position: relative;
}
@media (max-width: 768px) {
  #difference {
    flex-direction: column; /* Stack the columns vertically */
    padding: 0; /* Remove extra padding for mobile */
  }
}
#difference .difference-container {
  display: flex; /* Flex container for the two columns */
  max-width: 1400px; /* Default maximum width */
  width: 100%; /* Ensure it scales properly */
  position: relative; /* Allow positioning for the image overflow */
  padding: 0 20px; /* Add some padding for larger screens */
  align-items: center; /* Center text and image vertically */
}
@media (max-width: 768px) {
  #difference .difference-container {
    max-width: 100%; /* Allow container to take up 100% of the width */
    padding: 0; /* Remove padding on smaller screens */
    flex-direction: column; /* Ensure content stacks properly */
  }
}
#difference .text-column {
  flex: 0 0 600px; /* Fixed width of 600px */
  text-align: left; /* Align text to the left */
  margin-right: 55px; /* Add space between the columns */
}
@media (max-width: 768px) {
  #difference .text-column {
    flex: 0 0 100%; /* Make the column take full width */
    margin-right: 0; /* Remove spacing between columns */
    margin-bottom: 20px; /* Add spacing between stacked elements */
    text-align: center; /* Center-align text for mobile */
  }
}
#difference .image-column {
  flex: 0 0 auto; /* Prevent shrinking/growing */
  position: relative; /* Enable image overflow */
  right: -55px; /* Push the image outside the container by 55px */
}
@media (max-width: 768px) {
  #difference .image-column {
    flex: 0 0 100%; /* Make the column take full width */
    position: static; /* Remove positioning to stack properly */
    right: 0; /* Reset offset */
    text-align: center; /* Center-align the image for mobile */
  }
}
#difference .left-paragraph {
  font-weight: 100;
  font-size: 42px;
  line-height: 50px;
  font-family: "Canela-Thin";
  letter-spacing: 0px;
  color: #2D2D2D;
  text-align: left;
}
@media (max-width: 768px) {
  #difference .left-paragraph {
    font-size: 27px;
    line-height: 35px;
    text-align: center;
  }
}
#difference .image-column img {
  max-width: 800px; /* Default width for larger screens */
  display: block; /* Ensure no inline spacing issues */
  overflow: visible; /* Ensure the image overflows the container */
}
@media (max-width: 1280px) {
  #difference .image-column img {
    max-width: 600px; /* Reduce image size for medium screens */
  }
}
@media (max-width: 768px) {
  #difference .image-column img {
    max-width: 425px; /* Adjust to smaller size */
    margin: 0 auto 75px auto; /* Center the image */
  }
}
@media (max-width: 600px) {
  #difference .image-column img {
    width: 100%; /* Ensure full width for very small screens */
  }
}

/* Founders Section */
#founders {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

#founders h2 {
  font-weight: 100;
  font-size: 75px;
  line-height: 81px;
  font-family: "Canela-Thin";
  letter-spacing: 0px;
  color: #2D2D2D;
  text-align: center;
  opacity: 1;
  width: 900px;
  padding-top: 150px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  #founders h2 {
    font-size: 42px;
    line-height: 50px;
    padding-top: 75px;
    width: 100%;
  }
}

#founders .highlight {
  position: relative;
  display: inline-block;
  z-index: 1;
}
#founders .highlight::after {
  content: "";
  position: absolute;
  background: #5CA0D9;
  height: 0.75em;
  width: 100%;
  bottom: 0.1em;
  left: 0;
  z-index: -1;
}

/* Team Section */
#team-section {
  display: flex;
  justify-content: flex-start;
  padding: 50px 0;
}

.team-container {
  display: flex;
  max-width: 1200px;
  width: 100%;
  gap: 30px;
  align-items: stretch;
}

.team-photo-container {
  flex: 0 0 657px;
  display: flex;
  justify-content: center;
  align-items: center;
}
@media (max-width: 1280px) {
  .team-photo-container {
    flex: 0 0 575px;
  }
}

.team-photo {
  max-width: 100%;
  border-radius: 24px;
}

.team-text-container {
  flex: 0 0 657px;
  background: #F4F2E5;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 24px;
}
@media (max-width: 1280px) {
  .team-text-container {
    flex: 0 0 575px;
  }
}

.team-text {
  padding: 30px;
  font-weight: 100;
  font-size: 50px;
  line-height: 56px;
  color: #2D2D2D;
  text-align: center;
}
@media (max-width: 768px) {
  .team-text {
    font-size: 42px;
    line-height: 50px;
    padding: 70px 30px;
  }
}

/* Team Members Section */
#team-members {
  padding: 50px 0;
  text-align: left;
}

.team-members-container {
  max-width: 1200px;
  display: flex;
  gap: 30px;
  justify-content: flex-start;
}

.team-member {
  flex: 0 0 30%;
  padding: 20px;
  border-radius: 12px;
}

.team-member h3 {
  font-weight: 600;
  font-size: 24px;
  line-height: 32px;
  color: #2D2D2D;
}

.team-member p {
  font-weight: 200;
  font-family: "Albert Sans", sans-serif;
  font-size: 18px;
  line-height: 28px;
  color: #2D2D2D;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  #team-members .team-members-container {
    flex-direction: column;
    gap: 20px;
  }
  .team-member {
    flex: 1 0 auto;
    width: 100%;
  }
  #team-section {
    flex-direction: column;
    padding: 20px;
  }
  .team-container {
    flex-direction: column;
  }
  .team-photo-container,
  .team-text-container {
    flex: 0 0 auto;
    width: 100%;
  }
}
#invest-in-people {
  position: relative;
  padding: 50px 0;
  margin: 100px 0 130px 0;
}
#invest-in-people::before {
  content: "";
  position: absolute; /* Keep it within the boundaries of the section */
  top: 0;
  left: calc(-50vw + 50%); /* Extend fully to the browser's left edge */
  width: 85vw; /* Full viewport width */
  height: 100%; /* Match the height of the section */
  background: #71BEA6; /* Green background */
  border-radius: 0px 24px 24px 0px; /* Rounded corners on the right */
  z-index: -1; /* Place it behind the content */
}
@media (max-width: 1200px) {
  #invest-in-people::before {
    width: 90vw; /* Full viewport width */
  }
}
#invest-in-people .container {
  position: relative;
  max-width: 900px; /* Constrain the content width */
  margin: 0 auto; /* Center the content */
  padding: 0 20px; /* Adjust padding for small spacing */
  border: solid 1px red;
}
#invest-in-people h2 {
  font-weight: 100;
  font-size: 60px;
  line-height: 66px;
  font-family: "Canela-Thin";
  letter-spacing: 0px;
  color: #2D2D2D;
  text-align: left;
  margin: 0;
  width: 985px;
}
@media (max-width: 1200px) {
  #invest-in-people h2 {
    width: 80%;
    text-align: center;
    margin-left: 30px;
  }
}
@media (max-width: 768px) {
  #invest-in-people h2 {
    font-size: 38px;
    line-height: 42px;
  }
}

/* Partners Section */
#partners {
  display: flex; /* Flexbox for layout */
  flex-direction: column; /* Stack items vertically */
  align-items: center; /* Center items horizontally */
  text-align: center; /* Center-align text */
}
#partners .partner-photo {
  margin-bottom: 20px; /* Add spacing below the photo */
  display: flex; /* Flexbox for image centering */
  justify-content: center; /* Center image horizontally */
  align-items: center; /* Center image vertically if needed */
}
@media (max-width: 768px) {
  #partners .partner-photo {
    margin: 0 auto 50px auto;
  }
}
#partners .partner-photo img {
  width: 220px; /* Fixed width for image */
  border-radius: 24px; /* Optional styling */
}
@media (max-width: 768px) {
  #partners .partner-photo img {
    width: 180px;
  }
}
#partners .quote-container {
  max-width: 730px; /* Set max-width for the quote */
  margin: 0 auto; /* Center horizontally */
  text-align: center; /* Center-align text */
}
#partners .quote {
  font-weight: 100;
  font-size: 60px;
  line-height: 66px;
  letter-spacing: 0px;
  color: #2D2D2D;
  opacity: 1;
  margin: 0 auto; /* Ensure the quote is centered */
}
@media (max-width: 768px) {
  #partners .quote {
    font-size: 42px; /* Adjust font size for quotes on mobile */
    line-height: 50px;
  }
}
#partners .quote-author {
  font-size: 17px;
  line-height: 22px;
  font-family: "Albert Sans", sans-serif;
  font-weight: 500;
  letter-spacing: 0px;
  color: #2D2D2D;
  text-align: center;
  opacity: 1;
  margin-top: 20px !important;
  text-transform: uppercase;
}
@media (max-width: 768px) {
  #partners .quote-author {
    font-size: 17px; /* Adjust author text size */
    line-height: 22px;
  }
}

/* Funded Section */
#funded {
  background: #F5F4E8;
  border-radius: 24px;
  min-height: 366px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 100px;
  margin-bottom: 115px;
}

#funded h2 {
  font-weight: 100;
  font-size: 75px;
  line-height: 81px; /* Adjusted line-height for better spacing */
  font-family: "Canela-Thin";
  letter-spacing: 0px;
  color: #2D2D2D;
  opacity: 1;
  margin: 0 auto;
  padding: 0 20px;
  width: 850px; /* Adjusted width to ensure it fits within two lines */
  white-space: normal; /* Allow text to wrap */
  position: relative;
}
@media (max-width: 768px) {
  #funded h2 {
    font-size: 50px;
    line-height: 56px;
  }
}

#funded .highlight {
  position: relative;
  display: inline-block;
  z-index: 1;
}
#funded .highlight::after {
  content: "";
  position: absolute;
  background: #92CDBA; /* Green highlight color */
  height: 0.75em; /* Align with cap height */
  width: 100%; /* Full width of highlighted text */
  bottom: 0.1em; /* Offset slightly below baseline */
  left: 0;
  z-index: -1; /* Place highlight behind text */
}

/* Beliefs Section */
#beliefs {
  margin: 0 0 80px 0;
  max-width: 100%;
  padding-left: 15px;
  text-align: left;
  font-weight: 100;
  font-size: 50px;
  line-height: 56px;
  color: #2D2D2D;
}
#beliefs .belief-heading {
  width: 930px;
  text-align: left; /* Left-align the heading */
  font-family: "Canela-Thin";
  font-size: 50px;
  line-height: 56px;
  margin-bottom: 80px;
}
@media (max-width: 1024px) {
  #beliefs .belief-heading {
    width: 100%;
    text-align: center;
  }
}
#beliefs .belief-items-container {
  display: grid; /* Use CSS Grid for layout */
  grid-template-columns: repeat(4, 1fr); /* Four equal columns by default */
  gap: 40px; /* Spacing between items */
}
@media (max-width: 1024px) {
  #beliefs .belief-items-container {
    grid-template-columns: repeat(2, 1fr); /* Two columns for tablet */
    gap: 30px; /* Adjust spacing for tablet */
  }
}
@media (max-width: 768px) {
  #beliefs .belief-items-container {
    grid-template-columns: 1fr; /* One column on mobile */
    gap: 20px; /* Adjust spacing for mobile */
    justify-items: center; /* Center items horizontally on mobile */
  }
}
#beliefs .belief-item {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start; /* Align content to the left */
  text-align: left; /* Left-align text */
  padding: 20px; /* Add padding around the items */
  border-radius: 8px; /* Optional: Add rounded corners */
}
@media (max-width: 768px) {
  #beliefs .belief-item {
    align-items: center; /* Center-align for mobile */
    text-align: center; /* Center-align text for mobile */
  }
}
#beliefs h3 {
  font-weight: 100;
  font-size: 27px;
  line-height: 35px;
  font-family: "Canela-Thin";
  color: #2D2D2D;
  margin-bottom: 20px;
}
#beliefs p {
  font-size: 20px;
  line-height: 30px;
  color: #2D2D2D;
  font-family: "Albert Sans", sans-serif;
  font-weight: 200;
}
#beliefs .belief-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 20px; /* Adjust spacing below the icon */
}

#laser-focused {
  display: flex; /* Flex container */
  justify-content: flex-start; /* Align items to the left */
  align-items: center; /* Center content vertically */
  padding: 50px 0; /* Add padding for spacing */
  position: relative; /* Allow for the image overlay */
}
@media (max-width: 768px) {
  #laser-focused {
    flex-direction: column; /* Stack the columns vertically for mobile */
    padding: 0; /* Remove extra padding on mobile */
  }
}
#laser-focused .laser-focused-container {
  display: flex; /* Flex container for the two columns */
  max-width: 1400px; /* Default maximum width */
  width: 100%; /* Ensure it scales properly */
  align-items: center; /* Center text and image vertically */
  position: relative; /* Allow positioning for the image overflow */
  padding: 0 20px; /* Add some padding for larger screens */
}
@media (max-width: 768px) {
  #laser-focused .laser-focused-container {
    max-width: 100%; /* Allow container to take up 100% of the width */
    padding: 0; /* Remove padding on smaller screens */
    flex-direction: column; /* Ensure content stacks properly */
    align-items: center; /* Center-align items for mobile */
  }
}
#laser-focused .text-column {
  flex: 0 0 600px; /* Fixed width of 600px */
  text-align: left; /* Align text to the left */
  margin-right: 55px; /* Add space between the columns */
}
@media (max-width: 768px) {
  #laser-focused .text-column {
    flex: 0 0 100%; /* Make the column take full width */
    margin-right: 0; /* Remove spacing between columns */
    margin-bottom: 100px; /* Add spacing between stacked elements */
    text-align: center; /* Center-align text for mobile */
    order: 2; /* Place the text below the image */
    margin-top: 100px;
  }
}
#laser-focused .text-column p {
  font-weight: 100;
  font-size: 75px;
  line-height: 81px;
  font-family: "Canela-Thin";
  letter-spacing: 0px;
  color: #2D2D2D;
}
@media (max-width: 768px) {
  #laser-focused .text-column p {
    font-size: 50px;
    line-height: 56px;
    text-align: center;
  }
}
#laser-focused .image-column {
  flex: 0 0 auto; /* Prevent shrinking/growing */
  position: relative; /* Enable image overlay */
  right: -55px; /* Push the image outside the container by 55px */
}
@media (max-width: 768px) {
  #laser-focused .image-column {
    flex: 0 0 100%; /* Make the column take full width */
    position: static; /* Remove positioning to stack properly */
    right: 0; /* Reset offset */
    text-align: center; /* Center-align the image for mobile */
    order: 1; /* Place the image above the text */
  }
}
#laser-focused .image-column img {
  max-width: 800px; /* Default width for larger screens */
  display: block; /* Ensure no inline spacing issues */
  overflow: visible; /* Ensure the image overflows the container */
}
@media (max-width: 1280px) {
  #laser-focused .image-column img {
    max-width: 600px; /* Reduce image size for medium screens */
  }
}
@media (max-width: 768px) {
  #laser-focused .image-column img {
    max-width: 425px; /* Adjust to smaller size */
    margin: 0 auto 0 auto; /* Center the image */
  }
}
@media (max-width: 600px) {
  #laser-focused .image-column img {
    width: 100%; /* Ensure full width for very small screens */
  }
}

footer {
  background: #2D2D2D; /* Full-width footer background */
  width: 100%; /* Ensures full width of the browser */
  padding: 135px 0 0 0; /* Top padding */
}
footer #contact {
  padding: 0 20px;
}
footer #contact .contact-container {
  max-width: 1200px; /* Constrain content to a max width */
  margin: 0 auto; /* Center-align the container */
}
footer #contact .contact-heading {
  font-weight: 100;
  font-size: 50px;
  line-height: 56px;
  font-family: "Canela-Thin";
  color: #F5F4E8;
  text-align: left;
  max-width: 800px;
  margin-bottom: 85px;
}
@media (max-width: 768px) {
  footer #contact .contact-heading {
    font-size: 42px; /* Adjust for smaller screens */
    line-height: 50px;
    max-width: 100%; /* Expand to full width on mobile */
  }
}
footer #contact .contact-items {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: nowrap; /* Keep items in one row until 768px */
}
@media (max-width: 768px) {
  footer #contact .contact-items {
    flex-direction: column; /* Stack items on smaller screens */
    gap: 40px; /* Adjust spacing */
  }
}
footer #contact .contact-member {
  display: flex;
  flex-direction: column;
  text-align: left;
  max-width: 360px;
}
@media (max-width: 768px) {
  footer #contact .contact-member {
    padding: 0 20px; /* Add padding on smaller screens */
  }
}
footer #contact .contact-member h3, footer #contact .contact-member p {
  font-size: 27px;
  line-height: 35px;
  font-family: "Canela-Thin";
  color: #F5F4E8;
  margin: 0 0 10px 0;
}
footer #contact .contact-member p {
  margin-bottom: 35px;
}
footer #contact .contact-member .team-btn {
  background: none;
  border-radius: 22px;
  font-weight: 600;
  font-size: 17px;
  line-height: 20px;
  font-family: "AlbertSans";
  text-align: center;
  text-decoration: none;
  border: solid 1px #f5f4e8;
  color: #f5f4e8;
  padding: 8px 10px;
  box-sizing: border-box;
  max-width: 205px;
  height: 38px;
}
footer #contact .contact-member .team-btn:hover {
  background: #f5f4e8;
  color: #2D2D2D;
}
footer #contact .contact-member .contact-photo {
  max-width: 137px; /* Limit photo size */
  margin-bottom: 20px;
}
footer .footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 20px 60px 0px;
}
footer .footer-content .copyright {
  margin: 0;
  font-size: 20px;
  line-height: 30px;
  color: white;
  text-align: left;
  font-family: "Albert Sans", sans-serif;
  font-weight: 200;
}
@media (max-width: 768px) {
  footer .footer-content .copyright {
    margin-left: 20px;
  }
}

/* Form Styles */
form .form-control, form button {
  font-family: "Albert Sans", sans-serif;
}

.modal-header {
  border: none;
  padding: 1rem 1rem 0 1rem;
}

/* Modal Styles */
.modal-title {
  font-family: "Canela-Thin";
  font-size: 25px;
  color: #2D2D2D;
}

.error-message {
  font-family: "Albert Sans", sans-serif;
  font-weight: 300;
}
