/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: "Helvetica", sans-serif;
}

.container {
  display: flex;
  width: 100vw;
  height: 100vh;
  position: relative;
}

/* Left Side: Text Content */
.left-side {
  width: 50%; /* Left half of the page */
  display: flex;
  flex-direction: column;
  /*fo justify-content: center; */
  justify-content: flex-start; /* Align content to the top */
  padding-left: 5%; /* Responsive padding */
  padding-right: 10%; /* Add space to the right of text for the toggle */
}

.intengo {
  font-family: "Helvetica", sans-serif;
  font-weight: bold;
  font-size: 6rem; /* Scaled down from 144px */
  color: #000000;
  margin-bottom: 0rem; /* Space between INTENGO and Africa */
  text-align: right; /* Right-align INTENGO */
  margin-top: 156px; /* Exact position from Page 1 */  
}

.africa {
  font-family: "Helvetica", sans-serif;
  font-weight: 400;
  font-size: 6rem; /* Scaled down from 144px */
  color: #000000;
  margin-bottom: 3rem; /* Space between Africa and paragraph */
  text-align: right; /* Right-align Africa */
  /*fo margin-top: 0; /* Reset margin-top to align with Page 1 */
}

.reaching-the-heart {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-size: 1.5rem; /* Scaled down from 45px */
  color: #232323;
  line-height: 1.5;
  text-align: right; /* Right-align paragraph */
  margin-top: 3rem; /* Increased space between Africa and paragraph */
}

/* Right Side: Image */
.right-side {
  width: 50%; /* Right half of the page */
  display: flex;
  justify-content: center; /* Center the image horizontally */
  align-items: center; /* Center the image vertically */
  overflow: hidden; /* Prevent overflow */
}

.africa-outline {
  width: 80%; /* Reduce image size to 80% of the right half */
  height: auto; /* Maintain aspect ratio */
  max-width: 100%; /* Ensure it doesn't overflow */
}

/* Toggle Switch */
.toggle-switch {
  position: absolute;
  top: 50%; /* Centered vertically */
  left: 50%; /* Centered horizontally */
  transform: translate(-50%, -50%);
  width: 34px; /* Smaller toggle height */
  height: 60px; /* Smaller toggle width */
  cursor: pointer;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* Slider Background */
.slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc; /* Default off state */
  border-radius: 34px; /* Rounded corners */
  transition: background-color 0.3s ease;
}

/* Slider Circle */
.slider:before {
  position: absolute;
  content: "";
  height: 26px; /* Smaller circle */
  width: 26px; /* Smaller circle */
  left: 4px; /* Position from left */
  bottom: 4px; /* Position from bottom */
  background-color: white; /* Circle color */
  border-radius: 50%; /* Perfect circle */
  transition: transform 0.3s ease;
}

/* Toggle On State */
.toggle-switch input:checked + .slider {
  background-color: #033076; /* Blue background when on */
}

/* Move the circle to the top when toggled */
.toggle-switch input:checked + .slider:before {
  transform: translateY(-26px); /* Move circle to the top */
}