/* Global Styles */
body {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
  color: #333;
  transition: background-color 0.3s ease;
  max-width: 1440px;
  margin: 0 auto;
  padding: 20px;
  font-weight: 400; /* Ensure normal text is not bold */
  font-size: 1em; /* Ensure normal text size */
  line-height: 1.6; /* Ensure normal line height */
}

main {
  margin-top: 80px;
}

/* Container Styles */
.container {
  width: 90%;
  max-width: 1300px;
  margin: 0 auto;
  padding-top: 10px;
}

/* Header Styles */
header {
  background: white;
  color: #333;
  text-align: center;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  animation: fadeIn 1s ease-in-out;
  border-radius: 10px;
}

header h1 {
  margin: 0;
  font-size: 3em;
  font-weight: 600;
  animation: bounceIn 1s ease-in-out;
}

header p {
  margin: 10px 0 0;
  font-size: 1em;
  font-style: italic;
  animation: bounceIn 1s ease-in-out;
}

/* Section Styles */
section {
  margin: 40px auto;
  padding: 40px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  animation: fadeIn 1s ease-in-out;
}

h2 {
  color: #0288d1;
  font-weight: 600;
  margin-bottom: 20px;
  text-align: left;
}

h1,
h2,
h3 {
  color: #0288d1;
  text-align: left;
}

h1 {
  text-align: center;
  font-size: 2.5em; /* Default font size */
}

h3 {
  text-align: left;
}

p {
  line-height: 1.8;
  font-size: 1em;
  margin-bottom: 20px;
  text-align: left;
  color: #333;
}

ul {
  list-style-type: none;
  padding: 0;
}

ul li {
  padding: 3px 0;
  font-size: 1.1em;
  margin-bottom: 0px;
}

.events ul li,
.membership-types ul li {
  border-bottom: 1px solid #ddd;
}

.events ul li:last-child,
.membership-types ul li:last-child {
  border-bottom: none;
}

/* Button Styles */
a {
  text-decoration: none;
  color: white;
  font-weight: 600;
}

a.button {
  padding: 12px 24px;
  border-radius: 50px;
  background-color: #0066cc;
  transition: background-color 0.3s ease, transform 0.3s ease;
  position: relative;
  overflow: hidden;
  animation: bounceIn 1s ease-in-out;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

a.button:hover {
  background-color: #0052a3;
  transform: translateY(-2px);
}

a.button:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

a.button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300%;
  height: 300%;
  background: rgba(255, 255, 255, 0.15);
  transition: all 0.3s;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
}

a.button:hover::before {
  transform: translate(-50%, -50%) scale(1);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    transform: translateY(-20px);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes bounceIn {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  60% {
    transform: scale(1.2);
    opacity: 1;
  }
  100% {
    transform: scale(1);
  }
}

/* Responsive Style */
@media (max-width: 768px) {
  h1 {
    font-size: 1.2em; /* Reduce font size for mobile devices */
  }
  h2 {
    font-size: 1em; /* Adjust font size for better readability */
  }
  h3 {
    font-size: 0.9em; /* Make smaller for compact design */
  }
  p,
  ul li {
    font-size: 0.9em; /* Reduce paragraph and list font size */
  }
  .container {
    width: 95%; /* Slightly increase width for better spacing */
    padding: 5px; /* Further reduce padding for compact view */
  }

  body {
    margin: 2px; /* Further reduce margin for compact spacing */
    padding: 2px; /* Further reduce padding for compact view */
    background-color: #ffffff; /* Use a clean white background */
  }

  header h1 {
    font-size: 1.5em; /* Reduce header font size */
    margin-bottom: 5px; /* Reduce spacing below header */
  }

  header p {
    font-size: 0.9em; /* Adjust font size for better readability */
    margin-bottom: 10px; /* Reduce spacing below paragraph */
  }

  section {
    padding: 10px; /* Reduce padding for compact design */
    margin: 5px auto; /* Reduce margins for better alignment */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for professional look */
  }

  .scroll-to-top {
    bottom: 10px; /* Adjust position for smaller screens */
    right: 10px;
    padding: 6px 10px; /* Reduce size for mobile */
  }
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #0288d1;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-to-top:hover {
  background-color: #0288d1;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

th,
td {
  border: 1px solid #ddd;
  padding: 8px;
}

tr:nth-child(even) {
  background-color: #e0f7fa;
}

tr:nth-child(odd) {
  background-color: #ffffff;
}

th {
  background-color: #0288d1;
  color: white;
}

address {
  display: flex;
  align-items: center;
  margin-left: 20px;
  font-style: normal;
  line-height: 1.6;
  color: #555;
  border-left: 3px solid #0288d1;
  padding-left: 10px;
}

.address-details {
  margin-left: 10px;
}

.left-align {
  text-align: left;
}
