/* ====== Reset & Base Styles ====== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
}
body {
  background: #fff;
  color: #333;
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
}

/* ====== Navbar ====== */
.navbar {
  background: #7B1FA2;
  padding: 10px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 75px;
}
.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  height: 80px;
  width: 80px;
  position: relative;
}
.logo img {
  height: 60px;
  width: auto;
  transform: scale(1.3);
  transform-origin: center;
  transition: transform 0.3s;
  position: relative;
}
.nav-links {
  text-align: center;
}
.nav-links a {
  color: #fff;
  margin-left: 20px;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}
.nav-links a:hover {
  color: #FFD700;
}

/* ====== Home, Welcome, Verse ====== */
.home h1 {
  text-align: center;
  margin-top: 34px;
  margin-bottom: 8px;
  font-size: 2.4rem;
  font-weight: 700;
  color: #181818;
}
.verse, .verse-ref {
  text-align: center;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 4px;
}
.verse {
  color: #9b7edc;
}
.verse-ref {
  color: #c0a6f5;
}

/* ====== Courses Section ====== */
.courses {
  margin-bottom: 30px;
}
.courses h2 {
  color: #673ab7;
  font-size: 1.17em;
  margin-bottom: 16px;
  margin-top: 0;
  font-weight: bold;
  text-align: center;
}
.course-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  padding: 50px 0;
}
.course-card {
  background: #f4f4f4;
  border: 1.5px solid #e0dbef;
  border-radius: 18px;
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.07);
  width: 320px;
  padding: 28px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 10px;
  min-height: 390px;
}
.course-card img {
  width: 190px;
  height: 140px;
  border-radius: 10px;
  object-fit: cover;
  margin-bottom: 18px;
  background: #fff;
  border: 1px solid #dedede;
}
.course-card h3 {
  font-size: 1.23rem;
  font-weight: 700;
  color: #543386;
  margin-bottom: 8px;
}
.course-card p {
  font-size: 1rem;
  color: #565656;
  margin-bottom: 18px;
  min-height: 45px;
}
.course-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  width: 100%;
}
.start-course-btn, .course-card button {
  background: #7B1FA2;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  padding: 11px 24px;
  font-size: 1rem;
  transition: background 0.2s;
  width: 180px;
}
.start-course-btn:hover, .course-card button:hover {
  background: #5e1587;
}
.view-course-link {
  color: #7B1FA2;
  background: none;
  border: none;
  font-weight: 500;
  cursor: pointer;
  font-size: 1rem;
  text-decoration: underline;
  display: block;
  width: 180px;
  text-align: center;
  margin-top: 0;
  padding: 0;
}
.view-course-link:hover {
  color: #543386;
  text-decoration: underline;
}

/* ====== Sign In Section ====== */
section.login {
  margin: 0 auto;
  margin-top: 28px;
  max-width: 350px;
  text-align: center;
}
section.login h2 {
  margin-bottom: 14px;
  color: #673ab7;
  font-size: 1.08em;
  font-weight: bold;
}
section.login form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
section.login label {
  margin-right: 4px;
  font-size: 1em;
}
section.login input[type="text"],
section.login input[type="password"] {
  padding: 6px 10px;
  border-radius: 5px;
  border: 1px solid #bbb;
  font-size: 1em;
  width: 175px;
}
section.login button[type="submit"] {
  margin-top: 8px;
  font-size: 1em;
  background: #673ab7;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 6px 22px;
  cursor: pointer;
}
section.login button[type="submit"]:hover {
  background: #7c5ed6;
}
#loginStatus {
  color: red;
  margin-top: 6px;
}

/* ====== Responsive Design ====== */
@media (max-width: 850px) {
  .course-list {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 30px 0;
  }
  .course-card {
    width: 95%;
    min-width: 230px;
    max-width: 400px;
  }
}
@media (max-width: 650px) {
  .home { padding: 15px 5px; }
  .course-card { width: 98%; }
}

/* ====== Lessons/Lesson Sidebar (for lessons.html) ====== */
#course-layout {
  display: flex;
  min-height: 100vh;
}
#lesson-sidebar {
  width: 250px;
  background: #f0e9ff;
  padding: 30px 10px 30px 20px;
  border-right: 2px solid #e5d1ff;
}
.lesson-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #673ab7;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95em;
  padding: 9px 14px;
  margin-bottom: 20px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e5d1ff;
  box-shadow: 0 1px 3px rgba(103, 58, 183, 0.08);
  transition: background 0.18s, color 0.18s, border-color 0.18s, transform 0.15s;
}
.lesson-back-btn:hover {
  background: #e5d1ff;
  color: #36297c;
  border-color: #c7b5fa;
}
.lesson-back-btn:active {
  transform: translateX(-2px);
}
.lesson-back-icon {
  font-size: 1.15em;
  line-height: 1;
}
#lesson-sidebar h3 {
  margin-top: 0;
  font-size: 1.25em;
  color: #673ab7;
}
#lesson-list {
  list-style: none;
  padding: 0;
}
#lesson-list li {
  padding: 12px 15px;
  border-radius: 6px;
  margin-bottom: 6px;
  cursor: pointer;
  font-size: 1em;
  background: #fff;
  display: flex;
  align-items: center;
  transition: background 0.18s;
}
#lesson-list li.active {
  background: #c7b5fa;
  font-weight: bold;
  color: #36297c;
}
#lesson-list li.completed {
  background: #e0ffe0;
  color: #0b6300;
}
#lesson-list li.locked {
  background: #eee;
  color: #aaa;
  cursor: not-allowed;
  pointer-events: none;
}
#lesson-list li span {
  flex: 1;
}
#lesson-main {
  flex: 1;
  padding: 40px;
}
#progress {
  font-weight: bold;
  margin-bottom: 18px;
}
.lesson-card.completed {
  background: #e0ffe0;
  border: 1.5px solid #a8e0a8;
}

.video-embed {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  margin-bottom: 16px;
  border-radius: 10px;
  overflow: hidden;
  background: #111;
}

.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.lesson-actions {
  margin: 8px 0 4px;
}

.reflection-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

textarea {
  width: 98%;
  min-height: 50px;
  margin-top: 10px;
  margin-bottom: 10px;
  border-radius: 4px;
  border: 1px solid #ccc;
  padding: 7px;
  font-size: 1em;
}
button:disabled {
  background: #bbb;
  color: #444;
  cursor: default;
}

@media (max-width: 768px) {
  #course-layout {
    flex-direction: column;
  }

  #lesson-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 2px solid #e5d1ff;
    padding: 16px;
  }

  #lesson-list {
    max-height: 240px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  #lesson-list li {
    font-size: 0.95em;
    padding: 10px 12px;
  }

  #lesson-main {
    padding: 16px;
  }

  #progress {
    font-size: 0.95em;
    line-height: 1.4;
  }

  #lesson-content h2 {
    font-size: 1.35rem;
    line-height: 1.3;
    margin-bottom: 12px;
  }

  .video-embed {
    padding-top: 0;
    aspect-ratio: 9 / 16;
    max-height: min(78vh, 760px);
    min-height: 440px;
    margin-bottom: 20px;
    border-radius: 12px;
  }

  .lesson-actions {
    margin: 20px 0 8px;
  }

  #lesson-content button,
  #mark-complete-btn,
  #save-reflection-btn {
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    min-height: 50px;
    font-size: 1.05rem;
    padding: 14px 20px;
    border-radius: 10px;
  }

  .reflection-section {
    margin-top: 28px;
    padding-top: 20px;
  }

  .reflection-section textarea#reflection {
    min-height: 120px;
    font-size: 16px;
    padding: 12px;
  }

  .reflection-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-top: 16px;
  }

  #reflection-status {
    display: block;
    margin-left: 0;
    margin-top: 0;
    text-align: center;
  }

  #lesson-list li {
    min-height: 44px;
  }

  .lesson-back-btn {
    width: 100%;
    box-sizing: border-box;
    justify-content: center;
  }
}

/* === Sign In Page Overrides (add at END of styles.css) === */
.form-container {
  max-width: 410px;
  margin: 70px auto 0 auto;
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 18px rgba(123,31,162,0.09);
  padding: 44px 38px 30px 38px;
  text-align: center;
}

.form-container h1 {
  font-size: 2.1rem;
  font-weight: 700;
  color: #2c164e;
  margin-bottom: 35px;
  letter-spacing: -0.7px;
}

#signin-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 22px;
}

#signin-form input[type="email"],
#signin-form input[type="password"] {
  font-size: 1.09em;
  padding: 14px 16px;
  border: 1.5px solid #e1d5ef;
  border-radius: 8px;
  background: #faf8fd;
  outline: none;
  margin-bottom: 0;
  transition: border 0.17s;
  width: 100%;
}

#signin-form input:focus {
  border-color: #7B1FA2;
}

#signin-form button[type="submit"] {
  background: #7B1FA2;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 15px 0;
  font-size: 1.15em;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  margin-top: 7px;
  transition: background 0.19s;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(123,31,162,0.05);
}

#signin-form button[type="submit"]:hover {
  background: #5e1587;
}

.form-container p {
  color: #444;
  font-size: 1em;
  margin-top: 16px;
  margin-bottom: 4px;
}

.form-container a {
  color: #7B1FA2;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.16s;
}
.form-container a:hover {
  text-decoration: underline;
  color: #54226c;
}

.response-message {
  color: #B71C1C;
  font-size: 1em;
  margin-top: 7px;
}

.password-field {
  position: relative;
  width: 100%;
}

.password-field input {
  width: 100%;
  box-sizing: border-box;
  padding-right: 56px;
}

.password-toggle {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: auto;
  margin-top: 0;
  border: none;
  background: transparent;
  color: #7B1FA2;
  cursor: pointer;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 6px;
  line-height: 0;
  box-shadow: none;
  letter-spacing: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.password-toggle svg {
  display: block;
}

.password-toggle:hover {
  background: #f0e9ff;
  color: #5e1587;
}

.password-toggle:focus {
  outline: 2px solid #c7b5fa;
  outline-offset: 1px;
}

/* Responsive for mobile */
@media (max-width: 600px) {
  .form-container {
    max-width: 98vw;
    padding: 22px 3vw;
  }
  .navbar {
    flex-direction: column;
    height: auto;
    padding: 12px 3vw;
  }
}

/* === Make Sign Up Page EXACTLY Like Sign In === */
#signup-form,
#signin-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 22px;
}

#signup-form input,
#signin-form input {
  font-size: 1.09em;
  padding: 14px 16px;
  border: 1.5px solid #e1d5ef;
  border-radius: 8px;
  background: #faf8fd;
  outline: none;
  margin-bottom: 0;
  transition: border 0.17s;
  width: 100%;
}

#signup-form input:focus,
#signin-form input:focus {
  border-color: #7B1FA2;
}

#signup-form button[type="submit"],
#signin-form button[type="submit"] {
  background: #7B1FA2;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 15px 0;
  font-size: 1.15em;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  margin-top: 7px;
  transition: background 0.19s;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(123,31,162,0.05);
}

#signup-form button[type="submit"]:hover,
#signin-form button[type="submit"]:hover {
  background: #5e1587;
}

.form-container h1 {
  font-size: 2.1rem;
  font-weight: 700;
  color: #2c164e;
  margin-bottom: 35px;
  letter-spacing: -0.7px;
}

.form-container p {
  color: #444;
  font-size: 1em;
  margin-top: 16px;
  margin-bottom: 4px;
}

.form-container a {
  color: #7B1FA2;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.16s;
}
.form-container a:hover {
  text-decoration: underline;
  color: #54226c;
}

.response-message {
  color: #B71C1C;
  font-size: 1em;
  margin-top: 7px;
}

.form-container {
  max-width: 410px;
  margin: 70px auto 0 auto;
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 18px rgba(123,31,162,0.09);
  padding: 44px 38px 30px 38px;
  text-align: center;
}

/* ===== HOMEPAGE (index.html) CENTERED LAYOUT ===== */

/* Main section centered vertically and horizontally */
.home {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 70vh;   /* push content toward center */
  width: 100%;
}

/* Welcome header */
.home h1,
h1.welcome-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #7B1FA2;
  text-align: center;
  margin-top: 55px;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

/* Bible verse styling */
.verse {
  color: #8881ad;
  font-size: 1.11rem;
  text-align: center;
  margin-bottom: 4px;
}

.verse-ref {
  color: #b3a1e4;
  font-size: 1.06rem;
  text-align: center;
  margin-bottom: 0;
}

/* Remove excess margins if needed */
body, main {
  margin: 0;
  padding: 0;
  background: #fff;
}

/* ===== FORCE HOMEPAGE TO LOOK EXACTLY LIKE YOUR SCREENSHOT ===== */
body, html {
  background: #fff !important;
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

.home {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  width: 100%;
}

.home h1,
h1.welcome-title {
  font-size: 2.3rem !important;
  font-weight: 700 !important;
  color: #7B1FA2 !important;
  text-align: center !important;
  margin-top: 90px !important;
  margin-bottom: 18px !important;
  letter-spacing: -0.5px;
}

.verse {
  color: #9687be !important;
  font-size: 1.12rem !important;
  text-align: center !important;
  margin-bottom: 4px !important;
}

.verse-ref {
  color: #bbaae5 !important;
  font-size: 1.06rem !important;
  text-align: center !important;
  margin-bottom: 0 !important;
}

/* Remove course section, sign in, etc. for minimalist look */

/* Remove extra space if any */
main.home {
  padding: 0 !important;
  margin: 0 auto !important;
  box-shadow: none !important;
  background: none !important;
}

/* === NAVBAR LINKS: match button font & roundness, NOT size === */
.nav-links a {
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif !important;
  font-weight: 700 !important;
  color: #fff !important;
  border-radius: 8px !important;   /* makes corners a little more rounded */
  background: transparent !important;
  letter-spacing: 0.5px !important;
  /* Do NOT change padding, size, or margins! */
}

.nav-links a:hover {
  color: #FFD700;
}

.nav-links a {
  color: #fff !important;
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif !important;
  font-weight: 600 !important;
  font-size: 1.07rem !important;
  letter-spacing: 0.01em;
  transition: color 0.25s cubic-bezier(0.55, 0, 0.1, 1) !important;
  padding: 0 4px;
  margin-left: 10px;
  line-height: 75px;
  display: inline-block;
}

.nav-links a:hover {
  color: #FFD700 !important; /* This is gold/yellow */
}

.testimonials-section {
  max-width: 700px;
  margin: 60px auto 0 auto;
  padding: 0 18px;
}

.testimonials-title {
  font-size: 2rem;
  color: #7B1FA2;
  text-align: center;
  margin-bottom: 30px;
  font-family: 'Poppins', Arial, sans-serif;
  font-weight: 700;
}

.testimonials-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.testimonial-card {
  background: #faf6ff;
  border: 1.5px solid #e1d5ef;
  border-radius: 13px;
  padding: 26px 30px 18px 30px;
  box-shadow: 0 2px 10px rgba(123,31,162,0.05);
  transition: box-shadow 0.2s;
}

.testimonial-card:hover {
  box-shadow: 0 4px 20px rgba(123,31,162,0.09);
}

.testimonial-text {
  font-size: 1.08rem;
  color: #444;
  font-style: italic;
  margin-bottom: 13px;
  font-family: 'Poppins', Arial, sans-serif;
}

.testimonial-author {
  text-align: right;
  color: #7B1FA2;
  font-weight: 600;
  font-size: 1rem;
  font-family: 'Poppins', Arial, sans-serif;
}

.testimonials-share {
  margin-top: 48px;
  margin-bottom: 60px;
  padding: 32px 28px;
  text-align: center;
  background: #fff;
  border: 1.5px solid #e1d5ef;
  border-radius: 13px;
  box-shadow: 0 2px 10px rgba(123, 31, 162, 0.05);
}

.testimonials-share-title {
  font-size: 1.35rem;
  color: #7B1FA2;
  margin-bottom: 12px;
  font-weight: 600;
  font-family: 'Poppins', Arial, sans-serif;
}

.testimonials-share-text {
  color: #555;
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 20px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  font-family: 'Poppins', Arial, sans-serif;
}

.testimonials-share-email {
  display: inline-block;
  color: #7B1FA2;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  padding: 11px 22px;
  border-radius: 8px;
  border: 1.5px solid #e1d5ef;
  background: #faf6ff;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  font-family: 'Poppins', Arial, sans-serif;
}

.testimonials-share-email:hover {
  background: #f0e9ff;
  border-color: #c7b5fa;
  color: #5e1587;
}

/* === FORCE NAVBAR BUTTONS TO LOOK IDENTICAL ON ALL PAGES === */
.nav-links a {
  color: #fff !important;
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif !important;
  font-weight: 600 !important;
  font-size: 1.07rem !important;
  border-radius: 8px !important;
  background: transparent !important;
  letter-spacing: 0.01em !important;
  transition: color 0.25s cubic-bezier(0.55, 0, 0.1, 1) !important;
  padding: 0 4px !important;
  margin-left: 10px !important;
  line-height: 75px !important;
  text-decoration: none !important;
  box-shadow: none !important;
  outline: none !important;
}
.nav-links a:hover {
  color: #FFD700 !important;
}


.course-card {
  background: #f4f4f4;
  border: 1.5px solid #e0dbef;
  border-radius: 18px;
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.07);
  width: 320px;
  padding: 28px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 10px;
  min-height: 390px;
}
.course-card img {
  width: 190px;
  height: 140px;
  border-radius: 10px;
  object-fit: cover;
  margin-bottom: 18px;
  background: #fff;
  border: 1px solid #dedede;
}
.course-details-wrapper {
  max-width: 550px;
  margin: 45px auto 55px auto;
  padding: 28px 18px 38px 18px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 18px rgba(123,31,162,0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
}

#course-content h1.course-title {
  font-size: 2.1rem;
  color: #7B1FA2;
  text-align: center;
  font-weight: 700;
  margin-bottom: 13px;
}

#course-content img.course-image {
  margin: 0 auto 18px auto;
  display: block;
  max-width: 320px;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(123,31,162,0.07);
}

#course-content p.course-description {
  font-size: 1.13rem;
  color: #444;
  margin: 18px 0 16px 0;
  text-align: center;
}

.course-detail-card {
  background: #fff;
  max-width: 520px;
  margin: 48px auto 0 auto;
  border-radius: 16px;
  box-shadow: 0 4px 28px rgba(123,31,162,0.10);
  padding: 38px 34px 30px 34px;
  text-align: center;
}
.course-title {
  font-size: 2rem;
  font-weight: 700;
  color: #7B1FA2;
  margin-bottom: 10px;
}
.course-image {
  display: block;
  margin: 0 auto 18px auto;
  max-width: 215px;
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(80,60,120,0.08);
}
.course-price {
  font-weight: 600;
  color: #673ab7;
  margin-bottom: 7px;
  font-size: 1.12rem;
}
.old-price {
  text-decoration: line-through;
  color: #b3a1e4;
  margin-right: 6px;
}
.free-label {
  color: #0baf82;
  font-weight: 700;
  margin-left: 6px;
  font-size: 1.01em;
}
.course-description {
  color: #444;
  font-size: 1.11rem;
  margin-bottom: 18px;
}
.course-features {
  list-style: disc inside;
  text-align: left;
  margin: 0 auto 18px auto;
  padding-left: 0;
  max-width: 320px;
  color: #533387;
  font-size: 1em;
}
.section-title {
  color: #7B1FA2;
  margin-top: 25px;
  margin-bottom: 7px;
  font-size: 1.15em;
  text-align: left;
}
.lessons {
  text-align: left;
  margin: 0 auto 18px auto;
  max-width: 320px;
  color: #433265;
  font-size: 1em;
  padding-left: 18px;
}
.instructor-info {
  margin: 0 auto 18px auto;
  text-align: left;
  max-width: 340px;
  background: #f8f7fb;
  padding: 15px 17px;
  border-radius: 7px;
}
.instructor-info h3 {
  color: #543386;
  font-size: 1.09em;
  margin-bottom: 4px;
}
.start-button {
  margin: 25px 0 16px 0;
  background: #7B1FA2;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1.09em;
  font-weight: 600;
  padding: 13px 45px;
  cursor: pointer;
  transition: background 0.19s;
}
.start-button:hover { background: #543386; }
.faq h3 { margin: 0 0 3px 0; color: #543386; font-size: 1.01em;}
.faq p { margin: 0 0 10px 0; color: #636363; font-size: 0.99em;}
@media (max-width: 700px) {
  .course-detail-card { padding: 14px 4vw 18px 4vw; }
}

#lesson-content button {
  background: #7B1FA2;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  padding: 11px 24px;
  font-size: 1rem;
  margin: 4px 7px 8px 0;
  transition: background 0.2s;
  box-shadow: 0 2px 8px rgba(123,31,162,0.06);
  display: inline-block;
}

#lesson-content button:hover {
  background: #5e1587;
  color: #FFD700;
}

@media (max-width: 600px) {
  /* Only affect the "Sign In" link in mobile nav */
  #sign-in-link {
    margin-top: -19px;  /* Move "Sign In" up a little */
    /* You can tweak -10px: try -8px or -12px to get it perfect! */
  }
}

/* Reflection section */
.reflection-section {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #ddd;
}

.reflection-section h3 {
  margin-bottom: 8px;
}

.reflection-section textarea#reflection {
  width: 100%;
  box-sizing: border-box;
  padding: 10px;
  font-size: 15px;
  font-family: inherit;
  border: 1px solid #ccc;
  border-radius: 6px;
  resize: vertical;
}

#save-reflection-btn {
  margin-top: 10px;
  padding: 8px 16px;
  cursor: pointer;
}

#reflection-status {
  margin-left: 12px;
  font-size: 14px;
  font-weight: 600;
}

.status-success {
  color: #2e7d32;
}

.status-error {
  color: #c62828;
}

.free-counter {
  text-align: center;
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: #3d3d5c;
  margin: 0 auto 24px auto;
  letter-spacing: 0.01em;
  max-width: 28rem;
  line-height: 1.45;
}

/* ====== Home landing (index.html) ====== */
.landing-home {
  justify-content: flex-start !important;
  min-height: 0 !important;
  padding: 0 20px 56px !important;
}

.landing-guest,
.landing-signed-in {
  width: 100%;
  max-width: 920px;
}

.landing-hero {
  text-align: center;
  padding: 48px 12px 12px;
}

.landing-home .hero-title {
  font-size: 2.35rem !important;
  font-weight: 700 !important;
  color: #7B1FA2 !important;
  line-height: 1.25;
  letter-spacing: -0.03em;
  margin: 0 auto 18px !important;
  max-width: 18ch;
}

.hero-lead {
  max-width: 38rem;
  margin: 0 auto 28px;
  color: #4a4a6a;
  font-size: 1.08rem;
  line-height: 1.65;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px 22px;
  margin-bottom: 8px;
}

.hero-cta {
  display: inline-block;
  background: #7B1FA2;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 28px;
  border-radius: 8px;
  transition: background 0.2s;
}

.hero-cta:hover {
  background: #5e1587;
  color: #fff;
}

.hero-secondary {
  color: #7B1FA2;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
}

.hero-secondary:hover {
  color: #543386;
  text-decoration: underline;
}

.landing-section-title {
  color: #673ab7;
  font-size: 1.05rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 20px;
}

.landing-audience,
.landing-steps {
  width: 100%;
  margin: 36px auto 8px;
}

.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.audience-card {
  background: #f7f4fb;
  border: 1.5px solid #e0dbef;
  border-radius: 16px;
  padding: 24px 22px;
  text-align: left;
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.04);
}

.audience-card h3 {
  color: #543386;
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.audience-card p {
  color: #565656;
  font-size: 0.98rem;
  line-height: 1.55;
  margin: 0;
}

.steps-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 0;
  margin: 0;
}

.steps-grid li {
  background: #fff;
  border: 1.5px solid #e0dbef;
  border-radius: 16px;
  padding: 22px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #7B1FA2;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steps-grid p {
  color: #4a4a6a;
  font-size: 0.95rem;
  line-height: 1.45;
  margin: 0;
}

.landing-signed-in {
  text-align: center;
  padding: 12px 12px 0;
}

.landing-home .welcome-title {
  margin-top: 48px !important;
  margin-bottom: 10px !important;
}

.welcome-lead {
  color: #4a4a6a;
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 32rem;
  margin: 0 auto 8px;
}

.landing-home .courses {
  width: 100%;
  max-width: 1100px;
  margin-top: 28px;
}

/* ====== ChristNow Mobile (phones & small tablets only) ====== */
@media (max-width: 768px) {
  .navbar {
    height: auto;
    min-height: 64px;
    padding: 12px 16px;
    flex-wrap: wrap;
    gap: 8px;
  }

  .logo {
    height: 56px;
    width: 56px;
  }

  .logo img {
    height: 44px;
    transform: scale(1.1);
  }

  .nav-links {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 14px;
  }

  .nav-links a {
    margin-left: 0 !important;
    line-height: 1.4 !important;
    padding: 4px 6px !important;
    font-size: 0.92rem !important;
  }

  #sign-in-link {
    margin-top: 0 !important;
  }

  .course-list {
    padding: 24px 12px;
    gap: 24px;
  }

  .course-card {
    width: 100%;
    max-width: 400px;
    min-height: auto;
    padding: 22px 18px;
  }

  .course-detail-card {
    margin: 12px auto 0;
    padding: 20px 16px 28px;
    border-radius: 12px;
  }

  .course-title {
    font-size: 1.55rem;
  }

  .course-description {
    font-size: 1rem;
  }

  .start-button {
    width: 100%;
    box-sizing: border-box;
    padding: 14px 20px;
  }

  .lessons,
  .course-features,
  .instructor-info {
    max-width: 100%;
  }

  .testimonials-section {
    margin-top: 32px;
    padding: 0 14px;
  }

  .testimonials-title {
    font-size: 1.6rem;
  }

  .testimonial-card {
    padding: 20px 18px 16px;
  }

  .testimonials-share {
    padding: 24px 18px;
    margin-bottom: 40px;
  }

  .home h1,
  h1.welcome-title {
    margin-top: 40px !important;
    font-size: 1.75rem !important;
    padding: 0 12px;
  }

  .landing-home {
    padding: 0 16px 40px !important;
  }

  .landing-hero {
    padding-top: 28px;
  }

  .landing-home .hero-title {
    font-size: 1.7rem !important;
    max-width: none;
  }

  .hero-lead {
    font-size: 1rem;
    padding: 0 4px;
  }

  .audience-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .landing-audience,
  .landing-steps {
    margin-top: 28px;
  }

  .landing-home .welcome-title {
    margin-top: 28px !important;
  }

  .verse,
  .verse-ref {
    padding: 0 16px;
  }

  #video-host,
  #video-host > div,
  #video-host .video-embed {
    width: 100%;
  }
}
