/* Reset basic styling */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  font-family: Arial, sans-serif;
}

/* Apply the full-screen background image */
body {
  background: url('../grouprun.jpg') no-repeat center center fixed;
  background-size: cover;
}

/* Ensure the topnav matches the contact page */
.topnav {
  display: flex;
  justify-content: center;
  background-color: transparent; /* No background */
  padding: 10px;
}

.topnav a {
  color: rgb(173, 164, 206);
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 24px;
  border-radius: 10px;
  font-family: 'Courier New', Courier, monospace;
}

/* Add the highlighted background and color for the current active page */
.topnav a.active {
  background-color: rgb(152, 153, 207);
  color: rgb(237, 230, 241);
  padding: 10px;
  border-radius: 10px;
  /* Border and shadow */
  border: 3px solid rgba(132, 123, 145, 0.6); /* Lighter border */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); /* X-offset, Y-offset, blur-radius, color */
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  
}

.topnav a:hover {
  color: rgb(70, 54, 80);
  background-color: #cfb8f1;
  border: 3px solid rgba(217, 206, 232, 0.6); /* Lighter border */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); 
}

/* Services page container - starts right below the navigation */
.services-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: rgba(255, 255, 255, 0.8); /* Transparent white background */
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Subtle shadow for contrast */
}

/* Ensure the services container starts directly below the nav */
header {
  height: auto;
}


/* Service section content styling */
.services-container h1 {
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  font-size: 42px;
  margin-bottom: 30px;
  color: rgb(125, 116, 170); /* Light blue */
}
  /* Service section content styling */
.services-container h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #9067b4;
text-align: center;}

.service-box {
  background-color: #fff;
  margin: 20px auto;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  max-width: 800px;
  text-align: center;
}

.service-box h2 {
  font-size: 28px;
  margin-bottom: 30px;
  color: #cfb8f1;}

.service-box p {
  font-size: 18px;
  color: #666;
  line-height: 1.6;
}
/* Button styles */
.button-container {
  display: flex;
  gap: 20px;
  margin-top: 20px;
  justify-content: center; /* Center the button */
  width: 100%; /* Ensure the container takes full width */

}

.button-link {
  padding: 12px 20px;
  background-color: rgb(125, 116, 170); /* Light blue */
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  transition: background-color 0.3s ease;
}


/* Footer styles */
footer {
  margin-top: 50px;
  padding: 20px;
  background-color: #000;
  color: #fff;
  text-align: center;
}

footer .social-media a {
  color: #cfb8f1;
  margin: 0 15px;
  font-size: 24px;
  text-decoration: none;
}

footer .social-media a:hover {
  color: rgb(173, 164, 206); /* Light blue hover effect on social icons */
}

/* Media Queries for responsiveness */
@media (max-width: 768px) {
  .topnav {
    flex-direction: column; /* Stack the navigation links vertically */
}

.topnav a {
    font-size: 20px; /* Smaller font size for mobile */
    padding: 5px 0; /* Adjust padding for mobile */
}
  .services-container {
      width: 90%;
      padding: 20px;
  }

  .services-container h1 {
      font-size: 28px;
  }

  .service-box {
      padding: 15px;
  }

  .service-box h2 {
      font-size: 22px;
  }

  .service-box p {
      font-size: 16px;
  }
    /* Adjust the background image position for mobile */
    body {
      background-position: center 50%; /* Move the background image lower */
    }
}