.landing {
  margin-top: 80px;
  width: 100%;
  height: 600px;
  color: #fff;
  background: url("../images/landing.png") center/cover no-repeat;

  /* Layout alignment */
  display: flex;
  align-items: center; /* Vertically centers the box */
  justify-content: flex-start; /* Keeps it on the left */
}

.landing-content {
  position: relative;
  z-index: 2;
  width: 50%; /* Sets the box to exactly half the screen width */
  height: 100%; /* Makes the blur go from top to bottom */

  /* Creating the blurred sidebar effect */
  background: rgba(0, 103, 159, 0.7); /* Darker tint for better text contrast */
  backdrop-filter: blur(20px);

  /* Internal spacing */
  display: flex;
  flex-direction: column;
  justify-content: center; /* Centers text vertically within the 50% zone */
  padding: 0 5%; /* Gives the text some breathing room from the edges */
  box-sizing: border-box;
}

.landing-content img {
  margin-left: auto;
  width: 70%;
}

.hero-section {
  background-color: #002940; /* Dark navy background */
  color: #ffffff;
  text-align: center;
  padding: 80px 20px;
}

/* Main Heading */
.hero-section h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  color: #fff;
}

.hero-section .text {
  margin-top: 40px;
  margin-bottom: 40px;
}

/* Subtext Paragraphs */
.hero-section {
  color: #00a5ff; /* Bright blue text color */
  font-size: 15px;
  margin: 0;
  font-weight: 600;
}

.main-wrapper {
  display: flex;
  flex-direction: column;
}

.info-block {
  display: flex;
  min-height: 400px; /* Adjust based on your preference */
  width: 100%;
}

/* Reverse every second section to create the checkerboard */
.info-block:nth-child(even) {
  flex-direction: row-reverse;
  text-align: right;
}

.info-block:nth-child(even) .text-box {
  align-items: flex-end; /* Aligns the heading and number to the right */
  text-align: right; /* Aligns text lines to the right */
}

/* Push the paragraph to the right side of the container */
.info-block:nth-child(even) .text-box p {
  margin-left: auto;
  margin-right: 0;
}

.info-block:nth-child(even) .text-box img {
  margin-left: auto;
  margin-right: 0;
}

.image-box {
  flex: 0 0 50%;
  background-size: cover;
  background-position: center;
  min-height: 300px;
}

.text-box {
  flex: 0 0 50%;
  background-color: #002940; /* Dark Navy Blue */
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  box-sizing: border-box;
}

/* Section Number Styling */
.number {
  font-size: 14px;
  color: #00a5ff;
  font-weight: 400;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

.text-box img {
  margin-top: 20px;
  max-height: 110px;
  width: 500px;
  max-width: 100%;
  margin-right: auto;
  margin-bottom: 20px;
}

/* Paragraph styling */
.text-box p,
.text-box ol,
.text-box ul {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  color: #fff;
  max-width: 600px;
  margin-top: 10px;
}

/* Responsive for Mobile */
@media (max-width: 768px) {
  .info-block,
  .info-block:nth-child(even) {
    flex-direction: column;
  }
  .text-box {
    padding: 40px 20px;
  }
}

@media (max-width: 768px) {
  .hero-section h2 {
    font-size: 1.3rem;
  }

  .landing {
    justify-content: center; /* Center the content on mobile */
    margin: 0;
  }

  .landing h1 {
    font-size: 1.8rem;
  }

  .landing-content {
    width: 100%; /* Take full width */
    height: 100%; /* Let content dictate height */
    padding: 40px 20px;

    /* Optional: If you want the blur to cover the whole screen on mobile */
    /* height: 100%; */

    /* Optional: Center text on mobile for better balance */
    text-align: center;
    align-items: center;
  }

  .landing-content img {
    max-width: 100%;
  }

  .landing-content p {
    font-size: 1rem;
  }

  .text-box {
    align-items: center;
  }

  .text-box img {
    margin-left: auto;
    margin-right: auto;
  }

  .info-block:nth-child(even) .text-box {
    align-items: center; /* Aligns the heading and number to the right */
    text-align: left; /* Aligns text lines to the right */
  }

  /* Push the paragraph to the right side of the container */
  .info-block:nth-child(even) .text-box p {
    margin-right: auto;
  }

  .info-block:nth-child(even) .text-box img {
    margin-right: auto;
  }
}
