/* Global Styles Reset */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* General Center Alignment */
main {
  display: flex;
  padding: 2rem 1.5rem;
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  gap: 2rem; /* Space between sidebar and content */
}

/* Sidebar Styles */
.sidebar {
  position: sticky;
  top: 0;
  left: 0;
  width: 300px; /* Fixed sidebar width */
  height: 100%;
  background-color: #f7e9ff;
  border-radius: 0 16px 16px 0; /* Rounded corners on the right side */
  padding: 2rem;
  box-shadow: 4px 0 10px rgba(90, 42, 131, 0.2);
  text-align: center;
  z-index: 10;
  transition: transform 0.3s ease;
}

.sidebar h2 {
  margin-top: 0rem;
  border-bottom: 0;
}

.sidebar p {
  margin-bottom: 2rem;
}

/* Sidebar Call to Action */
.sidebar .cta-text {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--rich-plum);
}

.sidebar .cta-button {
  padding: 1rem 2rem;
  font-size: 1.2rem;
  background-color: var(--deep-purple);
  color: white;
  border: none;
  border-radius: 8px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.3s ease;
  height: fit-content;
  display: inline-block;
}

.sidebar .cta-button:hover,
.sidebar .cta-button:focus {
  background-color: #502a72;
}

/* Main Content */
.main-content {
  flex-grow: 1; /* Main content takes the remaining space */
  max-width: 800px; /* Max width for the main content */
  padding: 0 1rem; /* Added padding for better layout */
  text-align: center;
  line-height: 1.8; /* Improved readability */
}

/* Facilitator Section */
.facilitator-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 1.5rem;
  background-color: #f7e9ff;
  border-radius: 16px;
  box-shadow: 0 4px 8px rgba(90, 42, 131, 0.15);
  margin: 2rem 0;
  max-width: 100%;
}

.facilitator-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.facilitator-text p {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.75rem 0;
  color: var(--rich-plum);
}

.facilitator-text a {
  font-size: 1.2rem;
  text-decoration: underline;
  color: var(--deep-purple);
  transition: color 0.3s ease;
}

.facilitator-text a:hover,
.facilitator-text a:focus {
  color: #502a72;
  cursor: pointer;
  text-decoration: none;
}

.facilitator-section img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(90, 42, 131, 0.25);
  flex-shrink: 0;
}

/* Workshop Logistics */
.workshop-logistics {
  background-color: #f9f4ff;
  border-radius: 16px;
  padding: 2rem 2.5rem;
  box-shadow: 0 4px 12px rgba(90, 42, 131, 0.1);
}

.workshop-logistics p {
  margin: 0.75rem 0;
  font-size: 1.1rem;
  line-height: 1.6;
}

.workshop-logistics strong {
  font-weight: 700;
  color: var(--rich-plum);
}

/* Responsive Adjustments for Smaller Screens */
@media (max-width: 768px) {
  main {
    flex-direction: column;
    gap: 1.5rem; /* Reduced gap for smaller screens */
  }

  .sidebar {
    align-self: center;
    padding: 1rem;
    position: relative;
  }

  .main-content {
    width: 100%; /* Full-width content */
  }
}

@media (max-width: 480px) {
  .sidebar {
    align-self: center;
    padding: 1rem;
    position: relative;
  }

  .main-content {
    width: 100%; /* Full-width content on mobile */
  }
}
