/* RESET & BASE STYLES */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", "Segoe UI", sans-serif;
  background: #fafafa;
  color: #333;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #7413dc;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

/* HEADER */
.header {
  background: #7413dc;
  color: #fff;
  padding: 1rem 0;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem; /* space between logo and join button */
}

.logo-title {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.logo {
  height: 100px;       /* bigger logo */
  max-height: 150px;  /* prevents it from growing too large on big screens */
  width: auto;        /* keeps aspect ratio */
}

.header h1 {
  font-size: 1.3rem;
  font-weight: 700;
}

.join-btn {
  background: #fff;
  color: #7413dc;
  padding: 0.6rem 1.2rem;
  border-radius: 2rem;
  font-weight: 600;
  transition: 0.3s;
}

.join-btn:hover {
  background: #e5d4f9;
}

/* HERO */
.hero {
  background: #efe6fa;
  display: flex;
  flex-direction: column;
  justify-content: center; /* vertical centering */
  align-items: center;     /* horizontal centering */
  text-align: center;
  padding: 3rem 1rem;
  min-height: 500px;       /* optional, makes hero taller */
}

.hero h2,
.hero p {
  margin-bottom: 1rem;
}

.hero-img {
  max-height: 450px;
  width: auto;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  margin-top: 1.5rem;
  display: block;
}

/* JOIN SECTION */
.join-section {
  background: #fff;
  text-align: center;
  padding: 3rem 0;
}

.join-section h3 {
  color: #7413dc;
  font-size: 2rem;
  margin-bottom: 2rem;
}

.join-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.join-card {
  background: #f7f4fc;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
}

.join-card:hover {
  transform: translateY(-5px);
}

/* SECTION LOGO STYLING */
.join-card img,
.section-logo {
  max-height: 80px;
  width: auto;
  object-fit: contain;
  margin: 0 auto 0.8rem;
  background: #fff;
  border-radius: 0.75rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  padding: 0.5rem;
}

.join-card h4 {
  color: #7413dc;
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.join-card p {
  font-size: 0.95rem;
}

/* MEETING TIMES */
.meetings {
  background: #fff;
  padding: 3rem 0;
  text-align: center;
}

.meetings h3 {
  color: #7413dc;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.term-note {
  font-style: italic;
  color: #555;
  margin-bottom: 2rem;
}

.meeting-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.meeting-card {
  background: #f8f8ff;
  border-radius: 1rem;
  padding: 1.5rem;
  transition: transform 0.3s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.meeting-card:hover {
  transform: translateY(-5px);
}

.meeting-card h4 {
  color: #7413dc;
  font-size: 1.3rem;
  margin-bottom: 0.3rem;
}

.meeting-card p {
  font-size: 1rem;
}

/* CONTACT */
.contact {
  background: #efe6fa;
  text-align: center;
  padding: 3rem 0;
}

.contact h3 {
  color: #7413dc;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.contact p {
  margin: 0.4rem 0;
  font-size: 1rem;
}

.map-container {
  width: 100%;
  height: 300px;
  margin-top: 1.5rem;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 1rem;
}

/* FOOTER */
.footer {
  background: #7413dc;
  color: #fff;
  text-align: center;
  padding: 1.5rem 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer a {
  color: #fff;
  font-weight: 600;
}

.footer-links {
  margin: 0.5rem 0;
}

.footer-links a {
  font-weight: 400;
}

/* RESPONSIVE */
@media (max-width: 600px) {
  .hero h2 {
    font-size: 2rem;
  }

  .header h1 {
    font-size: 1.1rem;
  }

  .logo {
    height: 60px; /* smaller on mobile */
  }

  .join-btn {
    margin-top: 0.6rem;
  }
}
