* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-size: 22px;
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    background-color: #FFFDFA;
    color: #333;
    margin: auto;
}

@media screen and (max-width: 600px) {
  .nav { width: 100%; }
  header { width: 100%}

    body {
      font-size: 14px; /* Reduce font size for smaller screens */
    }
}

header {
    text-align: center;
    padding: 20px;
    background-color: #FFFDFA;
    display: flex;
    justify-content: center;
    width: 100;
}

.banner {
  height: 100%;
  width: 100%;
  justify-content: center;
}

.tiles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 10px;
    width: 1550px;
    height: 1010px;
    margin: auto;
}

.tiles1 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 5px;
  width: 1550px;
  height: 1000px;
  margin: auto;
}

.tile {
  background-color: #8766FC;
  display: flex; /* Use flexbox to align elements vertically and horizontally */
  flex-direction: column; /* Stack the child elements vertically */
  align-items: center; /* Center the child elements horizontally */
  padding: 20px; /* Add some padding around the content */
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s;
  margin-top: 20px; /* Add margin to create spacing above the tile */
}

.tile img {
  border-radius: 2px;
  max-width: 100%; /* Ensure the image doesn't overflow the tile */
  height: 300px; /* Allow the image to scale based on its original aspect ratio */
  object-fit: contain; /* This will maintain the aspect ratio and ensure the entire image is visible */
}

.tile:hover {
    transform: translateY(-5px);
}

.tile h2 {
    font-size: 1.5em;
    margin-bottom: 0px;
    color: white;
}

.tile p {
    font-size: 1rem;
    color: rgb(255, 255, 255);
}

.tile-link {
    font-size: 1rem;
    text-decoration: none;
    color: white;
    border: 2px solid #c6b9f5;
    padding: 10px 15px;
    border-radius: 2px;
    transition: background-color #8766FC;
    margin-top: 10px;
}

.tile-link:hover {
    background-color: #f0641f;
    color: white;
}

footer {
    text-align: center;
    padding: 10px;
    background-color: #f0641f;
    color: white;
    justify-content: center;
}

.footer-links {
  list-style-type: none; /* Removes bullet points */
  padding: 0px; /* Removes default padding */
  margin: 0px; /* Removes default margin */
  align-content: center;
  display: flex;
  justify-content: center;
}

.footer-links a {
  text-decoration: none;
  color: white;
  display: flex;
}
/* Remove default list styles */
.nav {
    list-style-type: none; /* Removes bullet points */
    padding: 0px; /* Removes default padding */
    margin: auto; /* Removes default margin */
    justify-content: center;
    display: flex;
    text-align: center;
    background-color: #FFFDFA;
    width: 100%;
  }
  
  .nav li {
    margin: 20px; /* Space between items */
  }
  
  /* Remove the margin on the last item */
  .nav li:last-child {
    margin: 20px;
  }
  
  .nav a {
    text-decoration: none; /* Removes underline from links */
    color: #8766FC;; /* Default text color */
    padding: 10px;
    display: block; /* Ensures the anchor takes up full height of li */
  }
  
  /* Optional: Add a hover effect */
  .nav a:hover {
    color: white;
    background-color: #8766FC;
    border-radius: 4px;
  }
  

  h1 {
    font-size: 3.0rem;
    text-align: center;
    margin-top: 20px;
    color: #8766FC
  }

  .centered {
    display: flex;
    justify-content: center;
  }
  
   .centered p {
    font-size: 22px;
    display: flex;
    color: black;
    text-align: center;
    justify-content: space-evenly;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    margin-top: 40px;
    margin-left: 500px;
    margin-right: 500px;
  }

  .container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0px;
    margin-bottom: 5px;
    background-color:#FFFDFA;
  }
  
  .container > div:first-child { 
    margin-right: 10px;
    padding: 15px;
    align-items: left;
    justify-content: center;
  }

  .center {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

  .centered1 {
    display: flex;
    justify-content: center;
    margin-top: 45px;
    margin-right: 10px
  }

  .container1 {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background-color:#FFFDFA;
  }

  .cta-button {
    display: flex;
    padding: 1rem 2rem;
    background-color: #FFFDFA;
    color: #8766FC;; /* Default text color */
    text-decoration: none;
    border-radius: 2px;
    border-color: #8766FC;
    justify-content: center;
    list-style-type: none; /* Removes bullet points */
    padding: 10px; /* Removes default padding */
    text-align: center;
    font-size: 30px;
    border: 2px solid #8766FC;
}

  .cta-button:hover {
    color: white;
    background-color: #8766FC;
    border-radius: 8px;
}

  .form-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    zoom: 150%;
}

  .google-form {
    width: 50%; /* Adjust as needed */
    height: 1630px; /* Adjust height if needed */
    border: none;
}

  .text-container {
    max-width: auto; /* Center the box */
    margin-left: auto;
    margin: auto;
    overflow: hidden; /* Prevent text from overflowing */
    color: blue;
}

  .text-container p {
    font-family: 'Arial', sans-serif;
    font-size: 20px;
    font-weight: bold;
    text-align: justify;
    justify-content: space-around;
    color: #4CAF50; /* Green colour */
}