/* =========================================================
   VARIABLES
   ========================================================= */

:root {
  --purple: rgb(73, 4, 153);
  --purple-text: rgb(166, 107, 224);
  --white: #ffffff;
  --off-white: rgba(225, 225, 225, 1);
  --bg-color: rgba(0, 0, 0, 0.78);
  --text-color: rgba(25, 25, 25, 1);
  --gap: 2rem;
  --max-width: 1200px;
}

/* =========================================================
   RESET / BASE
   ========================================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family:
    "Nunito Sans",
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    sans-serif;
  font-size: 16px;
  color: var(--text-color);
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--off-white);
}

/* =========================================================
   TYPOGRAPHY
   ========================================================= */

h1,
h2,
h3 {
  margin: 0;
  font-weight: 500;
  color: var(--purple-text);
}

h2 {
  font-size: 2.8rem;
}

p {
  margin: 0 0 1em;
  font-size: 1.2rem;
}
p.leader {
  font-size: 1.75rem;
}
p strong {
  color: var(--purple);
}
/* =========================================================
   Site Wrapper
   ========================================================= */

.wrapper {
  width: 100%;
  max-width: none;
  min-height: 0;
  margin: 0;
  padding: 0;
  display: block;
}

/* =========================================================
   GENERIC FULL-WIDTH SECTIONS
   Outer section controls the full-width background.
   Inner section controls the content/background area.
   ========================================================= */

.sections,
.content-section {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.inner {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 5rem 2rem;
}

.sections {
  background: var(--purple);
  color: var(--white);
}

.sections-inner {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 5rem 2rem;
}

#about .inner {
}
#join-us .inner {
}
#our-sections .inner {
  background-color: var(--purple);
  border-radius: 20px;
  padding: 2rem;
  color: var(--off-white);
}

/* =========================================================
   CONTENT SECTION
   Text left / image right
   ========================================================= */

.content-section-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.content-section-text {
  flex: 1;
  text-align: left;
}

.content-section-text p {
  font-size: 1.15rem;
}

.content-section-image {
  flex: 0 0 45%;
  max-width: 550px;
}

.content-section-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/*about*/
.about-image {
  float: right;
  width: 30%;
  height: auto;
  margin: 0 0 1.5rem 2rem;
  transform: rotate(4deg);
}
/* =========================================================
   SECTION CARDS
   ========================================================= */

.section-grid {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: var(--gap);
}

.section-grid .section {
  flex: 1 1 0;
  min-width: 0;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  padding: 1.6rem;

  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);

  text-align: center;
}

.section img {
  width: 100%;
  height: auto;
  margin: 0 auto 0.75rem;
}

.section h3 {
  margin: 0.25rem 0 0.6rem;
  color: var(--purple);
  font-size: 1.25rem;
  font-weight: 600;
}

.section p {
  flex: 1 1 auto;
  margin: 0;
  padding: 0.25rem 0 0.5rem;
  color: #333;
  font-size: 1rem;
}

.section .meeting-time {
  color: var(--purple-text);
}

.section .button {
  padding: 0.6rem 1rem;
  background: var(--purple);
  color: var(--white);
}

.section .button:hover {
  background: var(--purple-text);
  color: var(--white);
}

/* =========================================================
   BUTTONS
   ========================================================= */

.button {
  display: inline-block;
  padding: 0.8rem 1.4rem;

  background: var(--white);
  color: var(--purple);

  border: 0;
  border-radius: 8px;

  text-decoration: none;
  font-weight: 700;

  transition:
    background 0.2s ease,
    color 0.2s ease;

  cursor: pointer;
}

.button:hover {
  background: var(--purple-text);
  color: var(--white);
}

/* =========================================================
   FOOTER
   ========================================================= */

.footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  background-color: var(--purple);

  padding: 1rem 2rem 0;

  border-top: 1px solid var(--white);

  color: var(--white);
  text-align: left;
}

.footer .inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}
.footer .footer-content-block {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer img {
  display: block;
  width: 28px;
  height: auto;
}

.footer p {
  margin: 0;
  font-size: 0.95rem;
  text-align: right;
  color: var(--off-white);
}

@media (max-width: 700px) {
  .footer .inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer .social {
    justify-content: center;
  }

  .footer p {
    text-align: center;
  }
}

/* =========================================================
   RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 1000px) {
  .section-grid {
    flex-wrap: wrap;
  }

  .section-grid .section {
    flex: 1 1 calc(50% - var(--gap));
  }
}

/* =========================================================
   RESPONSIVE — CONTENT
   ========================================================= */

@media (max-width: 900px) {
  .content-section-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 2rem;
  }

  .content-section-text {
    text-align: left;
  }

  .content-section-image {
    flex: 0 0 auto;
    width: 100%;
    max-width: none;
  }
}

/* =========================================================
   RESPONSIVE — MOBILE
   ========================================================= */

@media (max-width: 700px) {
  .about-inner,
  .sections-inner {
    padding: 4rem 1.25rem;
  }

  .content-section {
    padding: 4rem 0;
  }

  .content-section-inner {
    padding: 0 1.25rem;
  }

  .section-grid .section {
    flex: 1 1 100%;
  }

  .section img {
    width: 72px;
  }

  .section p {
    font-size: 0.97rem;
  }

  .footer {
    font-size: 0.9rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}

/* =========================================================
   LARGE DESKTOP
   ========================================================= */

@media (min-width: 1200px) {
  .section-grid .section {
    max-width: calc((var(--max-width) - (var(--gap) * 3)) / 4);
  }
}
