body {
  overflow-x: hidden;
  /* Prevent horizontal scrolling */
}

/* .body {
  flex-flow: column;
  display: flex;
} */

/* Enable smooth scrolling */
html {
  scroll-behavior: smooth;
}

.margin-bottom-24px {
  margin-bottom: 24px;
}

.navbar {
  z-index: 9999999;
  background-color: #dcdcdc00;
  height: 8vh;
  position: sticky;
  top: 0;
}

.section {
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 92vh;
  margin-top: 0;
  display: flex;
  overflow-x: hidden;
}

.container-3 {
  flex-flow: row;
  flex: 0 auto;
  justify-content: center;
  align-items: center;
  width: auto;
  height: auto;
  margin-bottom: 10px;
  padding-right: 0;
  display: flex;
  position: static;
}

.heading {
  margin-top: 0;
  margin-bottom: 0;
  margin-right: 70px;
  font-family: Montserrat, sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 40px;
  text-decoration: none;
}

.image-about {
  width: 270px;
  height: 270px;
}

.image-navbar {
  -webkit-text-fill-color: inherit;
  background-color: #fff0;
  background-clip: border-box;
  width: 4vh;
  height: 4vh;
}

.container-5 {
  flex-flow: row;
  align-items: center;
  width: 100%;
  display: flex;
  position: static;
}

/* Base Style for Heading */
.heading-3 {
  box-sizing: border-box;
  color: #e29b3e;
  text-align: left;
  font-family: Montserrat, sans-serif;
  font-size: 50px;
  margin-top: 100px;
  margin-bottom: 15px;
  white-space: nowrap;
  /* Prevents text wrapping */
  overflow: hidden;
  /* Ensures text doesn't overflow */
  height: 60px;
  /* Fixed height to prevent collapsing */
  line-height: 60px;
  /* Match height for vertical centering */
}

.container-6 {
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  height: auto;
  margin-top: 10px;
  margin-bottom: 0;
  display: flex;
}

.section-2 {
  flex-flow: row;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: auto;
  line-height: 20;
  display: flex;
}

.heading-about {
  color: #b2432c;
  text-align: center;
  width: 100%;
  margin-bottom: 20px;
  margin-right: 0;
  padding-right: 0;
  font-family: Montserrat, sans-serif;
  font-size: 25px;
  line-height: 35px;
}

.paragraph-about {
  text-align: center;
  color: #3e3e3e;
  width: 100%;
  margin-top: 20px;
  margin-left: 0;
  font-family: Montserrat, sans-serif;
  font-size: 16px;
  line-height: 28px;
}

.section-3 {
  position: relative;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
}

.container-7 {
  border-left: 2px solid #b2432c;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  padding-left: 10px;
  display: flex;
}

.paragraph-2 {
  font-family: Montserrat, sans-serif;
  color: #2c2c2c;
  font-size: 14px;
  line-height: 18px;
}

.container-9 {
  flex-flow: column;
  width: 80% 940px;
  ;
  margin-top: 100px;
  margin-bottom: 100px;
  display: block;
  position: static;
  margin-left: auto;
  margin-right: auto;
}

.heading-5 {
  color: #2c6db2;
  text-align: center;
  width: 100%;
  margin-bottom: 20px;
  margin-right: 0;
  font-family: Montserrat, sans-serif;
  font-size: 25px;
  line-height: 35px;
}

.container-6-copy {
  flex-flow: column;
  justify-content: flex-start;
  align-items: center;
  width: 80%;
  height: auto;
  margin-top: 80px;
  margin-bottom: 80px;
  display: flex;
}

.heading-6 {
  color: #974343;
  font-family: Montserrat, sans-serif;
  margin-top: 0;
  margin-bottom: 0px;
  margin-left: 0;
  font-size: 18px;
}

.container-7-copy {
  border-left: 2px solid #2c6db2;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  padding-left: 10px;
  display: flex;
}

.container-12 {
  flex-flow: column;
  justify-content: center;
  align-items: flex-start;
  width: 70%;
  max-width: 1000px;
  display: flex;
}

.link-block {
  box-sizing: border-box;
  width: auto;
  height: auto;
  display: flex;
  position: relative;
}

.section-4 {
  z-index: 9999;
  grid-column-gap: 16px;
  grid-row-gap: 16px;
  background-color: #fff;
  grid-template-rows: auto auto;
  grid-template-columns: 1fr 1fr;
  grid-auto-columns: 1fr;
  justify-content: center;
  align-items: flex-start;
  height: 8vh;
  display: flex;
  position: fixed;
  top: 0;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  transition: none;
}

.container-13 {
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  height: 100%;
  padding-right: 140px;
  display: flex;
  overflow: visible;
}

.link-block-2 {
  height: 100%;
  padding-left: 100px;
}

.navbar-link {
  color: #000;
  text-align: center;
  justify-content: center;
  align-items: center;
  width: 8vw;
  height: 8vh;
  text-decoration: none;
  display: flex;
}

.navbar-text {
  color: #1e1e1e;
  padding-top: 3px;
  font-family: Montserrat, sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 15px;
}

.container-15 {
  width: 100%;
  margin-top: 15px;
}

.container-16 {
  padding-right: 10px;
}

.section-5 {
  flex-flow: column;
  justify-content: flex-start;
  align-items: center;
  height: 40vh;
  display: flex;
}

.container-17 {
  flex-flow: row;
  justify-content: center;
  align-items: flex-start;
  width: 80%;
  max-width: 800px;
  display: flex;
}

.heading-contact {
  margin-top: 20px;
  font-size: 25px;
  color: #555;
  font-family: Montserrat, sans-serif;
}

.paragraph-contact {
  font-size: 18px;
  margin-bottom: 30px;
  color: #555;
  font-family: Montserrat, sans-serif;
}

/* Contact Section */
.contact-container {
  text-align: center;
  padding: 40px 20px;
}

.contact-heading {
  font-size: 30px;
  margin-bottom: 20px;
  color: #333;
  font-family: Montserrat, sans-serif;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.contact-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-size: 18px;
  color: #555;
  font-family: Montserrat, sans-serif;
  transition: color 0.3s ease;
}

.contact-link:hover {
  color: #e29b3e;
}

.contact-icon {
  width: 24px;
  height: 24px;
  margin-right: 8px;
}

/* project section */
.project-container {
  display: grid;
  grid-template-columns: 2.7fr 1fr;
  /* 2:1 ratio for image and text */
  gap: 10px;
  /* Space between image and text */
  align-items: start;
  max-width: 1200px;
  margin: 5px auto;
  /* Center the container */
}

.image-link {
  display: block;
  width: 100%;
  text-decoration: none;
}

.responsive-image {
  width: 100%;
  /* Image fills its grid column */
  height: auto;
  /* Maintain aspect ratio */
  object-fit: contain;
  /* Ensure the image fits within its space */
}

.text-container {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.project-heading-link {
  font-style: normal;
  text-decoration: none;
}

@media screen and (max-width: 991px) {
  .container {
    max-width: 728px;
  }

  .project-container {
    grid-template-columns: 1fr;
    /* Switch to single column */
  }

  .section {
    margin-top: 0;
  }

  .container-3 {
    position: relative;
  }

  .heading {
    margin-right: 30px;
    font-size: 18px;
    line-height: 35px;
  }

  .image {
    width: 200px;
    height: 200px;
  }

  .heading-3 {
    margin-bottom: 30px;
  }

  .heading-about {
    font-size: 18px;
  }

  .paragraph-about {
    font-size: 13px;
  }

  .container-7 {
    max-width: 100%;
  }

  .paragraph-2 {
    font-size: 12px;
    line-height: 15px;
  }

  .image-2 {
    width: 100%;
    height: auto;
  }

  .container-9 {
    width: 90%, 728px;
  }

  .heading-5 {
    width: 100%;
    font-size: 18px;
  }

  .container-11 {
    width: 40%;
    padding-left: 10px;
  }

  .heading-6 {
    justify-content: center;
    align-items: flex-start;
    display: flex;
  }

  .container-7-copy {
    padding-left: 10px;
  }

  .link-block {
    width: 60%;
  }

  .container-13 {
    padding-right: 100px;
  }

  .link-block-2 {
    padding-left: 60px;
  }

  .navbar-text {
    font-size: 13px;
  }

  .paragraph-3 {
    color: #555;
    margin-top: 0px;
    margin-bottom: 10;
    font-size: 13px;
    line-height: 20px;
  }

  .image-navbar {
    width: 4vh;
    height: 4vh;
    margin-top: 2px;
  }

  .project-title-bold-text {
    font-size: 15px;
  }
}

@media screen and (max-width: 767px) {

  .hero-without-image,
  .hero-without-image-2 {
    padding: 60px 15px;
  }

  .container-3 {
    height: auto;
  }

  .heading {
    margin-right: 0;
    font-size: 15px;
    line-height: 30px;
  }

  .image {
    width: 150px;
    height: 150px;
    margin-left: 20px;
  }

  .image-about {
    width: 31vw;
    height: 31vw;
  }

  .heading-3 {
    margin-bottom: 20px;
    font-size: 40px;
    height: 50px;
    /* Fixed height to prevent collapsing */
    line-height: 50px;
    /* Match height for vertical centering */
  }

  .heading-about {
    width: auto;
    margin-right: 10px;
    font-size: 15px;
  }

  .paragraph-about {
    margin-left: 0;
  }

  .image-2 {
    width: 100%;
  }

  .heading-5 {
    width: auto;
    margin-right: 10px;
    font-size: 15px;
  }

  .container-11 {
    width: 100%;
    margin-top: 10px;
  }

  .heading-6 {
    font-size: 18px;
  }

  .link-block {
    width: 100%;
  }

  .container-13 {
    padding-right: 10px;
  }

  .link-block-2 {
    padding-left: 40px;
  }

  .navbar-link {
    width: 10vw;
  }

  .navbar-text {
    font-size: 11px;
  }

  .paragraph-3 {
    color: #555;
    font-size: 15px;
    margin-bottom: 10;
    line-height: 30px;
  }

  .image-navbar {
    width: 3vh;
    height: 3vh;
  }

  .project-title-bold-text {
    line-height: 15px;
  }

  .bold-text {
    font-size: 15px;
  }
}

@media screen and (max-width: 479px) {
  .container {
    max-width: none;
  }

  .container-3 {
    width: 100%;
    height: auto;
  }

  .heading {
    margin-right: 10px;
    font-size: 12px;
    font-weight: 400;
    line-height: 22px;
    position: static;
  }

  .image {
    width: 120px;
    height: 120px;
    margin-left: 10px;
    padding-left: 0;
  }

  .container-5 {
    margin-bottom: 20px;
  }

  .heading-3 {
    font-size: 30px;
    margin-top: 50px;
    margin-bottom: 0;
    height: 40px;
    /* Fixed height to prevent collapsing */
    line-height: 40px;
    /* Match height for vertical centering */
  }

  .container-6 {
    flex-flow: column;
    width: auto;
    margin-top: 0;
  }

  .heading-about {
    text-align: center;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 20px;
    margin-bottom: 20px;
    margin-right: 0;
    font-size: 18px;
    line-height: 35px;
    display: flex;
    overflow: visible;
  }

  .paragraph-about {
    width: 100%;
    margin-top: 0;
    margin-bottom: 0;
    font-size: 12px;
    line-height: 22px;
  }

  .image-about {
    width: 50vw;
    height: 50vw;
  }

  .container-7 {
    padding-left: 10px;
  }

  .paragraph-2 {
    font-size: 11px;
  }

  .image-2 {
    width: 100%;
  }

  .container-9 {
    width: 95%;
  }

  .heading-5 {
    text-align: center;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 20px;
    margin-bottom: 20px;
    margin-right: 0;
    font-size: 18px;
    line-height: 35px;
    display: flex;
    overflow: visible;
  }

  .container-6-copy {
    flex-flow: column;
    justify-content: flex-start;
    align-items: center;
    width: 80%;
  }

  .container-11 {
    width: 100%;
    margin-top: 10px;
  }

  .container-7-copy {
    padding-left: 10px;
  }

  .container-12 {
    width: 90%;
    height: auto;
  }

  .link-block {
    width: 100%;
  }

  .container-13 {
    padding-right: 0;
  }

  .link-block-2 {
    padding-left: 10px;
  }

  .navbar-link {
    width: 15vw;
  }

  .navbar-text {
    font-size: 10px;
  }

  .paragraph-3 {
    color: #555;
    font-size: 15px;
    margin-bottom: 10;
    line-height: 30px;
  }

  .image-navbar {
    width: 2vh;
    height: 2vh;
  }

  .container-15 {
    width: 100%;
    margin-top: 10px;
  }

  .project-title-bold-text {
    font-size: 13px;
  }

  .container-16 {
    direction: ltr;
    text-align: center;
    text-transform: none;
    overflow-wrap: anywhere;
    flex-flow: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    display: flex;
    overflow: visible;
  }
}


/* Reset Animation State */
.section {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 2.5s ease-out, transform 1s ease-out;
}

.section-2 {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 2s ease-out, transform 0.5s ease-out;
}

.section-3 {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 2s ease-out, transform 0.5s ease-out;
}

.section-5 {
  opacity: 0;
  transition: opacity 2s ease-out, transform 0.5s ease-out;
}

.visible {
  opacity: 1;
  transform: translateY(0);
}