:root {
  /* Customizable colors - change these hex codes as needed */
  --footer-bg: #1a4a6b;
  --social-icon-bg: #ffcc00;
  --text-color: #ffffff;
  --link-color: #ffffff;
  --link-hover: #ffcc00;

  /* Logo opacity - adjust between 0 and 1 */
  --logo-opacity: 0.15;
  --logo-opacity-hover: 0.25;

  /* NavBar */
  --fb-red: #c41e3a;
  --fb-blue: #003b7a;
  --fb-yellow: #f7c500;
  --fb-dark: #1a1a1a;
  --fb-grey: #555;
  --fb-light-grey: #f5f5f5;

  /* Navbar transparency - adjust between 0 (fully transparent) and 1 (fully opaque) */
  --navbar-opacity: 1;
}

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

body {
  font-family: "Cabin", sans-serif;
  background: #fff;
  overflow-x: hidden;
}

/* Hide desktop line breaks on mobile */
.desktop-break {
  display: inline;
}

@media (max-width: 640px) {
  .desktop-break {
    display: none;
  }
}

/* ===== NAVIGATION ===== */
.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 9999;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  background-color: rgba(255, 255, 255, var(--navbar-opacity, 1));
  overflow: visible;
}

.main-nav::before {
  content: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  opacity: var(--navbar-opacity);
  z-index: -1;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
  overflow: visible;
}

.nav-logo {
  padding: 15px 0;
}

.nav-logo img {
  height: 70px;
  width: auto;
}

.nav-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 15px;
  overflow: visible;
}

/* Top Links */
.top-links {
  display: flex;
  gap: 25px;
  padding-top: 10px;
}

.top-links a {
  color: var(--fb-dark);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.top-links a:hover {
  color: var(--fb-blue);
}

/* Main Dropdowns */
.main-dropdowns {
  display: flex;
  gap: 0;
  overflow: visible;
}

.dropdown {
  position: relative;
  overflow: visible;
}

.dropdown-toggle {
  background: none;
  border: none;
  padding: 20px 25px;
  font-size: 16px;
  font-weight: 600;
  font-family: "Cabin", sans-serif;
  color: var(--fb-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.dropdown-toggle i {
  font-size: 12px;
  transition: transform 0.3s ease;
}

/* Hover colors for dropdown toggles */
.dropdown-toggle[data-color="red"]:hover {
  color: var(--fb-red);
}

.dropdown-toggle[data-color="blue"]:hover {
  color: var(--fb-blue);
}

.dropdown-toggle[data-color="yellow"]:hover {
  color: var(--fb-yellow);
}

.dropdown:hover .dropdown-toggle i {
  transform: rotate(180deg);
}

/* Dropdown Menu - FIXED POSITIONING */
.dropdown-menu {
  position: fixed;
  top: 110px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  min-width: 900px;
  max-width: 95vw;
  max-height: calc(100vh - 130px);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
  z-index: 1001;
  overflow-y: auto;
  overflow-x: visible;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.dropdown-content {
  padding: 40px;
}

.dropdown-intro {
  margin-bottom: 30px;
  padding-bottom: 25px;
  border-bottom: 1px solid #e5e5e5;
}

.dropdown-intro h2 {
  font-size: 26px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Color the intro heading based on dropdown */
.dropdown-toggle[data-color="red"]:hover ~ .dropdown-menu .dropdown-intro h2,
.dropdown:hover
  .dropdown-toggle[data-color="red"]
  ~ .dropdown-menu
  .dropdown-intro
  h2 {
  color: var(--fb-red);
}

.dropdown-toggle[data-color="blue"]:hover ~ .dropdown-menu .dropdown-intro h2,
.dropdown:hover
  .dropdown-toggle[data-color="blue"]
  ~ .dropdown-menu
  .dropdown-intro
  h2 {
  color: var(--fb-blue);
}

.dropdown-toggle[data-color="yellow"]:hover ~ .dropdown-menu .dropdown-intro h2,
.dropdown:hover
  .dropdown-toggle[data-color="yellow"]
  ~ .dropdown-menu
  .dropdown-intro
  h2 {
  color: var(--fb-yellow);
}

.dropdown-intro p {
  color: var(--fb-grey);
  font-size: 15px;
  line-height: 1.6;
}

.dropdown-intro i {
  font-size: 22px;
}

.dropdown-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.dropdown-column h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--fb-dark);
}

.dropdown-column ul {
  list-style: none;
}

.dropdown-column ul li {
  margin-bottom: 10px;
}

.dropdown-column ul li a {
  color: var(--fb-blue);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.6;
  transition: color 0.3s ease;
}

.dropdown-column ul li a:hover {
  color: var(--fb-red);
  text-decoration: underline;
}

/* JS controlled open state */
.dropdown.active .dropdown-menu {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Scroll to Top */
.scroll-top {
  position: fixed;
  bottom: -10px;
  right: 25px;
  background-color: #ffffff;
  border: 3px solid #003b7a;
  color: #003b7a;
  border-radius: 10px 10px 0 0;
  width: 45px;
  height: 70px;
  font-size: 1.5rem;
  cursor: pointer;
  text-align: center;
  line-height: 70px;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  z-index: 999;
  display: none;
}

.scroll-top:hover {
  background-color: #003b7a;
  color: #fff;
}

.scroll-top i {
  pointer-events: none;
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  background-image: url("../img/falsebay-landscape.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 500px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  margin-top: 110px;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  width: 100%;
  padding: 40px 20px;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  color: #fff;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  line-height: 1.6;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  color: #fff;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-primary {
  background: var(--fb-yellow);
  color: var(--fb-dark);
}

.btn-primary:hover {
  background: #e0b300;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(247, 197, 0, 0.4);
}

.btn-secondary {
  background: var(--fb-yellow);
  color: var(--fb-dark);
}

.btn-secondary:hover {
  background: #e0b300;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(247, 197, 0, 0.4);
}

/* ===== WHO WE ARE SECTION ===== */
.who-we-are-section {
  padding: 80px 40px;
  background: #f8f8f8;
}

.who-we-are-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.who-we-are-content {
  padding-right: 40px;
}

.who-we-are-title {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
}

.who-we-are-icon {
  width: 50px;
  height: 50px;
  background: var(--fb-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  flex-shrink: 0;
}

.who-we-are-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--fb-blue);
  margin: 0;
}

.who-we-are-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--fb-dark);
  margin-bottom: 30px;
}

.who-we-are-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 30px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: var(--fb-blue);
  text-decoration: none;
  transition: all 0.3s ease;
}

.who-we-are-link:hover {
  background: var(--fb-blue);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 59, 122, 0.3);
}

.who-we-are-link i {
  transition: transform 0.3s ease;
}

.who-we-are-link:hover i {
  transform: translateX(5px);
}

.who-we-are-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cathedral-circle {
  width: 550px;
  height: 550px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  position: relative;
}

.cathedral-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Decorative element behind circle */
.cathedral-circle::before {
  content: "";
  position: absolute;
  width: 120%;
  height: 120%;
  background: linear-gradient(135deg, var(--fb-blue) 0%, var(--fb-red) 100%);
  opacity: 0.1;
  border-radius: 50%;
  top: -10%;
  left: -10%;
  z-index: -1;
}

/* ===== BISHOP'S LETTER SECTION ===== */
.bishops-letter-section {
  padding: 80px 40px;
  background: #fff;
}

.bishops-letter-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.bishops-letter-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.bishop-circle {
  width: 550px;
  height: 550px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  position: relative;
}

.bishop-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Decorative element behind circle */
.bishop-circle::before {
  content: "";
  position: absolute;
  width: 120%;
  height: 120%;
  background: linear-gradient(135deg, var(--fb-red) 0%, var(--fb-red) 100%);
  opacity: 0.1;
  border-radius: 50%;
  top: -10%;
  left: -10%;
  z-index: -1;
}

.bishops-letter-content {
  padding-left: 40px;
  text-align: right;
}

.bishops-letter-title {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 15px;
  margin-bottom: 30px;
}

.bishops-letter-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--fb-red);
  margin: 0;
}

.bishops-letter-icon {
  width: 50px;
  height: 50px;
  background: var(--fb-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  flex-shrink: 0;
}

.bishops-letter-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--fb-dark);
  margin-bottom: 30px;
  text-align: right;
}

.bishops-letter-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 30px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: var(--fb-red);
  text-decoration: none;
  transition: all 0.3s ease;
}

.bishops-letter-link:hover {
  background: var(--fb-red);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(23, 24, 25, 0.3);
}

.bishops-letter-link i {
  transition: transform 0.3s ease;
}

.bishops-letter-link:hover i {
  transform: translateX(5px);
}

/* ===== FOOTER ===== */
.footer {
  background-color: var(--footer-bg);
  color: var(--text-color);
  padding: 60px 40px 30px;
  position: relative;
  overflow: hidden;
}

/* Background logo pattern - multiple emblems */
.footer::before {
  content: "";
  position: absolute;
  top: -50px;
  left: -100px;
  width: 900px;
  height: calc(100% + 100px);
  background-image: url("../img/fullblue-logo.png");
  background-repeat: repeat;
  background-size: 180px 220px;
  opacity: var(--logo-opacity);
  pointer-events: none;
  z-index: 0;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  position: relative;
  z-index: 1;
}

.footer-section h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 20px;
  font-family: "Cabin", sans-serif;
}

.footer-section p {
  line-height: 1.7;
  font-size: 15px;
  margin-bottom: 25px;
  font-weight: 400;
}

/* Social media icons */
.social-icons {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--social-icon-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  color: var(--footer-bg);
  font-size: 18px;
}

.social-icon:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Contact and Quick Links sections */
.contact-info {
  line-height: 1.8;
  font-size: 15px;
}

.contact-info p {
  margin-bottom: 10px;
}

.phone-number {
  font-size: 18px;
  font-weight: 600;
  margin-top: 15px;
  display: block;
}

.quick-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
}

.quick-links a {
  color: var(--link-color);
  text-decoration: none;
  font-size: 15px;
  transition: color 0.3s ease;
  font-weight: 400;
}

.quick-links a:hover {
  color: var(--link-hover);
}

/* Church logo and mailing list section
.church-logo-section {
  max-width: 1400px;
  margin: 0 auto;
  margin-top: 50px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.church-logo-placeholder {
  max-width: 300px;
}

.acsa-logo {
  width: 100%;
  height: auto;
  display: block;
}

/* Mailing List Signup Box
.mailing-list-signup {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 30px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.mailing-list-signup h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-color);
  font-family: "Cabin", sans-serif;
}

.mailing-list-signup > p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.9);
}

.signup-form {
  width: 100%;
}

.form-group {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.email-input {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--fb-dark);
  font-size: 15px;
  font-family: "Cabin", sans-serif;
  transition: all 0.3s ease;
}

.email-input:focus {
  outline: none;
  border-color: var(--fb-yellow);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(247, 197, 0, 0.2);
}

.email-input::placeholder {
  color: #999;
}

.signup-button {
  padding: 12px 24px;
  background: var(--fb-yellow);
  color: var(--fb-dark);
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  font-family: "Cabin", sans-serif;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.signup-button:hover {
  background: #e0b300;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(247, 197, 0, 0.4);
}

.signup-button i {
  font-size: 14px;
}

.privacy-note {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  line-height: 1.4;
} */

/* Footer bottom */
.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  margin-top: 40px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  position: relative;
  z-index: 1;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--link-color);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--link-hover);
}

.design-credit a {
  color: var(--link-color);
  text-decoration: underline;
}

.design-credit a:hover {
  color: var(--link-hover);
}

/* ── CHURCH LOGO SECTION ──────────────────────────────── */
.church-logo-section {
  max-width: 1400px;
  margin: 50px auto 0;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  z-index: 1;
}

.diocese-logos-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}

/* ACSA logo on the left */
.acsa-logo-wrap a img.acsa-logo {
  max-width: 280px;
  height: auto;
  display: block;
}

/* Partner dioceses on the right */
.partner-dioceses-row {
  display: flex;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
}

.partner-diocese-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

.partner-diocese-link:hover {
  transform: translateY(-3px);
  opacity: 0.8;
}

.partner-diocese-link img {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

.partner-diocese-link .pd-name {
  font-size: 0.78rem;
  font-weight: 700;
  color: #ffffff;
  font-family: "Cabin", sans-serif;
  text-align: center;
  line-height: 1.3;
  max-width: 90px;
}

@media (max-width: 768px) {
  .diocese-logos-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .partner-diocese-link img {
    width: 52px;
    height: 52px;
  }

  .partner-diocese-link .pd-name {
    font-size: 0.7rem;
  }

  .partner-dioceses-row {
    gap: 20px;
  }
}

/* ===== RESPONSIVE - TABLET ===== */
@media (max-width: 1024px) {
  .nav-container {
    padding: 0 24px;
  }

  .nav-logo img {
    height: 60px;
  }

  .dropdown-menu {
    min-width: 600px;
  }

  .dropdown-columns {
    grid-template-columns: 1fr 1fr;
  }

  .dropdown-content {
    padding: 30px;
  }

  .hero-content h1 {
    font-size: 2.8rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }

  .hero {
    margin-top: 140px;
    min-height: 450px;
  }

  .who-we-are-section {
    padding: 60px 24px;
  }

  .who-we-are-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .who-we-are-content {
    padding-right: 0;
    text-align: center;
  }

  .who-we-are-title {
    justify-content: center;
  }

  .cathedral-circle {
    width: 450px;
    height: 450px;
  }

  .bishops-letter-section {
    padding: 60px 24px;
  }

  .bishops-letter-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .bishops-letter-content {
    padding-left: 0;
    text-align: center;
  }

  .bishops-letter-title {
    justify-content: center;
    flex-direction: row-reverse;
  }

  .bishops-letter-content p {
    text-align: center;
  }

  .bishop-circle {
    width: 450px;
    height: 450px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .quick-links {
    grid-template-columns: repeat(2, 1fr);
  }

  .church-logo-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .church-logo-placeholder {
    max-width: 250px;
    margin: 0 auto;
  }

  .mailing-list-signup {
    max-width: 500px;
    margin: 0 auto;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .footer-links {
    flex-direction: column;
    align-items: center;
  }
}

/* ===== RESPONSIVE - MOBILE ===== */
@media (max-width: 640px) {
  /* Navigation - Mobile Optimized */
  .nav-container {
    flex-direction: column;
    padding: 12px 16px;
    gap: 12px;
  }

  .nav-logo {
    padding: 8px 0;
    text-align: center;
    width: 100%;
  }

  .nav-logo img {
    height: 50px;
  }

  .nav-right {
    align-items: center;
    width: 100%;
    gap: 12px;
  }

  /* Top Links - Mobile */
  .top-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 20px;
    padding-top: 0;
    width: 100%;
  }

  .top-links a {
    font-size: 13px;
  }

  /* CRITICAL: Main Dropdowns Side-by-Side on Mobile */
  .main-dropdowns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    width: 100%;
    max-width: 100%;
  }

  .dropdown {
    width: 100%;
  }

  .dropdown-toggle {
    padding: 12px 8px;
    font-size: 13px;
    width: 100%;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
  }

  .dropdown-toggle i {
    font-size: 10px;
  }

  /* Dropdown Menu - Mobile */
  .dropdown-menu {
    position: fixed;
    top: auto;
    left: 0;
    right: 0;
    transform: none;
    min-width: 100%;
    max-width: 100%;
    width: 100%;
    max-height: 70vh;
    overflow-y: auto;
  }

  /* .dropdown:hover .dropdown-menu {
    opacity: 0;
    visibility: hidden;
  } */

  .dropdown-content {
    padding: 20px 16px;
  }

  .dropdown-intro {
    margin-bottom: 20px;
    padding-bottom: 15px;
  }

  .dropdown-intro h2 {
    font-size: 20px;
    gap: 8px;
  }

  .dropdown-intro i {
    font-size: 18px;
  }

  .dropdown-intro p {
    font-size: 13px;
  }

  .dropdown-columns {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .dropdown-column h3 {
    font-size: 15px;
    margin-bottom: 10px;
  }

  .dropdown-column ul li {
    margin-bottom: 8px;
  }

  .dropdown-column ul li a {
    font-size: 13px;
  }

  /* Hero - Mobile */
  .hero {
    min-height: 400px;
    margin-top: 200px;
  }

  .hero-content {
    padding: 30px 16px;
    max-width: 100%;
  }

  .hero-content h1 {
    font-size: 2rem;
    margin-bottom: 15px;
  }

  .hero-content p {
    font-size: 1rem;
    margin-bottom: 20px;
    padding: 0 10px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 12px;
    align-items: center;
    justify-content: center;
    width: 100%;
  }

  .btn {
    width: 100%;
    max-width: 280px;
    padding: 14px 30px;
    text-align: center;
    justify-content: center;
  }

  /* Who We Are - Mobile */
  .who-we-are-section {
    padding: 40px 16px;
  }

  .who-we-are-title h2 {
    font-size: 1.8rem;
  }

  .who-we-are-icon {
    width: 45px;
    height: 45px;
    font-size: 20px;
  }

  .cathedral-circle {
    width: 100%;
    max-width: 320px;
    height: 320px;
  }

  .who-we-are-content p {
    font-size: 1rem;
  }

  .who-we-are-link {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .bishops-letter-section {
    padding: 40px 16px;
  }

  .bishops-letter-title h2 {
    font-size: 1.8rem;
  }

  .bishops-letter-icon {
    width: 45px;
    height: 45px;
    font-size: 20px;
  }

  .bishops-letter-content p {
    font-size: 1rem;
  }

  .bishops-letter-link {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .bishop-circle {
    max-width: 320px;
    height: 320px;
  }

  /* Footer - Mobile */
  .footer {
    padding: 40px 16px 20px;
  }

  .footer::before {
    background-size: 120px 150px;
  }

  .footer-section h3 {
    font-size: 18px;
  }

  .footer-section p {
    font-size: 14px;
  }

  .quick-links {
    grid-template-columns: 1fr;
  }

  .quick-links a {
    font-size: 14px;
  }

  .phone-number {
    font-size: 16px;
  }

  .church-logo-section {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .church-logo-placeholder {
    max-width: 250px;
    margin: 0 auto;
  }

  .mailing-list-signup {
    padding: 24px;
  }

  .mailing-list-signup h3 {
    font-size: 20px;
  }

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

  .signup-button {
    width: 100%;
    justify-content: center;
  }

  .footer-bottom {
    font-size: 12px;
  }
}

/* ===== EXTRA SMALL DEVICES ===== */
@media (max-width: 375px) {
  .nav-logo img {
    height: 45px;
  }

  .dropdown-toggle {
    font-size: 12px;
    padding: 10px 6px;
  }

  .top-links a {
    font-size: 12px;
  }

  .hero {
    margin-top: 180px;
    min-height: 350px;
  }

  .hero-content h1 {
    font-size: 1.6rem;
  }

  .hero-content p {
    font-size: 0.9rem;
  }

  .who-we-are-title h2 {
    font-size: 1.5rem;
  }

  .cathedral-circle {
    max-width: 280px;
    height: 280px;
  }

  .bishops-letter-title h2 {
    font-size: 1.5rem;
  }

  .bishop-circle {
    max-width: 280px;
    height: 280px;
  }

  .mailing-list-signup {
    padding: 20px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   MOBILE FIXES FOR RETREAT HOUSES PAGE
   ───────────────────────────────────────────────────────────────
   Add these styles to the retreat-houses.html <style> block,
   replacing the existing mobile responsive section
═══════════════════════════════════════════════════════════════ */

/* ── RESPONSIVE - SMALL TABLET ── */
@media (max-width: 900px) {
  .retreat-stage {
    padding: 0 8px;
  }

  .stage-arrow {
    width: 55px;
    height: 55px;
    font-size: 1.3rem;
  }

  .card-title-bar {
    padding: 16px 24px;
  }

  .card-title-bar h2 {
    font-size: 1.4rem;
  }

  .card-desc p {
    font-size: 0.96rem;
  }
}

/* ── RESPONSIVE - TABLET ── */
@media (max-width: 768px) {
  .retreat-section {
    padding: 60px 0 80px;
  }

  .retreat-stage {
    padding: 0 8px;
  }

  .stage-arrow {
    width: 48px;
    height: 48px;
    font-size: 1.15rem;
  }

  .stage-arrow.left {
    margin-right: 8px;
  }

  .stage-arrow.right {
    margin-left: 8px;
  }

  /* Rearrange photo grid: main photo on top, 4 thumbnails below */
  .card-photo-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 240px 120px;
    gap: 4px;
  }

  .photo-main {
    grid-row: 1;
    grid-column: 1;
  }

  .photo-right {
    grid-row: 2;
    grid-column: 1;
    grid-template-rows: 1fr;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
  }

  /* Stack info row vertically */
  .card-info-row {
    grid-template-columns: 1fr;
  }

  .card-desc {
    padding: 22px 24px;
  }

  .card-desc p {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .card-details {
    min-width: unset;
    padding: 22px 24px;
    border-radius: 0 0 10px 10px;
    gap: 12px;
  }

  .detail-row {
    font-size: 0.88rem;
  }

  .card-title-bar {
    padding: 15px 20px;
  }

  .card-title-bar h2 {
    font-size: 1.3rem;
  }

  /* Lightbox adjustments */
  .lb-stage {
    padding: 0 55px;
  }

  .lb-nav {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }

  .lb-stage img {
    max-height: calc(100vh - 250px);
  }
}

/* ── RESPONSIVE - MOBILE ── */
@media (max-width: 640px) {
  .page-header {
    margin-top: 200px;
    padding: 40px 20px;
  }

  .page-header h2 {
    font-size: 2rem;
  }

  .retreat-section {
    padding: 40px 0 60px;
  }

  /* Smaller stage arrows on mobile */
  .retreat-stage {
    padding: 0 4px;
  }

  .stage-arrow {
    width: 42px;
    height: 42px;
    font-size: 1rem;
    border-radius: 5px;
  }

  .stage-arrow.left {
    margin-right: 6px;
  }

  .stage-arrow.right {
    margin-left: 6px;
  }

  /* Adjust card */
  .retreat-card {
    border-radius: 8px;
  }

  .card-title-bar {
    padding: 14px 18px;
    border-radius: 8px 8px 0 0;
  }

  .card-title-bar h2 {
    font-size: 1.15rem;
    letter-spacing: 0.3px;
  }

  /* Photo grid - maintain main + 4 thumbs layout */
  .card-photo-grid {
    grid-template-rows: 200px 100px;
    gap: 3px;
  }

  .photo-right {
    gap: 3px;
  }

  /* Overlay text smaller */
  .overlay-plus i {
    font-size: 2rem;
  }

  .overlay-plus span {
    font-size: 0.7rem;
    letter-spacing: 1.2px;
  }

  /* Info section */
  .card-desc {
    padding: 18px 16px;
  }

  .card-desc p {
    font-size: 0.9rem;
    line-height: 1.65;
  }

  .card-details {
    padding: 18px 16px;
    gap: 11px;
    border-radius: 0 0 8px 8px;
  }

  .detail-row {
    font-size: 0.85rem;
  }

  .detail-row i {
    font-size: 0.9rem;
    width: 16px;
  }

  /* Dots */
  .retreat-dots {
    margin-top: 22px;
    gap: 8px;
  }

  .retreat-dot {
    width: 10px;
    height: 10px;
  }

  .retreat-dot.active {
    transform: scale(1.25);
  }

  /* Lightbox mobile */
  .lb-header {
    padding: 12px 16px;
  }

  .lb-title {
    font-size: 0.85rem;
  }

  .lb-close {
    font-size: 1.6rem;
  }

  .lb-stage {
    padding: 0 45px;
  }

  .lb-stage img {
    max-height: calc(100vh - 240px);
  }

  .lb-nav {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .lb-nav.prev {
    left: 4px;
  }

  .lb-nav.next {
    right: 4px;
  }

  .lb-counter {
    font-size: 0.78rem;
    padding: 5px 0;
  }

  .lb-thumbs {
    padding: 8px 16px 14px;
    gap: 6px;
  }

  .lb-thumb {
    width: 60px;
    height: 45px;
  }

  /* Footer */
  .footer {
    padding: 40px 16px 20px;
  }

  .quick-links {
    grid-template-columns: 1fr;
  }
}

/* ── RESPONSIVE - EXTRA SMALL (iPhone SE, etc.) ── */
@media (max-width: 400px) {
  .stage-arrow {
    width: 38px;
    height: 38px;
    font-size: 0.95rem;
  }

  .card-title-bar h2 {
    font-size: 1.05rem;
  }

  .card-photo-grid {
    grid-template-rows: 180px 90px;
  }

  .card-desc p {
    font-size: 0.88rem;
  }

  .detail-row {
    font-size: 0.82rem;
  }

  .retreat-dots {
    gap: 7px;
  }

  .retreat-dot {
    width: 9px;
    height: 9px;
  }
}

/* ── LANDSCAPE MODE ON MOBILE ── */
@media (max-width: 896px) and (orientation: landscape) {
  .page-header {
    margin-top: 140px;
    padding: 30px 20px;
  }

  .page-header h2 {
    font-size: 2rem;
  }

  .retreat-section {
    padding: 30px 0 50px;
  }

  .card-photo-grid {
    grid-template-rows: 160px 90px;
  }

  .card-desc,
  .card-details {
    padding: 16px 18px;
  }

  .lb-stage img {
    max-height: calc(100vh - 200px);
  }
}
