html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

body {
  font-family: Poppins;
  font-size: 30px;
  font-weight: 400;
  line-height: 45px;
  text-align: center;
}

.background-container {
  position: relative;
  width: 100%; /* Changed from 100vw */
  height: 100vh;
  overflow: hidden;
  margin-bottom: 0;
}

.background-image {
  position: absolute;
  padding-top:15px;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
  background-image: url("vietnam-top.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: -1;
  object-fit: cover;
  text-align: center;
}
.background-image h1{
    opacity: 0.5;
    top: 30px;
    color: white;
    font-family: Poppins;
font-size: 150px;
font-weight: 700;
line-height: 225px;
text-align: center;
text-underline-position: from-font;
text-decoration-skip-ink: none;

}
.header {
  position: relative;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1;
}
.logo {
  width: 208px;
  height: 108.7px;
  top: 29px;
  left: 44px;
  gap: 0px;
  opacity: 0px;
}
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav a {
  color: rgba(10, 15, 18, 1);
  text-decoration: none;
  margin: 0 20px;
  font-size: 20px;
  font-weight: 400;
}
.nav a:hover {
  color: #666;
}


/* Image grid */

/* grid */
.section-title {
  font-family: Poppins;
  font-size: 50px;
  font-weight: 700;
  line-height: 75px;
  color: #ffffff;
  background-color: #0a0f12;
  margin: 0; /* remove top and bottom margins */
  padding: 20px 0; /* add 20px padding top and bottom, and 0 padding left and right */
}

.image-grid {
  background: #ffffff;
  padding: 20px;
}

.image-grid .container {
  max-width: 1200px;
  margin: 0 auto;
  /* background-image: linear-gradient(
      to bottom,
      rgba(10, 15, 18, 0.5),
      rgba(10, 15, 18, 0.8)
    ); */
  background-size: 100% 200px;
  background-position: 0% 100%;
  padding: 20px;
}

.image-grid .row {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
}

.image-grid .col-md-2 {
  width: 25%;
  margin: 20px;
}

.image-grid img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  gap: 55px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease-in-out;
}

.image-grid img:hover {
  transform: scale(1.1);
}

.image-grid h3 {
  color: #026ba2;
  font-size: 18px;
  margin-top: 10px;
  text-align: center;
  /* background-image: linear-gradient(
      to bottom,
      rgba(10, 15, 18, 0.5),
      rgba(10, 15, 18, 0.8)
    ); */
  background-size: 100% 20px;
  background-position: 0% 100%;
  padding: 10px;
}
.image-grid p {
  font-family: Poppins;
  font-size: 17px;
  font-weight: 400;
  line-height: 25.5px;
  text-align: center;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
}
#upper-text {
  font-family: Poppins;
  font-size: 50px;
  font-weight: 600;
  line-height: 45px; /* Reduced line height */
  text-align: center;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  color: #026ba2;
  margin-bottom: 0px; /* Add negative margin to bring elements closer */
}

#upper2-text {
  font-family: Poppins;
  font-size: 50px;
  font-weight: 400;
  line-height: 45px; /* Reduced line height */
  text-align: center;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  color: #2f9620;
  margin-top: 0px; /* Add negative margin to bring elements closer */
}
/* card */
.image-card {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease-in-out;
}

.image-card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
}

.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease-in-out;
}

.image-card:hover img {
  transform: scale(1.1);
}

/* bg 2 */

.background-image2 {
    position: absolute;
    padding-top:15px;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 1;
    
    background-image: url("vietnam-mid.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: -1;
    object-fit: cover;
    text-align: center;
  }
 

  .background-image2 p{
    font-family: Poppins;
font-size: 21px;
font-weight: 400;
line-height: 25.5px;
text-align: justified;
text-underline-position: from-font;
text-decoration-skip-ink: none;
color: #000000;
margin-left: 80px;
margin-right: 80px;
  }

/* polaroid */
.container1 h1 {
    font-family: Poppins;
    font-size: 50px;
    font-weight: 700;
    line-height: 75px;
    text-align: center;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    margin-bottom: 20px; /* Space between heading and polaroid */
  }
  .polaroid-image {
    position: relative;
    width: 375.25px; /* Set the desired width */
    height: 458.94px; /* Set the desired height */
    top: -10px;
    opacity: 1; /* Ensure the image is visible */
    transform: rotate(5deg); /* Rotate the image -5 degrees */
    object-fit: cover; /* Ensure the image covers the area without distortion */
    /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); Optional: adds a subtle shadow */
  }
  #pol-text{
    font-family: Poppins;
  font-size: 21px;
  font-weight: 400;
  line-height: 29.5px;
  text-align: center;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  margin-left: 150px;
  margin-right: 150px;
  }
  
  footer {
    background-color: black;
    color: white;
    padding: 20px;
  }
  
  .footer-container {
    display: flex;
    flex-direction: column; /* Stack logo on top */
    align-items: center; /* Center items horizontally */
  }
  
  .logo-container {
    margin-bottom: 20px; /* Add space below the logo */
  }
  
  .footer-logo {
    width: 208px; /* Set logo width */
    height: 108.7px; /* Set logo height */
  }
  
  /* Columns layout */
  .footer-columns {
    display: flex; /* Use flexbox for columns */
    justify-content: space-between; /* Space between columns */
    width: 100%; /* Full width */
    max-width: 1200px; /* Optional: limit max width */
  }
  
  .column {
    flex: 1; /* Equal width for each column */
    /* text-align: center; Center text horizontally */
    margin: 0 10px; /* Add some space between columns */
    display: flex; /* Use flexbox to allow vertical centering */
    flex-direction: column; /* Stack children vertically */
    justify-content: center; /* Center children vertically */
    align-items: center; /* Add some space between columns */
  }
  
  .column h4 {
    font-size: 18px;
    margin-bottom: 10px;
  }
  
  .column p {
    margin-bottom: 5px;
    font-family: Poppins;
  font-size: 15px;
  font-weight: 400;
  line-height: 25.5px;
  text-align: center;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  
  }
  #email{
    justify-content: left;
    text-align: l;
    
    line-height: 17px;
    
  }
  
  .separator {
    width: 1px; /* Thin vertical line */
    height: 200px; /* Set a specific height */
    background-color: rgba(255, 255, 255, 0.3); /* Semi-transparent white */
    align-self: center; /* Vertically center the separator */
    margin: 0 30px;  /* Add spacing around separator */
  }
@media screen and ( max-width: 768px){
  .hamburger-checkbox{
    display: none;
}

}

  @media screen and (max-width: 900.98px){
    body {
      font-size: 16px; /* Adjust base font size */
      line-height: 24px;
    }
  
    .background-container {
      height: 80vh; /* Adjust height for smaller screens */
    }
  
    .background-image h1 {
      font-size: 50px; /* Reduce font size */
      line-height: 75px;
      position: relative;
      top: 20%;
     
    }
  
    .header {
      flex-direction: column;
      padding: 10px;
      text-align: center;
      width: 80vw;
    }
    .logo {
      width: 98px;
      height: auto;
      margin-bottom: 10px;
      position: relative;
      left:-5rem;
    }
  
    .nav {
      position: relative;
      background-color: transparent;
    }
    .hamburger-label {
      display: block;
      position: absolute;
      top: -3rem;
      right: -13rem;
      z-index: 1;
      padding: 20px;
      cursor: pointer;
    }
    .hamburger-label span {
      display: block;
      width: 27px;
      height: 3px;
      background-color: #fff;
      margin-bottom: 5px;
      transition: all 0.3s ease-in-out;
    }
    .nav-content {
      display: none;
      position: absolute;
      top: -4rem;
      right: -11rem;
      font-size: 9px;
      
      text-align: right;
      padding: 10px;
    }
    .nav-content a {
      width: 150px;
      display: block;
      color:whitesmoke;
      padding: 10px;
      font-size: 1rem;
      text-align: right;
    }
    .hamburger-checkbox {
      display: none;
    }
    .hamburger-checkbox:checked + .nav-content {
      display: block;
    }
    /* Image Grid */
    .image-grid .row {
      flex-wrap: wrap; /* Allow items to wrap */
    }
  
    .image-grid .col-md-2 {
      width: 100%; /* Full width for columns */
      margin: 10px 0;
    }
  
    .image-grid img {
      height: 250px; /* Adjust image height */
    }

    .phone {
    overflow-x: auto;
    padding: 10px;
    padding-left: 13rem;
    position: relative;
    width: auto ;
}

    .image-grid .phone .row {
        white-space: nowrap;
        display: flex;
        flex-wrap: nowrap;
        margin-left: 10px;
        margin-right: 100px;
        scroll-snap-type: x mandatory;
        width: 20rem;
        
        justify-content: center;
    }
    .image-grid .phone .row img{
      width:15rem;
      margin: 10px;
    }
  
    /* Upper text */
    #upper-text,
    #upper2-text {
      font-size: 28px; /* Reduce font size */
      line-height: 35px;
    }
  .background-image2 {
    height: 45rem; 
  }
  .background-image2::before {
    opacity: 0.7; /* Adjust opacity of the background image */
  }
    /* Background Image 2 */
    .background-image2 p {
      margin: 10px; /* Reduce margins */
      font-size: 11px;
      font-weight:500;  
      position: relative;
      top: -10px;
      
      /* color: white; */
      line-height: 15px;
    }
  
    /* Polaroid */
    .container1 h1 {
      font-size: 24px; /* Reduce font size */
    }
  
    .polaroid-image {
      width: 250px;
      height: auto;
    }
    #pol-text {
      margin: 10px; /* Adjust margins */
      font-size: 16px;
      line-height: 22px;
    }
  
    /* Footer */
    footer {
      padding: 10px;
    }
  
    .footer-container {
      flex-direction: column;
      align-items: center;
    }
  
    
    .footer-columns {
      flex-direction: column;
      align-items: center;
    }
  
    .column {
      margin: 10px 0;
      width: 100%;
    }
  
    .separator {
      display: none;
    }
  
    #email {
      text-align: center;
      font-size: 14px; /* Adjust font size */
    }
  }
  