li.b {
    margin: 10px 0;
  }

body {
    padding-bottom:0px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    max-width: 1920px;
    margin-left: auto;
    margin-right: auto;
    color: #02314B;
  }
  

  footer {
    display: flex;
    justify-content: space-between;
    align-items: center; 
    padding: 10px 50px;
    background-color: #F4984F;
    color: rgb(255, 255, 255);
    width: 100%;
    height: 50px;
    margin-top: auto;
}

.footer-left {
    text-align: left;
    flex: 1;
}

.footer-right {
    text-align: right;
    flex: 1;
    display: flex;
    justify-content: flex-end;
    padding: 5px 20px 0px;
}

.social-icons {
    display: flex;
    gap: 50px;
}

.social-icons a {
    display: inline-block;

}

.social-icons img {
    width: 30px;
    height: 30px;
}

h1 {
  text-align: center;
}

.image-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 80px; /* Adds space between the images */
  flex-wrap: wrap; /* Allows images to wrap into a column on smaller screens */
  margin-top: 50px; /* Adds space before the block */
  padding: 0 0 40px;
}

.image-row a {
  display: block;
  max-width: 40%; /* Ensures each image takes up 30% of the row on larger screens */
}

.image-row img {
  height: 120px;
  width: auto;
  display: block;
}

@media (max-width: 768px) {
  .image-row a {
      max-width: 100%; /* Images take full width in column layout on smaller screens */
  }

  .image-row img {
      width: 70%; /* Ensures images scale properly in a column layout */
      height: auto; /* Adjusts the height when stacking in a column */
      margin-left: auto;
      margin-right: auto;
  }
}


  @media (max-width: 780px) {
    footer {
        flex-direction: column;
        align-items: center;
        height: 100px;
    }

    .footer-left,
    .footer-right {
        text-align: center;
        align-items: center;
        flex: none;
        width: 100%;
    }

    .footer-right {
        justify-content: center;
    }

    .social-icons {
        justify-content: center;
    }
}

h1{font-family: 'Work Sans', sans-serif;}
h2, h3, h4, h5, h6 {font-family: 'Open Sans', sans-serif; font-weight: bold;}
p,li,lu,figcaption,a,th,tr {font-family: 'Open Sans', sans-serif;}

ul.header {
  background-color: #45A8B2;
  text-align: center;
  padding: 10px;
  font-size: 120%;
}

li.header {
  padding: 10px 25px;
  display: inline;
}
a.header {
  color: rgb(255, 255, 255);
}

.logo-container {
  background-color: #ffffff; /* Same as header background */
  padding: 0px; /* Adjust the padding to fit your design */
  text-align: left;
  padding-left: 0px; /* Adjust the left padding to fit your design */
}

.logo {
  width: 150px; /* Adjust the size of the logo as needed */
}

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

/* base html */
.header-container {
  display: flex;
  justify-content: start;
  align-items: center;
  padding: 0 0 20px;
  background-color: #02314B;
  color: #f4f4f4;
}

.logo img {
  max-width: 150px;
}

.header-text {
  flex-grow: 1;
  text-align: center;
}

/* 1st block homepage */
.hero-section {
  background-image: url('img/hero.webp');
  background-size: cover;
  background-position: center;
  padding: 100px 100px;
  text-align: left;
  color: #f4f4f4;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

.hero-section .hero-text h2 {
  text-align: left;
  font-size: 32px;
  margin-bottom: 20px;
}

.search-bar-container {
  background-color: #F26754; /* Background color outside the search bar */
  padding: 20px 0;
  width: 100%;
  display: flex;
  justify-content: center;
}

.search-form {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80%;
}

.search-input {
  width: 70%;
  padding: 10px;
  border: none;
  border-radius: 25px 0 0 25px;
  outline: none;
  font-size: 16px;
  background-color: white; /* White background for the search bar */
  height: 42px; /* Ensure a consistent height */
}

.search-button {
  padding: 0 15px;
  border: none;
  background-color: white; /* Match the button background with the search bar */
  border-radius: 0 25px 25px 0;
  cursor: pointer;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 42px; /* Match the height of the input */
}

.search-button i {
  color: #004b87; /* Color of the magnifying glass icon */
  font-size: 18px; /* Size of the magnifying glass icon */
}

.search-button:hover i {
  color: #003366; /* Hover color for the magnifying glass icon */
}

/* 2nd block homepage */

.info-section {
  
  padding: 15px 20px;
  text-align: center;
  position: relative; /* Needed for absolute positioning of the background images */
  overflow: hidden; /* To prevent overflow from the background images */
}

.info-section::before,
.info-section::after {
  content: "";
  background-image: url('img/Group-1.svg');
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  width: 30vh;
  height: 30vh;
}

.info-section::before {
  top: -15vh;
  left: 0;
  transform: translate(0, 0) scaleX(-1) scaleY(-1);
}

.info-section::after {
  bottom: -13vh;
  right: 0;
  transform: translate(0, 0);
}

.info-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 18px;
  color: #02314B;
  position: relative; /* To ensure it stays above the background images */
  z-index: 1; /* Ensures the text is above the background images */
}

.info-content h2 {
  margin: 0 auto;
  max-width: 600px;
  font-size: 30px;
  color: #F26754;
  margin-bottom: 20px;
}

.info-content p {
  margin-bottom: 0;
  line-height: 1.5;
}
@media (max-width: 1000px) {
  .info-section::before,
  .info-section::after {
      display: none;
  }
}

/* 3rd block homepage */
.key-sections {
  max-width: 1200px;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  padding: 50px 20px;
  margin: 0 auto; 
}
  

.section-block {
  background-color: white;
  border-radius: 8px;
  padding: 20px;
  width: 23%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  margin-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: white;
}

.section-block:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.icon-circle {
  width: 80px;
  height: 80px;
  border: 40px solid white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  background-color: transparent; /* No background color inside the circle */
}

.section-icon {
  width: 55px;
  height: 55px;
  color: white;
}

.block1 {
  background-color: #91D5D7;
}

.block2 {
  background-color: #F26754;
}

.block3 {
  background-color: #45A8B2;
}

.block4 {
  background-color: #F4984F;
}

.section-block h3 {
  font-size: 24px;
  margin-bottom: 15px;
}

.section-block p {
  font-size: 16px;
  margin-bottom: 30px;
  flex-grow: 1; /* Ensure the paragraph takes up available space */
}

.learn-more {
  display: inline-block;
  padding: 10px 20px;
  background-color: white;
  color: #333;
  text-decoration: none;
  font-weight: bold;
  border-radius: 20px;
  transition: background-color 0.3s ease, color 0.3s ease;
  align-self: center;
}

@media (max-width: 1000px) {
  .section-block {
      width: 45%; /* Adjust block size for smaller screens */
  }
}

/* 4th block homepage */
.three-part-block {
  background-color: #02314B; /* Dark blue background */
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 10px; /* Padding around the block */
  text-align: left;
  margin: 0 auto;
  flex-wrap: wrap; /* Allows wrapping on smaller screens */
}

.left-text, .right-text {
  flex: 1;
  padding: 20px;
}

.center-image {
  flex: 0 0 250px; 
  text-align: center;
}

.center-image img {
  width: 100%;
  max-width: 250px; 
  height: auto;
  border-radius: 25px; /* Adds rounded corners to the image */
}

@media (max-width: 768px) {
  h1 {
    font-size: 5vw;
  }
  ul.header {
    padding: 8px;
    font-size: 100%;
  }
  
  li.header {
    padding: 8px 15px;
    display: inline;
  }
  .search-input {
    font-size: 12px;
  }
  .hero-section {
    padding: 10px 10px;
  }
  
  .hero-section .hero-text h2 {
    font-size: 5vw;
    margin-bottom: 10px;
  }
  .section-block {
    width: 80%; /* Stack blocks on top of each other on small screens */
}
  .three-part-block {
      flex-direction: column;
      align-items: center; /* Center items on smaller screens */
      text-align: center;
      padding: 20px 10px; /* Adjust padding to reduce spacing */
  }

  .left-text, .right-text {
      max-width: 100%;
      padding: 10px 0;
      margin: 0; /* Remove any margin */
      text-align: center; /* Center the text */
  }

  .center-image {
      margin: 10px 0; /* Reduce the margin for the image */
  }

  .three-part-block > * {
      width: 100%; /* Ensure all child elements take full width */
  }
  .center-image {
    flex: 0 0 50px; 
  }
  
}

