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

/* VARIABLES */
:root {
  --deep-blue: #1E3A8A;
  --sky-blue: #3B82F6;
  --white: #ffffff;
  --dark: #1F2937;
  --light-bg: #f5f7ff;
}

/* BODY */
body {
  font-family: 'Inter', sans-serif;
  color: var(--dark);
  line-height: 1.6;
}

/* ================= NAVBAR ================= */
.navbar {
  background: var(--deep-blue);
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.logo img {
  width: 42px;
}

/* NAV LINKS */
.nav-links {
  display: flex;
  align-items: center;
  gap: 25px;
}

.nav-links a,
.dropbtn {
  color: var(--white);
  text-decoration: none;
  font-size: 15px;
  background: none;
  border: none;
  cursor: pointer;
}

/* HOVER */
.nav-links a:hover,
.dropbtn:hover {
  color: var(--sky-blue);
}

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

/* VARIABLES */
:root {
  --deep-blue: #1E3A8A;
  --sky-blue: #3B82F6;
  --white: #ffffff;
  --dark: #1F2937;
  --light-bg: #f5f7ff;
}

/* BODY */
body {
  font-family: 'Inter', sans-serif;
  color: var(--dark);
  line-height: 1.6;
}

/* ================= NAVBAR ================= */
.navbar {
  background: var(--deep-blue);
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.logo img {
  width: 42px;
}

/* NAV LINKS */
.nav-links {
  display: flex;
  align-items: center;
  gap: 25px;
}

.nav-links a,
.dropbtn {
  color: var(--white);
  text-decoration: none;
  font-size: 15px;
  background: none;
  border: none;
  cursor: pointer;
}

/* HOVER */
.nav-links a:hover,
.dropbtn:hover {
  color: var(--sky-blue);
}

/* DROPDOWN */
/* DROPDOWN */
.dropdown {
  width: 100%;
   font-weight: 500;
   position: relative;
}

.dropbtn {
  width: 100%;
  padding: 12px;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* hidden */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 45px;
  left: 0;
  background: var(--deep-blue); /* 🔥 BLUE instead of white */
  min-width: 220px;
  border-radius: 10px;
  flex-direction: column;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  z-index: 9999;
}

/* show when active */
.dropdown-menu.show {
  display: block;
}

/* links */
.dropdown-menu a {
  display: block;
  padding: 12px;
  color: white;
  text-decoration: none;
  border-bottom: 1px solid #eee;
}

.dropdown-menu a:hover {
  background: rgba(255,255,255,0.1); /* soft hover */
  color: #fff;
}

/* desktop hover only */
@media (max-width: 768px) {

  .dropdown-menu {
    position: static;
    width: 100%;
    background: var(--deep-blue); /* 🔥 keep same blue */
    box-shadow: none;
    border-radius: 0;
  }

  .dropdown-menu a {
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
}
@media (max-width: 768px) {

  .dropbtn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center; /* 🔥 FIX: remove space-between */
    gap: 8px; /* 🔥 controls space between text and arrow */
  }

}


.arrow {
  transition: 0.3s;
}

.dropdown-menu.show + .arrow {
  transform: rotate(180deg);
}

/* MOBILE MENU BUTTON */
.menu-toggle {
  display: none;
  font-size: 26px;
  cursor: pointer;
}

/* ================= HERO ================= */
.hero {
  position: relative;
  background: url('../images/Bible.jpg') center/cover no-repeat;
  text-align: center;
  padding: 120px 20px;
  color: #ffffff;
  overflow: hidden;
}

/* DARK OVERLAY */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(30, 58, 138, 0.65); /* deep blue overlay */
  z-index: 1;
}

/* KEEP TEXT ABOVE OVERLAY */
.hero h1,
.hero p {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  color: #ffffff;
}

.hero p {
  margin-top: 10px;
  font-size: 18px;
  color: #e5e7eb; /* softer white */
}

/* ================= ABOUT SECTION ================= */
.about-section {
  padding: 80px 20px;
  background: #f5f7ff;
}

.about-container {
  max-width: 1200px;
  margin: auto;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  flex-wrap: wrap;
}

/* TEXT */
.about-text {
  flex: 1;
  animation: fadeLeft 1s ease;
}

.about-text h2 {
  color: #1E3A8A;
  font-size: 32px;
  margin-bottom: 20px;
  font-family: 'Playfair Display', serif;
}

.about-text p {
  margin-bottom: 15px;
  color: #4b5563;
  line-height: 1.8;
  font-size: 16px;
}

/* IMAGE */
.about-image {
  flex: 1;
  text-align: center;
  animation: fadeRight 1s ease;
}

.about-image img {
  width: 100%;
  max-width: 450px;
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  transition: 0.4s;
}

.about-image img:hover {
  transform: scale(1.05);
}

/* BUTTON (reuse your existing .btn.primary) */

/* ================= MOBILE ================= */
@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    text-align: center;
  }

  .about-text h2 {
    font-size: 26px;
  }
}

/* Default: show image (desktop) */
.about-image {
  display: block;
}

/* MOBILE: hide image */
@media (max-width: 768px) {
  .about-image {
    display: none;
  }
}

/* ================= SECTIONS ================= */
section {
  padding: 60px 20px;
  text-align: center;
}

h2 {
  margin-bottom: 20px;
  color: var(--deep-blue);
}

/* GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

/* CARD */
.card {
  background: var(--white);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: 0.3s;
}

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

/* ================= MAGAZINE SECTION ================= */
.magazine {
  padding: 80px 20px;
  background: #f5f7ff;
}

/* HEADER (TITLE + VIEW ALL) */
.mag-header {
  max-width: 1200px;
  margin: auto;
  margin-bottom: 30px;

  display: flex;
  justify-content: space-between;
  align-items: center;

  animation: fadeDown 0.8s ease;
}

.mag-header h2 {
  color: #1E3A8A;
  font-size: 28px;
}

.view-all {
  text-decoration: none;
  font-size: 14px;
  color: #3B82F6;
  transition: 0.3s;
}

.view-all:hover {
  color: #1E3A8A;
  transform: translateX(5px);
}

/* MAIN CONTAINER */
.magazine-container {
  max-width: 1200px;
  margin: auto;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

/* IMAGE */
.magazine-image {
  flex: 1;
  text-align: center;

  animation: fadeLeft 1s ease;
}

.magazine-image img {
  width: 100%;
  max-width: 420px;
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  transition: 0.4s;
}

.magazine-image img:hover {
  transform: scale(1.05) rotate(-1deg);
}

/* CONTENT */
.magazine-content {
  flex: 1;
  animation: fadeRight 1s ease;
}

.magazine-content p {
  font-size: 16px;
  color: #4b5563;
  margin-bottom: 25px;
}

/* BUTTONS */
.mag-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s;
}

/* PRIMARY */
.btn.primary {
  background: #3B82F6;
  color: white;
}

.btn.primary:hover {
  background: #1E3A8A;
  transform: translateY(-3px);
}

/* SECONDARY */
.btn.secondary {
  border: 2px solid #3B82F6;
  color: #3B82F6;
}

.btn.secondary:hover {
  background: #3B82F6;
  color: white;
  transform: translateY(-3px);
}

/* ================= ANIMATIONS ================= */
@keyframes fadeLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {

  .magazine-container {
    flex-direction: column;
    text-align: center;
  }

  /* IMAGE ON TOP */
  .magazine-image {
    order: -1;
  }

  .mag-header {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .mag-buttons {
    justify-content: center;
  }
}


/* ================= PRE FOOTER ================= */
.pre-footer {
   background: #1F2937;/* soft black (matches your theme) */
  color: white;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding: 60px 40px;
  flex-wrap: wrap;
}

/* LEFT SIDE */
.pre-left {
  flex: 1;
  min-width: 280px;
}

.pre-left h2 {
  color: #ffffff;
  margin-bottom: 10px;
}

.pre-left p {
  color: #d1d5db;
  margin-bottom: 20px;
}

/* FORM */
.subscribe-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.subscribe-form input {
  flex: 1;
  padding: 10px;
  border-radius: 6px;
  border: none;
  outline: none;
}

.subscribe-form button {
  padding: 10px 15px;
  border: none;
  background: #3B82F6;
  color: white;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

.subscribe-form button:hover {
  background: #1E3A8A;
}

/* RIGHT SIDE */
.pre-right {
  flex: 1;
  min-width: 200px;
}

.pre-right h2 {
  margin-bottom: 10px;
  color: #3B82F6;
}

.pre-right a {
  display: block;
  color: #d1d5db;
  text-decoration: none;
  margin: 8px 0;
  transition: 0.3s;
}

.pre-right a:hover {
  color: #3B82F6;
  padding-left: 5px;
}

/* QUICK LINKS STYLE */
.pre-right a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #d1d5db;
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* LINE BETWEEN LINKS */
  transition: 0.3s;
}

/* REMOVE LAST LINE */
.pre-right a:last-child {
  border-bottom: none;
}

/* ARROW ICON */
.pre-right .arrow {
  color: #3B82F6;
  font-weight: bold;
  font-size: 16px;
}

/* HOVER EFFECT */
.pre-right a:hover {
  color: #ffffff;
  padding-left: 8px;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {
  .pre-footer {
    flex-direction: column;
  }

  .subscribe-form {
    flex-direction: column;
  }
}

/* FOOTER */
/* ================= FOOTER ================= */
.footer {
  background: #1E3A8A;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 40px;
  flex-wrap: wrap;
}

/* LEFT SIDE */
.footer-left p {
  margin: 5px 0;
  font-size: 14px;
  opacity: 0.9;
}

/* RIGHT SIDE SOCIAL LINKS */
.footer-right {
  display: flex;
  gap: 15px;
  margin-right: 40px;
  flex-wrap: wrap;
}

.footer-right .social {
  color: white;
  text-decoration: none;
  font-size: 14px;
  padding: 6px 10px;
  border-radius: 6px;
  background-color: #3B82F6;
  transition: 0.3s;
}

.footer-right .social:hover {
  background: #3B82F6;
}
.footer-right {
  display: flex;
  gap: 12px;
  align-items: center;
}

.footer-right .social {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.footer-right .social:hover {
  background: #3B82F6;
  transform: translateY(-3px);
}

/* ================= BACK TO TOP BUTTON ================= */
#topBtn {
  background: #3B82F6;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  transition: 0.3s;

  display: flex;
  align-items: center;
  justify-content: center;
}

#topBtn:hover {
  background: #1E3A8A;
  transform: translateY(-3px);
}


/* ICON SIZE */
#topBtn i {
  font-size: 22px;
  font-weight: 700;
}

/* HOVER EFFECT */
#topBtn:hover {
  background: #1E3A8A;
  transform: translateY(-3px);
}

.footer {
  background: #1E3A8A;
  color: white;
  padding: 30px 20px;
  position: relative;
}

/* FOOTER RIGHT SIDE */
.footer-right {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

/* BACK TO TOP INSIDE FOOTER */
#topBtn {
  position: absolute;
  bottom: 10px;   /* VERY BOTTOM */
  right: 10px;    /* FAR RIGHT */

  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: none;

  background: #3B82F6;
  color: white;

  display: none;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  transition: 0.3s;
}

#topBtn:hover {
  background: #1E3A8A;
  transform: translateY(-3px);
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--deep-blue);
    flex-direction: column;
    display: none;
    padding: 20px;
  }

  .nav-links.active {
    display: flex;
  }

  
}

.arrow {
  transition: 0.3s;
}

.dropdown-menu.show + .arrow {
  transform: rotate(180deg);
}


/* MOBILE MENU BUTTON */
.menu-toggle {
  display: none;
  font-size: 26px;
  cursor: pointer;
}

/* ================= HERO ================= */
.hero {
  position: relative;
  background: url('../images/Plan2.jpg') center/cover no-repeat;
  text-align: center;
  height: 60vh;          /* reduce this further if needed */
  padding: 20px 20px;    /* reduce padding a lot */
  color: #ffffff;
  overflow: hidden;
}

/* DARK OVERLAY */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(30, 58, 138, 0.65); /* deep blue overlay */
  z-index: 1;
}

/* KEEP TEXT ABOVE OVERLAY */
.hero h1,
.hero p {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  color: #ffffff;
}

.hero p {
  margin-top: 10px;
  font-size: 18px;
  color: #e5e7eb; /* softer white */
}

.ecclesias-page {
  padding: 80px 20px;
  background: #f5f7ff;
}

/* HEADER */
.page-header {
  text-align: center;
  margin-bottom: 50px;
}

.page-header h1 {
  font-size: 38px;
  color: #1E3A8A;
}

.page-header p {
  color: #6b7280;
}

/* FEATURED */
.featured-ecclesia {
  max-width: 1100px;
  margin: auto;
  display: flex;
  gap: 30px;
  background: white;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
  margin-bottom: 50px;
}

.featured-ecclesia img {
  width: 45%;
  object-fit: cover;
}

.featured-content {
  padding: 30px;
}

.featured-content h2 {
  color: #1E3A8A;
  font-size: 26px;
}

.featured-content .location {
  color: #3B82F6;
  margin: 8px 0;
}

.featured-content .desc {
  color: #4b5563;
  margin: 15px 0;
}

.schedule span {
  margin-right: 15px;
  font-size: 14px;
  color: #1F2937;
}

/* LIST */
.ecclesia-list {
  max-width: 1100px;
  margin: auto;
}

/* ROW STYLE */
.ecclesia-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: white;
  padding: 15px;
  margin-bottom: 15px;
  border-radius: 10px;
  transition: 0.3s;
}

.ecclesia-row:hover {
  transform: translateY(-3px);
}

/* IMAGE */
.ecclesia-row img {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  object-fit: cover;
}

/* CONTENT */
.row-content {
  flex: 1;
  margin-left: 20px;
}

.row-content h3 {
  color: #1E3A8A;
}

.row-content .location {
  font-size: 14px;
  color: #3B82F6;
}

.row-schedule span {
  font-size: 13px;
  margin-right: 10px;
}

/* ACTIONS */
.row-actions {
  display: flex;
  gap: 10px;
}

.schedule p,
.row-schedule p {
  font-size: 14px;
  color: #1F2937;
  margin: 3px 0;
}

.schedule strong,
.row-schedule strong {
  color: #1E3A8A;
}

.row-schedule {
  margin-top: 5px;
}

.row-schedule p {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin: 4px 0;
  color: #1F2937;
}

.row-schedule strong {
  color: #1E3A8A;
}

.ecclesia-row {
  display: flex;
  align-items: center;
  gap: 15px;
  background: white;
  padding: 15px;
  border-radius: 10px;
  width: 100%;
  max-width: 100%;
}







/* ================= SECTIONS ================= */
section {
  padding: 60px 20px;
  text-align: center;
}

h2 {
  margin-bottom: 20px;
  color: var(--deep-blue);
}

/* GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

/* CARD */
.card {
  background: var(--white);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: 0.3s;
}

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

/* MAGAZINE */
.mag-card {
  background: var(--light-bg);
  padding: 30px;
  border-radius: 10px;
}

.buttons button {
  margin: 10px;
  padding: 10px 15px;
  border: none;
  background: var(--sky-blue);
  color: white;
  border-radius: 6px;
  cursor: pointer;
}

.buttons button:hover {
  background: var(--deep-blue);
}

/* ================= PRE FOOTER ================= */
.pre-footer {
   background: #1F2937;/* soft black (matches your theme) */
  color: white;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding: 60px 40px;
  flex-wrap: wrap;
}

/* LEFT SIDE */
.pre-left {
  flex: 1;
  min-width: 280px;
}

.pre-left h2 {
  color: #ffffff;
  margin-bottom: 10px;
}

.pre-left p {
  color: #d1d5db;
  margin-bottom: 20px;
}

/* FORM */
.subscribe-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.subscribe-form input {
  flex: 1;
  padding: 10px;
  border-radius: 6px;
  border: none;
  outline: none;
}

.subscribe-form button {
  padding: 10px 15px;
  border: none;
  background: #3B82F6;
  color: white;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

.subscribe-form button:hover {
  background: #1E3A8A;
}


.berean-resources {
    margin-top: 35px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 18px;
    backdrop-filter: blur(10px);
}

.berean-resources h3 {
    margin: 0 0 10px;
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    position: relative;
    display: inline-block;
}

.berean-resources h3::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    margin-top: 8px;
    border-radius: 3px;
    background: #1e66ff;
}

.berean-resources p {
    margin: 0 0 20px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

.resource-links {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.resource-links a {
    color: #ffffff;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.resource-links a:hover {
    color: #1e66ff;
    transform: translateX(5px);
}



/* RIGHT SIDE */
.pre-right {
  flex: 1;
  min-width: 200px;
}

.pre-right h2 {
  margin-bottom: 10px;
  color: #3B82F6;
}

.pre-right a {
  display: block;
  color: #d1d5db;
  text-decoration: none;
  margin: 8px 0;
  transition: 0.3s;
}

.pre-right a:hover {
  color: #3B82F6;
  padding-left: 5px;
}

/* QUICK LINKS STYLE */
.pre-right a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #d1d5db;
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* LINE BETWEEN LINKS */
  transition: 0.3s;
}

/* REMOVE LAST LINE */
.pre-right a:last-child {
  border-bottom: none;
}

/* ARROW ICON */
.pre-right .arrow {
  color: #3B82F6;
  font-weight: bold;
  font-size: 16px;
}

/* HOVER EFFECT */
.pre-right a:hover {
  color: #ffffff;
  padding-left: 8px;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {
  .pre-footer {
    flex-direction: column;
  }

  .subscribe-form {
    flex-direction: column;
  }
}

/* FOOTER */
/* ================= FOOTER ================= */
.footer {
  background: #1E3A8A;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 40px;
  flex-wrap: wrap;
}

/* LEFT SIDE */
.footer-left p {
  margin: 5px 0;
  font-size: 14px;
  opacity: 0.9;
}

/* RIGHT SIDE SOCIAL LINKS */
.footer-right {
  display: flex;
  gap: 15px;
  margin-right: 40px;
  flex-wrap: wrap;
}

.footer-right .social {
  color: white;
  text-decoration: none;
  font-size: 14px;
  padding: 6px 10px;
  border-radius: 6px;
  background-color: #3B82F6;
  transition: 0.3s;
}

.footer-right .social:hover {
  background: #3B82F6;
}
.footer-right {
  display: flex;
  gap: 12px;
  align-items: center;
}

.footer-right .social {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.footer-right .social:hover {
  background: #3B82F6;
  transform: translateY(-3px);
}

/* ================= BACK TO TOP BUTTON ================= */
#topBtn {
  background: #3B82F6;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  transition: 0.3s;

  display: flex;
  align-items: center;
  justify-content: center;
}

#topBtn:hover {
  background: #1E3A8A;
  transform: translateY(-3px);
}


/* ICON SIZE */
#topBtn i {
  font-size: 22px;
  font-weight: 700;
}

/* HOVER EFFECT */
#topBtn:hover {
  background: #1E3A8A;
  transform: translateY(-3px);
}

.footer {
  background: #1E3A8A;
  color: white;
  padding: 30px 20px;
  position: relative;
}

/* FOOTER RIGHT SIDE */
.footer-right {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

/* BACK TO TOP INSIDE FOOTER */
#topBtn {
  position: absolute;
  bottom: 10px;   /* VERY BOTTOM */
  right: 10px;    /* FAR RIGHT */

  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: none;

  background: #3B82F6;
  color: white;

  display: none;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  transition: 0.3s;
}

#topBtn:hover {
  background: #1E3A8A;
  transform: translateY(-3px);
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--deep-blue);
    flex-direction: column;
    display: none;
    padding: 20px;
  }

  .nav-links.active {
    display: flex;
  }

  
}

.magazine-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.intro-text {
  color: #333;
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 15px;
}

.latest-preview {
  color: #0b3d91;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 20px;
  line-height: 1.5;
}

.latest-preview strong {
  font-size: 16px;
}

@media (max-width: 768px) {

  .ecclesia-row {
    flex-direction: column;   /* 🔥 STACK everything */
    align-items: flex-start;  /* align left */
    gap: 10px;
  }

  .ecclesia-row img {
    width: 100%;
    height: 180px;   /* nice mobile image */
    border-radius: 10px;
  }

  .row-content {
    margin-left: 0;
    width: 100%;
  }

  .row-schedule {
    width: 100%;
  }

  .row-schedule p {
    justify-content: space-between;
    font-size: 14px;
  }

  .row-actions {
    width: 100%;
    display: flex;
    justify-content: space-between;
  }

}

.ecclesia-row {
  box-shadow: 0 8px 25px rgba(0,0,0,0.05);
}

@media (max-width: 768px) {
  .ecclesia-row {
    padding: 12px;
  }
}

/* ================= HOME ECCLESIA ================= */
.home-ecclesia {
  padding: 80px 20px;
  background: #ffffff;
}

/* HEADER */
.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: 32px;
  color: #1E3A8A;
}

.section-header p {
  color: #6b7280;
}

/* FEATURED CARD */
.featured-ecclesia {
  max-width: 1100px;
  margin: auto;

  display: flex;
  align-items: center;
  gap: 40px;

  background: #f5f7ff;
  padding: 25px;
  border-radius: 14px;

  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: 0.3s;
}

.featured-ecclesia:hover {
  transform: translateY(-5px);
}

/* IMAGE */
.featured-ecclesia img {
  width: 50%;
  height: 320px;
  object-fit: cover;
  border-radius: 12px;
}

/* CONTENT */
.featured-content {
  flex: 1;
}

.featured-content h3 {
  font-size: 26px;
  color: #1E3A8A;
}

.featured-content .location {
  color: #3B82F6;
  margin: 8px 0 15px;
}

/* SCHEDULE */
.schedule p {
  margin: 6px 0;
  font-size: 14px;
  color: #1F2937;
}

.schedule strong {
  color: #1E3A8A;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {

  .featured-ecclesia {
    flex-direction: column;
    text-align: center;
  }

  .featured-ecclesia img {
    width: 100%;
    height: 200px;
  }

  .featured-content h3 {
    font-size: 22px;
  }

}