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: 1.6rem;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  overflow-x: hidden;
}
.header {
  position: relative;
  display: flex;
  padding: 1rem 2rem;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}
.logo {
  width: 13rem;
  height: auto;
  /* top: 29px;
  left: 44px;
  gap: 0px;
  opacity: 0px; */
}
.nav {
  display: flex;
 gap:1rem;
}
.nav a {
  color: rgba(10, 15, 18, 1);
  text-decoration: none;
  margin: 0 1.25rem;
  font-size: 1.25rem;
  font-weight: 400;
  transition: color 0.3s ease;
}
.nav a:hover {
  color: #666;
}

.background-container {
  position: relative;
  width: 100%; /* Changed from 100vw */
  height: 88vh;
  overflow: hidden;
  margin-bottom: 0;
}

.carousel-container {
  position: absolute; /* Position the carousel absolutely */
  top: 0; /* Align it to the top */
  left: 0; /* Align it to the left */
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  z-index: 1; /* Lower z-index to be behind the navbar */
  overflow: hidden;
}
.carousel {
  display: flex;
  transition: transform 0.5s ease-in-out;
  height: 100%;
}

.carousel-slide {
  min-width: 100%; /* Each slide takes full width */
  max-height: fit-content;
  transition: opacity 0.7s ease-in-out;
}

.carousel-slide img {
  width: 100%;
  height: auto; /* Maintain aspect ratio */
}
.white-strip {
  height: 4.5rem; /* Height of the strip */
  background-color: white; /* White color */
  position: relative; /* Position relative to the carousel */
  margin-bottom: -20px; /* Pull it up to overlap the bottom of the carousel */
  z-index: 2; /* Ensure it appears above the carousel */
  display: flex;
  align-items: center;
  justify-content: center;
  top: 64%;
}
.white-strip-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 120rem;
  font-size: 2rem;
  font-weight: 700;
  color: #026ba2;
}
.white-strip-content > div {
  display: flex;
  align-items: center;
  flex: 1; /* Distribute space evenly */
  justify-content: center; /* Center content in each section */
}
.white-strip-content .text {
  margin: 0 10px;
  font-size: 1.125rem;
  font-weight: 400;
  /* white-space: nowrap; Prevent text wrapping */
  overflow: hidden;
  /* text-overflow: ellipsis; Add ellipsis if text is too long */
}


.rectangle {
  width: 100%; /* Changed from 95vw */
  margin: 0;
  overflow: hidden;
}

#r-1 {
  height: 4.25rem;
  background-color: #026ba2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px; /* Reduced padding */
}

.r-1-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 75rem; /* Added max-width to prevent stretching on large screens */
  color: white;
  font-family: Poppins;
}

.r-1-content > div {
  display: flex;
  align-items: center;
  flex: 1; /* Distribute space evenly */
  justify-content: center; /* Center content in each section */
}

.r-1-content .text {
  margin: 0 10px;
  font-size: 1.125rem;
  font-weight: 400;
  white-space: nowrap; /* Prevent text wrapping */
  overflow: hidden;
  text-overflow: ellipsis; /* Add ellipsis if text is too long */
}

.r-1-content .bullet {
  color: white;
  font-size: 1rem;
}

#r-2 {
  height: 1.2rem;
  background-color: #2f9620;
}

/* grid */
.section-title {
  font-family: Poppins;
  font-size: 4rem;
  font-weight: 700;
  line-height: 5rem;
  color: #ffffff;
  background-color: #0a0f12;
  margin: 0; /* remove top and bottom margins */
  padding: 1.25rem 0; /* add 20px padding top and bottom, and 0 padding left and right */
}

.image-grid {
  background: #ffffff;
  padding: 1.25rem;
}

.image-grid .container {
  max-width: 85rem;
  margin: 0 auto;
  background-size: 100% 12.5rem;
  background-position: 0% 100%;
  padding: 2rem;
}

.image-grid .row {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap:2rem;
}

.image-grid .col-md-2 {
  width: 30%;
  margin: 10px;
}

.image-grid img {
  width: 100%;
  height: 24rem;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: 0 0 1rem 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: 2rem;
  margin-top: 1rem;
  text-align: center;
  background-size: 100% 2rem;
  background-position: 0% 100%;
  padding: 1rem;
}
.image-grid p {
  font-family: Poppins;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 2rem;
  text-align: center;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
}
#upper-text {
  font-family: Poppins;
  font-size: 3.25rem;
  font-weight: 600;
  line-height: 3rem; /* 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: 3.25rem;
  font-weight: 400;
  line-height: 3rem; /* 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: 1rem;
  box-shadow: 0 0 1rem rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease-in-out;
}

.image-card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 1rem 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);
}

.image-card h3 {
  position: absolute;
  bottom: 1.25rem;
  left: 20px;
  color: #fff;
  font-size: 1.125rem;
  font-weight: bold;
  text-shadow: 0 0 1rem rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease-in-out;
}

.image-card:hover h3 {
  color: #fff;
  text-shadow: 0 0 1.25rem rgba(0, 0, 0, 0.7);
}

/* image grid 2 */

.image-grid2 {
  background: #026baf;
  padding: 1.25rem;
}

.image-grid2 p {
  font-family: Poppins;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.9rem;
  text-align: justified;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  color: #fff;
  padding: 0 30px; /* Add horizontal padding */
  max-width: 1200px; /* Limit width for better readability */
  margin: 0 auto; /* Center the paragraph horizontally */
  margin-bottom: 1rem;
}

#upper-text2 {
  font-family: Poppins;
  font-size: 1.9rem;
  font-weight: 400;
  line-height: 2.8125rem;
  text-align: center;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  color: #ffffff;
  margin: 0 auto;
  display: block;
  max-width: 75rem;
  padding: 0 1.25rem;
  margin-top: 1.9rem;
  padding-bottom: 1rem;
}

.image-grid2 .container {
  max-width: 75rem;
  margin: 0 auto;
  background-size: 100% 12.5rem;
  background-position: 0% 100%;
  padding: 1.25rem;
}

.image-grid2 .row {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
}

.image-grid2 .col-md-2 {
  width: 20%;
  margin: 1rem;
}

.image-grid2 img {
  width: 100%;
  height: 22rem;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: 0 0 1rem rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease-in-out;
}

.image-grid2 img:hover {
  transform: scale(1.1);
}

/* Polaroid */

.container1 h1 {
  font-family: Poppins;
  font-size: 3.125rem;
  font-weight: 700;
  line-height: 4.9rem;
  text-align: center;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  margin-bottom: 1.25rem; /* Space between heading and polaroid */
}
.polaroid-image {
  position: relative;
  width: 23.5rem; /* Set the desired width */
  height:28.7rem; /* Set the desired height */
  top: -1rem;
  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: 1.6rem;
font-weight: 400;
line-height: 2.4rem;
text-align: center;
text-underline-position: from-font;
text-decoration-skip-ink: none;
margin-left: 9.375rem;
margin-right: 9.375rem;
}

/* text-grid */
.text-grid {
  background: #026ba2; 
  padding: 1.25rem;
}

.text-grid .container3 {
  max-width: 75rem;
  margin: 0 auto;
  background-size: 100% 12.5rem;
  background-position: 0% 100%;
  padding: 1.25rem;
}

.text-grid .row {
  display: flex;
  flex-wrap:wrap;
  justify-content: center;
  gap: 1.5rem;
}

.text-grid .col-md-2 {
  width: 23%;
  margin: 1rem;
  border-radius: 1rem;
  box-shadow: 0 0 1rem rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease-in-out;
  padding: 1.25rem;
}

.text-grid .col-md-2:first-child {
  background-color: #2f9620; /* Green background for first card */
  color: white;
}

.text-grid .col-md-2:nth-child(2) {
  background-color: white; /* White background for middle card */
  color: #026BA2;
  width: 25%;
}
.text-grid .col-md-2:nth-child(2) h6{
 font-size: 1.25rem;
 line-height: 1.6rem;
 margin-bottom: 0px;
 margin-top: 1rem;
}
.text-grid .col-md-2:last-child {
  background-color: #2f9620; /* Green background for last card */
  color: white;
}

.text-grid .col-md-2 h4 {
  font-family: Poppins;
font-size: 1.35rem;
font-weight: 600;
line-height: 1.6rem;
text-align: center;
text-underline-position: from-font;
text-decoration-skip-ink: none;

}

.text-grid .col-md-2 p {
  font-size: 1rem;
  line-height: 1.5;
  padding: 1rem 1rem;
}

/* Optional: Add hover effect */
.text-grid .col-md-2:hover {
  transform: scale(1.05);
  box-shadow: 0 0 1.25rem rgba(0, 0, 0, 0.3);
}

footer {
  background-color: black;
  color: white;
  padding: 2rem;
}

.footer-container {
  display: flex;
  flex-direction: column; /* Stack logo on top */
  align-items: center; /* Center items horizontally */
  text-align: center;
}

.logo-container {
  margin-bottom: 20px; /* Add space below the logo */
}

.footer-logo {
  width: 13rem; /* Set logo width */
  height: 6.75rem; /* Set logo height */
}

/* Columns layout */
.footer-columns {
  display: flex; /* Use flexbox for columns */
  flex-wrap: wrap;
  gap: 2rem;
  margin: 2rem auto 0;
  justify-content: space-between; /* Space between columns */
  width: 100%; /* Full width */
  max-width: 75rem; /* Optional: limit max width */
}

.column {
  flex: 1; /* Equal width for each column */
  text-align: center;
  margin: 0 1rem; /* 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 */
}
/* ------------------------------------------------------------------------------------------------------ */

/* Responsive Media Queries */

/* Extra small devices (phones, less than 576px) */
@media screen and (max-width: 767.98px) {
  body {
    font-size: 1rem;
    line-height: 1.5;
  }

  .header {
    flex-direction: column;
    padding: 10px;
    text-align: center;
    width: 80vw;
  }

  .logo {
    width: 150px;
    height: auto;
    margin-top:35px;
    margin-bottom: 10px;
    position: relative;
    padding-left: 2rem;

    left:-5rem;
  }

  .nav {
    position: relative;
    background-color: transparent;
  }
  .hamburger-label {
    display: block;
    position: absolute;
    top: -5rem;
    right: -13rem;
    z-index: 1;
    padding: 20px;
    cursor: pointer;
  }
  .hamburger-label span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: #fff;
    margin-bottom: 5px;
    transition: all 0.3s ease-in-out;
  }
  .nav-content {
    display: none;
    position: absolute;
    top: -3rem;
    right: -11rem;
    font-size: 15px;
    
    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;
  }
  .background-container {
    position: relative;
    width: 100%; /* Changed from 100vw */
    height: 88vh;
    overflow: hidden;
    margin-bottom: 0;
  }
  .carousel-container {
    position: absolute; /* Position the carousel absolutely */
    top: 0; /* Align it to the top */
    left: 0; /* Align it to the left */
    width: 100%; /* Full width */
    height: 88vh; /* Full height */
    z-index: 1; /* Lower z-index to be behind the navbar */
    overflow: hidden;
  }
  
  
  .carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
  }
  
  .carousel-slide {
    min-width: 100%; /* Each slide takes full width */
    max-height: fit-content;
    transition: opacity 0.7s ease-in-out;
  }
  
  .carousel-slide img {
    width: 100vw;
    height: 100%; /* Maintain aspect ratio */
    object-fit: cover;
  }  
  

  .white-strip {
    height: 4rem;
    top: 65%;
  }

  .white-strip-content {
    font-size: 11px;
    flex-direction: column;
    text-align: center;
  }
  .white-strip-content .text {
    margin: 0 10px;
    font-size: 11px;
    font-weight: 400;
    white-space: nowrap; /* Prevent text wrapping */
    overflow: hidden;
    text-overflow: ellipsis; /* Add ellipsis if text is too long */
  }

  .rectangle {
    width: 100%;
  }
  #r-1 {
    width: 100%; /* Make sure it spans the full width */
    max-width: 100%; /* Prevent overflow */
    box-sizing: border-box;
    height: 5.6rem;
    /* Include padding in width calculation */
  }
  #r-1 text{
    font-size: 11px;
  }
  
  
  .r-1-content {
    flex-direction: column; /* Stack items vertically */
    align-items: flex-start; /* Align content to the left */
    gap: 2px; /* Add spacing between sections */
    
  }

  .left-section,
  .center-section,
  .right-section {
    justify-content: flex-start;
    width: 100%; /* Ensure sections span full width */
    }

    .left-section .text,
    .center-section .text,
    .right-section .text{
      font-size: small; /* Ensure sections span full width */
      }
  

  .bullet {
    display: none;
    margin-right: 5px; /* Optional: Adjust bullet spacing */
  }
  
  .section-title {
    font-size: 30px;
    line-height: 45px;
  }

  .image-grid .row,
  .image-grid2 .row,
  .text-grid .row {
    flex-wrap: wrap;
  }

  #upper2-text {
    font-size: 2.75rem;
    padding-left: 10px;
  }
  .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: 350px;
        margin-right: 100px;
        scroll-snap-type: x mandatory;
        width: 20rem;
        justify-content: center;
    }
    .image-grid .phone .row img{
      width:15rem;
    }

  .image-grid .col-md-2,
  .image-grid2 .col-md-2,
  .text-grid .col-md-2 {
    width: 100%;
    margin: 10px 0;
  }
.text-grid .col-md-2 {
  display: flex;
  flex-wrap: wrap;
  width: 60vw;
  justify-content:center ;
}
.col-md-2 h4,
.col-md-2 h6 {
  font-size: 1rem;
  margin-bottom: 0px;
}
.text-grid .col-md-2 p{
  font-size: 1rem;
}
.text-grid .col-md-2:nth-child(2) {
  background-color: white; /* White background for middle card */
  color: #026BA2;
  width: 60vw;
  max-height: fit-content;
}
  .polaroid-image {
    width: 250px;
    height: auto;
  }

  #pol-text {
    margin: 0 20px;
    font-size: 18px;
  }

  .footer-columns {
    flex-direction: column;
    align-items: center;
  }

  .column {
    margin: 10px 0;
    width: 100%;
  }

  .separator {
    display: none;
  }
}


/* Medium devices (tablets, 768px and up) */
@media screen and (min-width: 768px) and (max-width: 1530px) {
  body {
    font-size: 1.5rem;
  }

  .header {
    padding: 15px 30px;
  }

  .background-container {
    position: relative;
    width: 100%; /* Changed from 100vw */
    height: 88vh;
    overflow: hidden;
    margin-bottom: 0;
  }
  .carousel-container {
    position: absolute; /* Position the carousel absolutely */
    top: 0; /* Align it to the top */
    left: 0; /* Align it to the left */
    width: 100%; /* Full width */
    height: 88vh; /* Full height */
    z-index: 1; /* Lower z-index to be behind the navbar */
    overflow: hidden;
  }
  
  
  
  .carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
  }
  
  .carousel-slide {
    min-width: 100%; /* Each slide takes full width */
    max-height: fit-content;
    transition: opacity 0.7s ease-in-out;
  }
  
  .carousel-slide img {
    width: 100%;
    height: 100%; /* Maintain aspect ratio */
  }  
  .white-strip {
    height: 4rem;
    top: 64%;
  }

  .image-grid .row,
  .image-grid2 .row {
    flex-wrap: wrap;
  }

  .image-grid .col-md-2,
  .image-grid2 .col-md-2 {
    width: 40%;
    margin: 10px;
  }

  .text-grid .row {
    flex-wrap: wrap;
  }

  .text-grid .col-md-2 {
    /* width: 45%; */
    margin: 10px;
  }
  .text-grid .col-md-2 p{
    font-size: 0.9rem;
  }
  .text-grid .col-md-2 h4{
    font-size: 1.3rem;
  }
  
  .footer-columns {
    flex-direction: column;
    align-items: center;
  }
.separator{
  display: none;
}

  .column {
    flex-basis: 50%;
    margin: 10px 0;
  }
}






