body {
  overflow-x: hidden;
}

/* Wesley Church Navbar – No Overflow, Fully Responsive */
.wesley-navbar {
    background: #ffffff;
    border-bottom: 1px solid rgba(212,175,55,0.15);
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 1030;
    font-family: 'Crimson Text', serif;
}

.church-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    color: #1a3e5e;
    line-height: 1.2;
}

.church-place {
    font-size: 0.8rem;
    letter-spacing: 1.2px;
    color: #d4af37;
}

.wesley-primary-navbar .nav-link {
    color: #2c3e50 !important;
    font-weight: 600;
    font-size: 16px;
    padding: 8px 14px !important;
    border-radius: 30px;
    white-space: nowrap;
    transition: all 0.35s ease;
    font-family: 'Playfair Display', serif;
}

.wesley-primary-navbar .nav-link:hover,
.wesley-primary-navbar .nav-link.active {
    color: #d4af37 !important;
    background: rgba(212,175,55,0.12);
}

/* Dropdowns */
.wesley-primary-navbar .dropdown-menu {
    border: none;
    border-radius: 14px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.12);
    margin-top: 8px;
    min-width: 210px;
    padding: 8px 0;
}

.wesley-primary-navbar .dropdown-item {
    padding: 10px 20px;
    font-size: 0.95rem;
    color: #2c3e50;
}

.wesley-primary-navbar .dropdown-item:hover {
    background: rgba(212,175,55,0.15);
    color: #1a3e5e;
    padding-left: 26px;
}

/* Nav Links */
.wesley-navbar .nav-link {
    color: #2c3e50 !important;
    font-weight: 600;
    font-size: 14px;
    padding: 8px 14px !important;
    border-radius: 30px;
    white-space: nowrap;
    transition: all 0.35s ease;
}

.wesley-navbar .nav-link:hover,
.wesley-navbar .nav-link.active {
    color: #d4af37 !important;
    background: rgba(212,175,55,0.12);
}

/* Dropdowns */
.wesley-navbar .dropdown-menu {
    border: none;
    border-radius: 14px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.12);
    margin-top: 8px;
    min-width: 210px;
    padding: 8px 0;
}

.wesley-navbar .dropdown-item {
    padding: 10px 20px;
    font-size: 0.95rem;
    color: #2c3e50;
}

.wesley-navbar .dropdown-item:hover {
    background: rgba(212,175,55,0.15);
    color: #1a3e5e;
    padding-left: 26px;
}

/* Golden Button */
.btn-gold {
    background: #d4af37;
    color: #1a3e5e;
    font-weight: 700;
    font-size: 0.92rem;
    padding: 10px 20px;
    white-space: nowrap;
}

.btn-gold:hover {
    background: #1a3e5e;
    color: white;
}

/* Social Icons */
.social-icon {
    font-size: 1.3rem;
    opacity: 0.8;
    transition: all 0.3s;
}

.social-icon:hover {
    color: #d4af37 !important;
    opacity: 1;
}

@media (max-width: 1100px) {
    .wesley-primary-navbar .container-fluid {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .navbar-brand {
        font-size: 0.9rem;
    }

    .church-name {
        font-size: 1.25rem;
    }

    .church-place {
        display: none;
    }

    .wesley-primary-navbar .navbar-collapse {
        background: #fdfdfd;
        margin-top: 12px;
        border-radius: 16px;
        padding: 16px;
        max-height: 80vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .wesley-primary-navbar .nav-link {
        padding: 12px 16px !important;
        font-size: 1.05rem;
    }

    .btn-gold {
        width: 100%;
        max-width: 280px;
        margin: 20px auto 8px !important;
        display: block;
    }

    /* Social icons below button on mobile */
    .d-none.d-md-flex {
        display: flex !important;
        justify-content: center;
        gap: 20px;
        margin: 15px 0 10px;
    }
}

/* MOBILE – NO OVERFLOW GUARANTEED */
@media (max-width: 1100px) {
    .wesley-navbar .container-fluid {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .navbar-brand {
        font-size: 0.9rem;
    }

    .church-name {
        font-size: 1.25rem;
    }

    .church-place {
        display: none;
    }

    .wesley-navbar .navbar-collapse {
        background: #fdfdfd;
        margin-top: 12px;
        border-radius: 16px;
        padding: 16px;
        max-height: 80vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .wesley-navbar .nav-link {
        padding: 12px 16px !important;
        font-size: 1.05rem;
    }

    .btn-gold {
        width: 100%;
        max-width: 280px;
        margin: 20px auto 8px !important;
        display: block;
    }

    /* Social icons below button on mobile */
    .d-none.d-md-flex {
        display: flex !important;
        justify-content: center;
        gap: 20px;
        margin: 15px 0 10px;
    }
}
/* Church Gallery Section */
.church-gallery-section {
    background: linear-gradient(to bottom, #faf9f6 0%, #f0ede5 100%);
    font-family: 'Crimson Text', serif;
    padding: 120px 0 100px;
    position: relative;
    overflow: hidden;
}

/* .church-gallery-section::before {
    content: 'Cross';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: 380px;
    color: rgba(212, 175, 55, 0.05);
    pointer-events: none;
    z-index: 0;
} */

/* Section Header - Reused */
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: #1a3e5e;
    margin-bottom: 12px;
}

.section-subtitle {
    color: #5d6d7e;
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    padding: 20px 0;
}

.gallery-item {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    background: white;
    border: 1px solid rgba(212,175,55,0.15);
    aspect-ratio: 4 / 3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(212,175,55,0.25);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent, rgba(26,62,94,0.7));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 2.5rem;
    color: #d4af37;
    text-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

/* Fancybox Custom Styling */
.fancybox__caption {
    font-family: 'Crimson Text', serif;
    font-size: 1.1rem;
    color: #fff;
    background: rgba(26,62,94,0.9);
    padding: 12px 20px;
    border-radius: 8px;
}

.fancybox__toolbar {
    background: rgba(26,62,94,0.95);
}

/* Responsive */
@media (max-width: 992px) {
    .section-title { font-size: 2.4rem; }
    .church-gallery-section { padding: 100px 0 80px; }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 18px;
    }
    .church-gallery-section { padding: 80px 0 60px; }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .gallery-item {
        border-radius: 12px;
    }
}

/* Church Events Section */
.church-events-section {
    background: linear-gradient(to bottom, #faf9f6 0%, #f0ede5 100%);
    font-family: 'Crimson Text', serif;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

/* .church-events-section::before {
    content: 'Cross';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: 350px;
    color: rgba(212, 175, 55, 0.05);
    pointer-events: none;
    z-index: 0;
} */

/* Section Header - Reused from previous sections */
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: #1a3e5e;
    margin-bottom: 12px;
}
.section-subtitle {
    color: #5d6d7e;
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Filter Buttons */
.event-filters .filter-btn {
    background: white;
    color: #1a3e5e;
    border: 2px solid #d4af37;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.event-filters .filter-btn:hover,
.event-filters .filter-btn.active {
    background: #d4af37;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(212,175,55,0.3);
}

/* Event Card */
.event-card {
    display: block;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    height: 100%;
    border: 1px solid rgba(212,175,55,0.15);
}

.event-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(212,175,55,0.25);
}

.event-image {
    position: relative;
    overflow: hidden;
}

.event-image img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.event-card:hover .event-image img {
    transform: scale(1.08);
}

.event-date-overlay {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #d4af37;
    color: white;
    padding: 8px 12px;
    border-radius: 12px;
    text-align: center;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.event-date-overlay .day {
    font-size: 1.8rem;
    display: block;
    line-height: 1;
}

.event-date-overlay .month {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.event-content {
    padding: 25px;
}

.event-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: #1a3e5e;
    margin-bottom: 12px;
    line-height: 1.3;
}

.event-meta,
.event-place {
    color: #7f8c8d;
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.event-meta i,
.event-place i {
    color: #d4af37;
    margin-right: 8px;
}

.event-desc {
    color: #5d6d7e;
    font-size: 1rem;
    line-height: 1.6;
    margin-top: 12px;
}

/* Pagination - Same style as Downloads page */
.pagination .page-link {
    background: white;
    color: #1a3e5e;
    border: 2px solid #d4af37;
    border-radius: 50px;
    padding: 10px 18px;
    margin: 0 6px;
    font-weight: 600;
    transition: all 0.3s;
}

.pagination .page-item.active .page-link,
.pagination .page-link:hover {
    background: #d4af37;
    color: white;
    border-color: #d4af37;
}

/* Responsive */
@media (max-width: 992px) {
    .section-title { font-size: 2.4rem; }
    .church-events-section { padding: 100px 0; }
}

@media (max-width: 768px) {
    .church-events-section { padding: 80px 0; }
    .event-image img { height: 200px; }
    .event-content { padding: 20px; }
}

@media (max-width: 576px) {
    .event-filters .filter-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
        margin-bottom: 10px;
    }
}

/* Church Hero Section */
.church-hero-section {
    position: relative;
    height: 100vh;
    min-height: 650px;
    display: flex;
    align-items: center;
    overflow: hidden;
    font-family: 'Crimson Text', serif;
    color: white;
}

/* Background Video */
.bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 0;
}

/* Subtle Cross Watermark */
/* .cross-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 90vmin;
    color: rgba(212, 175, 55, 0.04);
    pointer-events: none;
    z-index: 1;
    font-weight: bold;
    user-select: none;
} */

/* Overlay */
.overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(26, 62, 94, 0.75) 0%,
        rgba(26, 62, 94, 0.6) 50%,
        rgba(26, 62, 94, 0.85) 100%
    );
    z-index: 2;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 3;
    max-width: 750px;
    animation: fadeInUp 1.2s ease-out;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    color: white;
    text-shadow: 0 4px 20px rgba(0,0,0,0.6);
}

.hero-title .highlight {
    color: #d4af37;
    font-style: italic;
}

.hero-subtitle {
    font-size: 1.35rem;
    line-height: 1.7;
    color: #e8e8e8;
    margin-bottom: 30px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    max-width: 680px;
}

/* Buttons */
.hero-buttons .btn-primary-gold,
.hero-buttons .btn-outline-gold {
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    text-align: center;
}

/* Mobile: full-width buttons, stacked */
@media (max-width: 767.98px) {
    .hero-buttons .btn-primary-gold,
    .hero-buttons .btn-outline-gold {
        display: block !important;
        width: 100%;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    .hero-buttons .btn-outline-gold {
        margin-left: 0 !important;
        margin-top: 16px !important;
    }
}

/* Tablet & up: side by side again */
@media (min-width: 768px) {
    .hero-buttons .btn-outline-gold {
        margin-left: 1.5rem;
    }
}

.hero-image img {
    position: relative;
    z-index: 4;
    max-width: 100%; 
    height: auto; 
    border-radius: 10px;
}

.btn-primary-gold {
    background: #d4af37;
    color: #1a3e5e;
}

.btn-primary-gold:hover {
    background: white;
    color: #1a3e5e;
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(212,175,55,0.5);
}

.btn-outline-gold {
    background: transparent;
    color: white;
    border: 2px solid #d4af37;
}

.btn-outline-gold:hover {
    background: #d4af37;
    color: #1a3e5e;
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(212,175,55,0.4);
}

/* Fade In Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* Responsive */
@media (max-width: 1200px) {
    .hero-title { font-size: 4rem; }
}

@media (max-width: 992px) {
    .hero-title { font-size: 3.5rem; }
    .hero-subtitle { font-size: 1.25rem; }
}

@media (max-width: 768px) {
    .church-hero-section { height: 90vh; }
    .hero-title { font-size: 3rem; }
    .hero-subtitle { font-size: 1.15rem; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons a { margin: 10px 0; text-align: center; }
    .btn-outline-gold { margin-left: 0 !important; }
}

@media (max-width: 576px) {
    .hero-title { font-size: 2.6rem; }
    .hero-subtitle { font-size: 1.1rem; }
    .cross-watermark { font-size: 70vmin; }
}

/* Church Event Detail Page */
.church-event-detail {
    background: linear-gradient(to bottom, #faf9f6 0%, #f0ede5 100%);
    font-family: 'Crimson Text', serif;
    padding: 120px 0 100px;
    position: relative;
    overflow: hidden;
}

/* .church-event-detail::before {
    content: 'Cross';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: 90vmin;
    color: rgba(212, 175, 55, 0.04);
    pointer-events: none;
} */

.event-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: #1a3e5e;
    margin-bottom: 10px;
}

/* Event Hero Image – Full Width & Perfect Height */
.event-image-wrapper {
    position: relative;
    width: 100%;
    height: 520px;              /* You can adjust this height as you like */
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.18);
    margin-bottom: 40px;
    background: #1a3e5e;        /* fallback color while image loads */
}

.event-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;          /* Ensures image fills the area beautifully */
    object-position: center;    /* Keeps the focus on the center (church, people, etc.) */
    transition: transform 0.6s ease;
}

/* Optional: Subtle zoom on hover – looks very elegant */
.event-image-wrapper:hover img {
    transform: scale(1.05);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .event-image-wrapper {
        height: 420px;
        border-radius: 20px;
    }
}

@media (max-width: 768px) {
    .event-image-wrapper {
        height: 360px;
        border-radius: 18px;
    }
}

@media (max-width: 576px) {
    .event-image-wrapper {
        height: 280px;
        border-radius: 16px;
    }
}

.event-details-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    border: 1px solid rgba(212,175,55,0.15);
}

.event-description {
    font-size: 1.25rem;
    line-height: 1.9;
    color: #2c3e50;
}

.event-info-box {
    background: #f8f6f0;
    padding: 25px;
    border-radius: 15px;
    border-left: 5px solid #d4af37;
}

.event-info-box h4 {
    font-family: 'Playfair Display', serif;
    color: #1a3e5e;
    margin-bottom: 20px;
}

.event-info-box ul li {
    margin: 15px 0;
    font-size: 1.1rem;
    color: #2c3e50;
}

.text-gold { 
    color: #d4af37; 
    margin-right: 10px; 
}

/* Buttons */
.btn-rsvp,
.btn-view-all {
    display: inline-block;
    background: #1a3e5e;
    color: white;
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(26,62,94,0.3);
}

.btn-rsvp:hover,
.btn-view-all:hover {
    background: #d4af37;
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(212,175,55,0.4);
}

/* Related Events Cards */
.event-card {
    display: block;
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    border: 1px solid rgba(212,175,55,0.15);
}

.event-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(212,175,55,0.25);
}

.event-card .event-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.event-card .event-content {
    padding: 20px;
}

.event-card h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: #1a3e5e;
    margin-bottom: 10px;
}

.event-card .event-meta {
    color: #7f8c8d;
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 992px) {
    .event-title { font-size: 2.6rem; }
    .event-details-card { padding: 30px; }
}

@media (max-width: 768px) {
    .church-event-detail { padding: 100px 0 80px; }
    .event-info-box { margin-top: 30px; }
}

/* Church Downloads Section */
.church-downloads {
    background: linear-gradient(to bottom, #faf9f6 0%, #f0ede5 100%);
    font-family: 'Crimson Text', serif;
    padding: 120px 0;
    position: relative;
}

/* .church-downloads::before {
    content: 'Cross';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 320px;
    color: rgba(212, 175, 55, 0.05);
    pointer-events: none;
} */

/* Header */
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: #1a3e5e;
    margin-bottom: 12px;
}

.section-subtitle {
    color: #5d6d7e;
    font-size: 1.2rem;
}

/* Filter Buttons */
.filter-btn {
    background: white;
    color: #1a3e5e;
    border: 2px solid #d4af37;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.filter-btn:hover,
.filter-btn.active {
    background: #d4af37;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(212,175,55,0.3);
}

/* Download Card */
.download-card {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    padding: 20px;
    height: 100%;
    border: 1px solid rgba(212,175,55,0.15);
}

.download-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(212,175,55,0.2);
}

.download-card .icon img {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

.download-card .content {
    flex: 1;
    padding: 0 20px;
}

.download-card h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    color: #1a3e5e;
    margin-bottom: 8px;
    line-height: 1.3;
}

.download-card .date {
    color: #7f8c8d;
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.type-badge {
    display: inline-block;
    font-size: 0.8rem;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.type-badge.newsletter      { background: #e8f4fd; color: #2980b9; }
.type-badge.order_of_service { background: #fdf4e3; color: #d4af37; }
.type-badge.liturgy         { background: #e8f5e9; color: #27ae60; }

/* Download Button */
.download-btn {
    width: 50px;
    height: 50px;
    background: #1a3e5e;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.4s ease;
    box-shadow: 0 6px 20px rgba(26,62,94,0.3);
}

.download-btn:hover {
    background: #d4af37;
    transform: scale(1.15);
    box-shadow: 0 12px 30px rgba(212,175,55,0.4);
}

/* Pagination */
.pagination .page-link {
    background: white;
    color: #1a3e5e;
    border: 2px solid #d4af37;
    border-radius: 50px;
    padding: 8px 16px;
    margin: 0 5px;
    font-weight: 600;
}

.pagination .page-item.active .page-link,
.pagination .page-link:hover {
    background: #d4af37;
    color: white;
    border-color: #d4af37;
}

/* Responsive */
@media (max-width: 768px) {
    .church-downloads { padding: 80px 0; }
    .section-title { font-size: 2.3rem; }
    .download-card { flex-direction: column; text-align: center; }
    .download-card .content { padding: 15px 0; }
    .download-btn { margin-top: 15px; }
}

/* Church Contact Section */
.church-contact-section {
    font-family: 'Crimson Text', serif;
    background: linear-gradient(to bottom, #faf9f6 0%, #f0ede5 100%);
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.08) 0%, transparent 50%);
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

.church-contact-section::before {
    content: '✝';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 300px;
    color: rgba(212, 175, 55, 0.05);
    pointer-events: none;
    z-index: 0;
}

/* Titles */
.contact-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: #1a3e5e;
    font-weight: 700;
    margin-bottom: 10px;
}

.title-underline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
}

.title-underline .line {
    height: 2px;
    width: 80px;
    background: linear-gradient(to right, transparent, #d4af37, transparent);
}

.title-underline .cross-left,
.title-underline .cross-right {
    font-size: 24px;
    color: #d4af37;
}

/* Contact Info */
.contact-info {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    position: relative;
    z-index: 1;
}

.address p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #2c3e50;
    margin-bottom: 8px;
}

.contact-details p {
    font-size: 1.15rem;
    margin: 18px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #2c3e50;
}

.contact-details i {
    color: #d4af37;
    font-size: 1.3rem;
    width: 30px;
}

.contact-details a {
    color: #1a3e5e;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-details a:hover {
    color: #d4af37;
}

.social-icons {
    display: flex;              /* This is the key */
    justify-content: center;    /* Perfectly centers the icons */
    gap: 20px;                  /* Better than margin (no collapse issues) */
    margin-top: 30px;
    flex-wrap: wrap;
}

.social-icons a {
    display: inline-flex;            /* flex instead of block for perfect vertical centering */
    align-items: center;             /* vertically center the icon */
    justify-content: center;         /* horizontally center the icon */
    width: 50px;
    height: 50px;
    line-height: 50px;               /* fallback for older browsers */
    background: #1a3e5e;
    color: white;
    border-radius: 50%;
    font-size: 1.3rem;
    transition: all 0.4s ease;
    /* Remove this line → transform: translate(10px, 10px); */
}

.social-icons a:hover {
    background: #d4af37;
    transform: translateY(-6px);     /* Only lift on hover – looks elegant */
    box-shadow: 0 12px 25px rgba(212, 175, 55, 0.35);
}

/* QR Code */
.qr-wrapper {
    position: relative;
    display: inline-block;
}

.scan-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: #1a3e5e;
    margin-bottom: 10px;
}

.scan-subtitle {
    color: #5d6d7e;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.qr-code {
    max-width: 280px;
    border: 12px solid white;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s;
}

.qr-code:hover {
    transform: scale(1.05);
}

.qr-border {
    position: absolute;
    inset: -15px;
    border: 3px solid #d4af37;
    border-radius: 25px;
    opacity: 0.4;
}

/* Responsive */
@media (max-width: 992px) {
    .contact-title { font-size: 2.4rem; }
    .scan-title { font-size: 2rem; }
}

@media (max-width: 768px) {
    .church-contact-section { padding: 80px 0; }
    .contact-title { font-size: 2.2rem; }
    .contact-info { margin-bottom: 40px; }
    .qr-code { max-width: 240px; }
}

@media (max-width: 576px) {
    .title-underline .line { width: 50px; }
    .contact-info { padding: 30px 20px; }
}

/* Latest News & Announcements Section */
.church-news-section {
    background: #faf9f6;
    font-family: 'Crimson Text', serif;
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: #1a3e5e;
    margin-bottom: 10px;
}

.section-subtitle {
    color: #5d6d7e;
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* News Card */
.news-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
}

.news-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(212,175,55,0.2);
}

.news-date {
    background: linear-gradient(135deg, #d4af37, #b8972e);
    color: white;
    width: 80px;
    text-align: center;
    padding: 15px 0;
    font-weight: bold;
    flex-shrink: 0;
}

.news-date .day {
    font-size: 2.2rem;
    display: block;
    line-height: 1;
}

.news-date .month {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.news-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-content h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    color: #1a3e5e;
    margin-bottom: 8px;
}

.news-meta {
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 12px;
}

.news-content p {
    flex-grow: 1;
    color: #444;
    line-height: 1.6;
    margin-bottom: 15px;
}

.read-more {
    color: #d4af37;
    font-weight: 600;
    text-decoration: none;
    align-self: flex-start;
    transition: all 0.3s;
}

.read-more:hover {
    color: #1a3e5e;
    padding-left: 8px;
}

/* View All Button */
.btn-view-all {
    display: inline-block;
    background: #1a3e5e;
    color: white;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s;
    box-shadow: 0 8px 25px rgba(26,62,94,0.3);
}

.btn-view-all:hover {
    background: #d4af37;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(212,175,55,0.4);
}

/* Responsive */
@media (max-width: 768px) {
    .section-title { font-size: 2.3rem; }
    .church-news-section { padding: 80px 0; }
    .news-card { flex-direction: column; }
    .news-date { width: 100%; padding: 12px 0; }
    .news-date .day { font-size: 2rem; }
}
/* Church Moments Carousel */
.church-moments-carousel {
    background: linear-gradient(to bottom, #faf9f6 0%, #f0ede5 100%);
    font-family: 'Crimson Text', serif;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

/* .church-moments-carousel::before {
    content: 'Cross';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: 360px;
    color: rgba(212, 175, 55, 0.05);
    pointer-events: none;
    z-index: 0;
} */

.carousel-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.carousel-image-wrapper img {
    height: 500px;
    object-fit: cover;
    transition: transform 8s ease;
}

.carousel-item:hover img {
    transform: scale(1.05);
}

/* Caption Styling */
.carousel-caption {
    background: linear-gradient(transparent, rgba(26,62,94,0.85));
    bottom: 0;
    left: 0;
    right: 0;
    padding: 60px 20px 30px;
    border-radius: 0 0 20px 20px;
}

.carousel-caption h5 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #d4af37;
    margin-bottom: 8px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

.carousel-caption p {
    font-size: 1.2rem;
    color: white;
    text-shadow: 0 2px 8px rgba(0,0,0,0.7);
}

/* Controls & Indicators */
.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    background: rgba(26,62,94,0.4);
    opacity: 0.8;
    transition: all 0.4s;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(212,175,55,0.7);
    opacity: 1;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #d4af37;
    border: 3px solid white;
    opacity: 0.6;
    margin: 0 6px;
}

.carousel-indicators .active {
    opacity: 1;
    transform: scale(1.3);
}

/* View Gallery Button */
.btn-view-gallery {
    display: inline-block;
    background: #1a3e5e;
    color: white;
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(26,62,94,0.3);
}

.btn-view-gallery:hover {
    background: #d4af37;
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(212,175,55,0.4);
}

/* Responsive */
@media (max-width: 992px) {
    .carousel-image-wrapper img { height: 420px; }
    .carousel-caption h5 { font-size: 1.7rem; }
}

@media (max-width: 768px) {
    .church-moments-carousel { padding: 90px 0; }
    .carousel-image-wrapper img { height: 350px; }
    .carousel-caption { padding: 40px 15px 20px; }
    .carousel-caption h5 { font-size: 1.5rem; }
}

@media (max-width: 576px) {
    .carousel-image-wrapper img { height: 280px; }
    .carousel-caption h5 { font-size: 1.3rem; }
    .carousel-caption p { font-size: 1rem; }
}

/* Church 404 Page */
.church-404-section {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(to bottom, #faf9f6 0%, #f0ede5 100%);
    font-family: 'Crimson Text', serif;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 100px 0;
}

/* .cross-watermark {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: 90vmin;
    color: rgba(212, 175, 55, 0.04);
    pointer-events: none;
    z-index: 0;
    font-weight: bold;
} */

.notfound-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

.error-code {
    font-family: 'Playfair Display', serif;
    font-size: 12rem;
    font-weight: 700;
    color: #d4af37;
    line-height: 1;
    margin-bottom: 0;
    text-shadow: 0 10px 30px rgba(212,175,55,0.3);
}

.error-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: #1a3e5e;
    margin: 20px 0;
}

.error-message {
    font-size: 1.3rem;
    color: #5d6d7e;
    line-height: 1.8;
    max-width: 680px;
    margin: 0 auto;
}

.scripture-quote {
    font-size: 1.4rem;
    color: #1a3e5e;
    font-style: italic;
    margin: 40px auto;
    max-width: 600px;
    padding: 20px;
    background: rgba(255,255,255,0.7);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

/* Buttons */
.error-actions .btn-home,
.error-actions .btn-contact {
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s ease;
    font-size: 1.1rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.btn-home {
    background: #d4af37;
    color: #1a3e5e;
}

.btn-home:hover {
    background: white;
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(212,175,55,0.5);
}

.btn-contact {
    background: transparent;
    color: #1a3e5e;
    border: 2px solid #d4af37;
}

.btn-contact:hover {
    background: #d4af37;
    color: #1a3e5e;
    transform: translateY(-4px);
}

.footer-note {
    font-size: 1rem;
    color: #7f8c8d;
}

/* Responsive */
@media (max-width: 992px) {
    .error-code { font-size: 9rem; }
    .error-title { font-size: 2.4rem; }
}

@media (max-width: 768px) {
    .church-404-section { padding: 80px 0; }
    .error-code { font-size: 7rem; }
    .error-title { font-size: 2.2rem; }
    .error-message { font-size: 1.2rem; }
    .error-actions a { display: block; margin: 12px auto; max-width: 280px; }
    .btn-contact { margin-left: 0 !important; }
}

@media (max-width: 576px) {
    .error-code { font-size: 5.5rem; }
    .scripture-quote { font-size: 1.2rem; padding: 15px; }
}

/* Church History Page */
.church-history-section {
    background: linear-gradient(to bottom, #faf9f6 0%, #f0ede5 100%);
    font-family: 'Crimson Text', serif;
    padding: 120px 0 100px;
    position: relative;
    overflow: hidden;
}

/* .cross-watermark {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: 90vmin;
    color: rgba(212, 175, 55, 0.04);
    pointer-events: none;
} */

.history-hero {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.18);
    max-height: 560px;
}

.history-hero img {
    width: 100%;
    height: 560px;
    object-fit: cover;
}

.hero-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(26,62,94,0.9));
    color: white;
    padding: 40px 30px 25px;
    font-size: 1.2rem;
    text-align: center;
}

/* Horizontal Timeline */
.horizontal-timeline {
    padding: 40px 0;
    margin: 60px 0;
    overflow: hidden;            
    position: relative;
}

/* .timeline-track {
    display: flex;
    gap: 40px;
    padding: 0 20px;
    min-width: 2500px; 
    position: relative;
    scroll-behavior: smooth;
} */

/* .timeline-track::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0; right: 0;
    height: 4px;
    background: linear-gradient(to right, transparent, #d4af37, transparent);
    z-index: 0;
} */

.timeline-track {
    display: flex;
    gap: 40px;
    padding: 60px 80px;        /* gives breathing room on left/right */
    overflow-x: scroll;
    overflow-y: hidden;
    scrollbar-width: none;       /* Firefox */
    -ms-overflow-style: none;
    
    scrollbar-width: none;
}
.timeline-track::-webkit-scrollbar {
    display: block;
}

.timeline-track::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 80px;    /* same as padding-left */
    right: 80px;   /* same as padding-right */
    height: 4px;
    background: #d4af37;
    transform: translateY(-50%);
    z-index: 0;
}

.timeline-track::before {
    border-radius: 2px;
}

/* Or even fancier - faded ends */
.timeline-track::before {
    background: linear-gradient(
        to right,
        transparent 0%,
        #d4af37 10%,
        #d4af37 90%,
        transparent 100%
    );
}

.timeline-item {
    flex: 0 0 280px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.year-badge {
    width: 90px;
    height: 90px;
    background: #1a3e5e;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: bold;
    box-shadow: 0 10px 30px rgba(26,62,94,0.4);
    border: 5px solid #d4af37;
}

.timeline-item.active .year-badge,
.timeline-item:hover .year-badge {
    background: #d4af37;
    color: #1a3e5e;
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(212,175,55,0.5);
}

.timeline-content {
    background: white;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid rgba(212,175,55,0.15);
    transition: all 0.4s ease;
}

.timeline-item:hover .timeline-content {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(212,175,55,0.2);
}

.timeline-content h4 {
    font-family: 'Playfair Display', serif;
    color: #1a3e5e;
    margin-bottom: 8px;
    font-size: 1.25rem;
}

.timeline-content p {
    font-size: 0.95rem;
    color: #5d6d7e;
    margin: 0;
}

.timeline-nav {
    position: absolute;
    top: 9%;
    left: 20px;
    right: 20px;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;     /* allows clicks only on buttons */
    z-index: 10;
}

@media (max-width: 992px) {
    .timeline-nav {
        display: none;          
    }

}

.nav-btn {
    pointer-events: all;
    background: rgba(26, 62, 94, 0.85);
    color: white;
    border: 3px solid #d4af37;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 1.8rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.nav-btn:hover {
    background: #d4af37;
    color: #1a3e5e;
    transform: scale(1.1);
}

.nav-btn:active {
    transform: scale(0.95);
}

/* Full Narrative Section */
.history-narrative {
    background: rgba(255,255,255,0.9);
    padding: 50px 30px;
    border-radius: 24px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.1);
    border: 1px solid rgba(212,175,55,0.2);
}

.narrative-content p {
    font-size: 1.25rem;
    line-height: 1.9;
    color: #2c3e50;
    margin-bottom: 24px;
    text-align: justify;
}

.narrative-content p:last-child { margin-bottom: 0; }

/* Responsive – On mobile, timeline becomes vertical stacked cards */
@media (max-width: 992px) {
    .timeline-track {
        flex-direction: column;
        min-width: auto;
        gap: 40px;
        padding: 40px 20px;
    }
    .timeline-track::before {
        left: 50px;
        top: 0; bottom: 0;
        width: 4px;
        height: 181%;
    }
    .timeline-item {
        flex-direction: row;
        text-align: left;
        flex: none;
    }
    .year-badge {
        margin: 0 20px 0 0;
        flex-shrink: 0;
    }
    .timeline-content { margin: 0; }
}

/* Closing Quote */
.closing-quote {
    background: rgba(255,255,255,0.8);
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.closing-quote blockquote {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #1a3e5e;
    font-style: italic;
    margin: 0;
}

.closing-quote cite {
    display: block;
    margin-top: 15px;
    font-size: 1.2rem;
    color: #d4af37;
}

/* Responsive */
@media (max-width: 992px) {
    .timeline::before { left: 50px; }
    .timeline-item { flex-direction: column !important; text-align: center; }
    .timeline-year { margin-bottom: 20px; }
    .timeline-content { max-width: 80%; margin: 0 auto; }
    .history-hero img, .history-hero { height: 420px; }
}

@media (max-width: 768px) {
    .church-history-section { padding: 100px 0 80px; }
    .closing-quote blockquote { font-size: 1.3rem; }
    .history-hero img, .history-hero { height: 320px; }
}

/* Church Leadership Page */
.church-leadership-section {
    background: linear-gradient(to bottom, #faf9f6 0%, #f0ede5 100%);
    font-family: 'Crimson Text', serif;
    padding: 120px 0 100px;
    position: relative;
    overflow: hidden;
}

/* .cross-watermark {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: 90vmin;
    color: rgba(212, 175, 55, 0.04);
    pointer-events: none;
} */

/* Presbyter Section */
.presbyter-image-wrapper {
    max-width: 380px;
    margin: 0 auto;
}

.presbyter-img {
    border-radius: 22px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    border: 6px solid white;
    transition: transform 0.5s ease;
}

.presbyter-img:hover {
    transform: scale(1.03);
}

.presbyter-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: #1a3e5e;
    margin-bottom: 8px;
}

.presbyter-name {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #d4af37;
    margin-bottom: 20px;
    font-weight: 600;
}

.contact-list li {
    font-size: 1.2rem;
    margin: 18px 0;
    color: #2c3e50;
}

.contact-link {
    color: #1a3e5e;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.contact-link:hover {
    color: #d4af37;
}

.presbyter-quote {
    font-size: 1.35rem;
    color: #5d6d7e;
    font-style: italic;
}

/* Committee Section */
.committee-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    color: #1a3e5e;
}

.leader-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 12px 35px rgba(0,0,0,0.09);
    border: 1px solid rgba(212,175,55,0.18);
    transition: all 0.4s ease;
    height: 100%;
}

.leader-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(212,175,55,0.25);
}

.leader-role {
    display: inline-block;
    background: #d4af37;
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.leader-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #1a3e5e;
    margin: 15px 0;
}

.leader-card .contact-list {
    margin-top: 20px;
}

.leader-card .contact-list i {
    width: 20px;
}

/* Closing Message */
.closing-message {
    background: rgba(255,255,255,0.9);
    border-radius: 24px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.1);
}

.closing-message blockquote {
    font-family: 'Playfair Display', serif;
    font-size: 1.9rem;
    color: #1a3e5e;
    font-style: italic;
    margin: 0;
}

/* Responsive */
@media (max-width: 992px) {
    .presbyter-title { font-size: 2rem; }
    .presbyter-name { font-size: 2.2rem; }
    .committee-title { font-size: 2.2rem; }
}

@media (max-width: 768px) {
    .church-leadership-section { padding: 100px 0 80px; }
    .presbyter-img { max-width: 300px; }
    .presbyter-info { text-align: center; margin-top: 30px; }
}

/* Church Statistics Page */
.church-stats-section {
    background: linear-gradient(to bottom, #faf9f6 0%, #f0ede5 100%);
    font-family: 'Crimson Text', serif;
    padding: 120px 0 100px;
    position: relative;
    overflow: hidden;
}

/* .cross-watermark {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: 90vmin;
    color: rgba(212, 175, 55, 0.04);
    pointer-events: none;
} */

.stat-card {
    background: white;
    border-radius: 24px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.1);
    border: 1px solid rgba(212,175,55,0.2);
    text-align: center;
}

.stat-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: #1a3e5e;
    margin-bottom: 8px;
}

.stat-subtitle {
    color: #5d6d7e;
    font-size: 1.15rem;
    margin-bottom: 30px;
}

.big-number {
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    font-weight: 700;
    color: #d4af37;
    text-shadow: 0 4px 15px rgba(212,175,55,0.3);
    margin: 20px 0;
}

.stat-detail {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 0;
}

.gender-stat {
    padding: 20px;
    background: #f8f6f0;
    border-radius: 16px;
    font-size: 1.4rem;
}

.gender-stat i {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
}

.gender-stat.male i   { color: #2980b9; }
.gender-stat.female i { color: #e74c3c; }

/* Clergy Items */
.clergy-item {
    background: #f8f6f0;
    padding: 25px;
    border-radius: 18px;
    text-align: center;
    border-left: 6px solid #d4af37;
}

.clergy-count {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: #1a3e5e;
    font-weight: bold;
}

.clergy-label {
    font-size: 1.3rem;
    color: #2c3e50;
    margin: 10px 0;
}

.clergy-item.honorary   { border-left-color: #27ae60; }
.clergy-item.missionary { border-left-color: #9b59b6; }
.clergy-item.staff      { border-left-color: #e67e22; }

/* Language Table */
.language-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 12px;
    margin-top: 20px;
}

.language-table th {
    background: #1a3e5e;
    color: white;
    padding: 18px;
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
}

.language-table td {
    background: white;
    padding: 18px;
    font-size: 1.2rem;
    border-bottom: 1px solid rgba(212,175,55,0.2);
}

.language-table tr:hover td {
    background: #fdfaf5;
}

.language-table .text-gold {
    font-weight: bold;
    color: #d4af37;
    font-size: 1.4rem;
}

/* Closing Scripture */
.closing-scripture {
    background: rgba(255,255,255,0.95);
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.closing-scripture blockquote {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: #1a3e5e;
    font-style: italic;
    margin: 0;
}

.closing-scripture cite {
    display: block;
    margin-top: 15px;
    font-size: 1.3rem;
    color: #d4af37;
}

/* Responsive */
@media (max-width: 992px) {
    .big-number { font-size: 4rem; }
    .clergy-count { font-size: 3rem; }
}

@media (max-width: 768px) {
    .church-stats-section { padding: 100px 0 80px; }
    .stat-card { padding: 30px; }
    .big-number { font-size: 3.5rem; }
    .closing-scripture blockquote { font-size: 1.2rem; }
}
/* Church Mission & Outreach Page */
.church-mission-section {
    background: linear-gradient(to bottom, #faf9f6 0%, #f0ede5 100%);
    font-family: 'Crimson Text', serif;
    padding: 120px 0 100px;
    position: relative;
    overflow: hidden;
}

/* .cross-watermark {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: 90vmin;
    color: rgba(212, 175, 55, 0.04);
    pointer-events: none;
} */

.mission-hero {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.18);
    max-height: 500px;
}

.mission-hero img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(26,62,94,0.9));
    padding: 60px 30px 30px;
    color: white;
    text-align: center;
}

.hero-caption {
    font-size: 1.5rem;
    font-style: italic;
}

/* Mission Statement */
.mission-statement {
    background: rgba(255,255,255,0.95);
    border-radius: 24px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.1);
}

.mission-statement blockquote {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: #1a3e5e;
    font-style: italic;
    margin: 0;
    line-height: 1.6;
}

/* Mission Cards */
.mission-card {
    background: white;
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    height: 100%;
    box-shadow: 0 12px 35px rgba(0,0,0,0.08);
    border: 1px solid rgba(212,175,55,0.18);
    transition: all 0.4s ease;
}

.mission-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 55px rgba(212,175,55,0.3);
}

.mission-icon {
    font-size: 3.5rem;
    color: #d4af37;
    margin-bottom: 20px;
    display: block;
}

.mission-card h3 {
    font-family: 'Playfair Display', serif;
    color: #1a3e5e;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.mission-card p {
    color: #5d6d7e;
    line-height: 1.7;
}

/* CTA Section */
.mission-cta {
    background: rgba(26,62,94,0.95);
    color: white;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.mission-cta h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.6rem;
    color: #d4af37;
}

.mission-cta .lead {
    font-size: 1.4rem;
    max-width: 700px;
    margin: 0 auto 20px;
}

.cta-buttons .btn-primary-gold,
.cta-buttons .btn-outline-gold {
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    margin: 10px;
}

.cta-buttons .btn-outline-gold {
    background: transparent;
    border: 2px solid #d4af37;
    color: white;
}

.cta-buttons .btn-outline-gold:hover {
    background: #d4af37;
    color: #1a3e5e;
}

/* Closing Scripture */
.closing-scripture {
    background: rgba(255,255,255,0.95);
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.closing-scripture blockquote {
    font-family: 'Playfair Display', serif;
    font-size: 2.3rem;
    color: #1a3e5e;
    font-style: italic;
}

.closing-scripture cite {
    color: #d4af37;
    font-size: 1.4rem;
}

/* Responsive */
@media (max-width: 992px) {
    .mission-hero img, .mission-hero { height: 400px; }
    .hero-caption { font-size: 1.3rem; }
}

@media (max-width: 768px) {
    .church-mission-section { padding: 100px 0 80px; }
    .mission-statement blockquote { font-size: 1.9rem; }
    .closing-scripture blockquote { font-size: 1.2rem; }
}

/* Women’s Fellowship Page */
.church-wf-section {
    background: linear-gradient(to bottom, #faf9f6 0%, #fdf4f0 100%);
    font-family: 'Crimson Text', serif;
    padding: 120px 0 100px;
    position: relative;
    overflow: hidden;
}

.wf-hero {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.18);
    max-height: 520px;
}

.wf-hero img {
    width: 100%;
    height: 520px;
    object-fit: cover;
}

.hero-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(26,62,94,0.9));
    color: white;
    padding: 50px 30px 30px;
    font-size: 1.5rem;
    text-align: center;
    font-style: italic;
}

.wf-welcome {
    background: rgba(255,255,255,0.95);
    border-radius: 24px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.1);
}

.wf-quote {
    font-family: 'Playfair Display', serif;
    font-size: 2.3rem;
    color: #1a3e5e;
    font-style: italic;
    margin: 0;
    line-height: 1.6;
}

/* Activity Cards */
.activity-card {
    background: white;
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    height: 100%;
    box-shadow: 0 10px 35px rgba(0,0,0,0.08);
    border: 1px solid rgba(212,175,55,0.18);
    transition: all 0.4s ease;

    /* ADD THESE LINES - This is the real fix */
    display: flex;
    flex-direction: column;
    align-items: center;     /* Horizontal center */
    justify-content: flex-start;
    gap: 16px;               /* Nice spacing between icon, title, and text */
}

.activity-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(212,175,55,0.25);
}

.activity-icon {
    font-size: 3rem;
    color: #d4af37;
    margin-bottom: 20px;
}

.activity-card h4 {
    font-family: 'Playfair Display', serif;
    color: #1a3e5e;
    margin-bottom: 12px;
}

/* Leadership Cards */
.leader-card.small {
    background: white;
    padding: 30px;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 2px solid #d4af37;
}

.leader-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: #1a3e5e;
    margin: 10px 0 0;
}

/* CTA */
.wf-cta {
    background: linear-gradient(135deg, #1a3e5e 0%, #2c5f8a 100%);
    color: white;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(26,62,94,0.3);
}

.wf-cta h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.6rem;
    color: #d4af37;
}

/* Closing Scripture */
.closing-scripture {
    background: rgba(255,255,255,0.95);
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.closing-scripture blockquote {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: #1a3e5e;
    font-style: italic;
}

.closing-scripture cite {
    color: #d4af37;
    font-size: 1.4rem;
}

/* Responsive */
@media (max-width: 992px) {
    .wf-hero img, .wf-hero { height: 420px; }
}

@media (max-width: 768px) {
    .church-wf-section { padding: 100px 0 80px; }
    .wf-quote, .closing-scripture blockquote { font-size: 1.2rem; }
}

/* Youth Fellowship Page */
.church-yf-section {
    background: linear-gradient(to bottom, #faf9f6 0%, #f0f8ff 100%);
    font-family: 'Crimson Text', serif;
    padding: 120px 0 100px;
    position: relative;
    overflow: hidden;
}

.yf-hero {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.18);
    max-height: 520px;
}

.yf-hero img {
    width: 100%;
    height: 520px;
    object-fit: cover;
}

.hero-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(26,62,94,0.92));
    color: white;
    padding: 50px 30px 30px;
    font-size: 1.6rem;
    text-align: center;
    font-weight: 600;
}

.yf-welcome {
    background: rgba(255,255,255,0.96);
    border-radius: 24px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.12);
}

.yf-quote {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    color: #1a3e5e;
    font-style: italic;
    margin: 0;
    line-height: 1.5;
}

/* Activity Cards – Energetic Style */
.activity-card {
    background: white;
    border-radius: 20px;
    padding: 32px 20px;
    text-align: center;
    height: 100%;
    box-shadow: 0 10px 35px rgba(0,0,0,0.08);
    border: 1px solid rgba(212,175,55,0.2);
    transition: all 0.4s ease;
}

.activity-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 28px 60px rgba(212,175,55,0.3);
    border-color: #d4af37;
}

.activity-icon {
    font-size: 3.4rem;
    color: #d4af37;
    margin-bottom: 18px;
    display: block;
    transition: transform 0.3s;
}

.activity-card:hover .activity-icon {
    transform: scale(1.2) rotate(5deg);
}

.activity-card h4 {
    font-family: 'Playfair Display', serif;
    color: #1a3e5e;
    margin-bottom: 10px;
    font-size: 1.4rem;
}

/* CTA */
.yf-cta {
    background: linear-gradient(135deg, #1a3e5e 0%, #0d253f 100%);
    color: white;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(26,62,94,0.4);
}

.yf-cta h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: #d4af37;
}

/* Closing Scripture */
.closing-scripture {
    background: rgba(255,255,255,0.96);
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.closing-scripture blockquote {
    font-family: 'Playfair Display', serif;
    font-size: 2.3rem;
    color: #1a3e5e;
    font-style: italic;
}

.closing-scripture cite {
    color: #d4af37;
    font-size: 1.5rem;
}

/* Responsive */
@media (max-width: 992px) {
    .yf-hero img, .yf-hero { height: 420px; }
    .hero-caption { font-size: 1.4rem; }
}

@media (max-width: 768px) {
    .church-yf-section { padding: 100px 0 80px; }
    .yf-quote { font-size: 2rem; }
    .closing-scripture blockquote { font-size: 1.2rem; }
}

/* Children’s Ministry Page */
.church-cm-section {
    background: linear-gradient(to bottom, #faf9f6 0%, #fff9e6 100%);
    font-family: 'Crimson Text', serif;
    padding: 120px 0 100px;
    position: relative;
    overflow: hidden;
}

.cm-hero {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.18);
    max-height: 520px;
}

.cm-hero img {
    width: 100%;
    height: 520px;
    object-fit: cover;
}

.hero-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(26,62,94,0.92));
    color: white;
    padding: 50px 30px 30px;
    font-size: 1.8rem;
    text-align: center;
    font-weight: 700;
}

.cm-welcome {
    background: rgba(255,255,255,0.97);
    border-radius: 24px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.12);
}

.cm-quote {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    color: #1a3e5e;
    line-height: 1.5;
    margin: 0;
}

/* Program Cards – Colorful & Joyful */
.program-card {
    background: white;
    border-radius: 22px;
    padding: 32px 24px;
    text-align: center;
    height: 100%;
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
    border: 2px solid transparent;
    transition: all 0.4s ease;
}

.program-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(212,175,55,0.3);
}

.program-card.sunday   { border-color: #f39c12; }
.program-card.nursery  { border-color: #3498db; }
.program-card.vbs      { border-color: #9b59b6; }
.program-card.choir    { border-color: #e74c3c; }
.program-card.funclub  { border-color: #2ecc71; }
.program-card.events   { border-color: #f1c40f; }

.program-icon {
    font-size: 3.8rem;
    margin-bottom: 20px;
    display: block;
}

.program-card.sunday   .program-icon { color: #f39c12; }
.program-card.nursery  .program-icon { color: #3498db; }
.program-card.vbs      .program-icon { color: #9b59b6; }
.program-card.choir    .program-icon { color: #e74c3c; }
.program-card.funclub  .program-icon { color: #2ecc71; }
.program-card.events   .program-icon { color: #f1c40f; }

.program-card h3 {
    font-family: 'Playfair Display', serif;
    color: #1a3e5e;
    margin: 15px 0 10px;
    font-size: 1.5rem;
}

.age { font-weight: 600; color: #d4af37; font-size: 1.1rem; }
.time { font-weight: 600; color: #2c3e50; }

/* Safety Badge */
.cm-safety {
    background: linear-gradient(135deg, #1a3e5e 0%, #2c5f8a 100%);
    color: white;
    border-radius: 24px;
}

.safety-badge i {
    font-size: 4rem;
    color: #d4af37;
    margin-bottom: 15px;
}

.safety-badge h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: #d4af37;
}

/* CTA */
.cm-cta {
    background: linear-gradient(135deg, #1a3e5e 0%, #0d253f 100%);
    color: white;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(26,62,94,0.4);
}

.cm-cta h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: #d4af37;
}

/* Closing Scripture */
.closing-scripture {
    background: rgba(255,255,255,0.97);
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.closing-scripture blockquote {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    color: #1a3e5e;
    font-style: italic;
}

.closing-scripture cite {
    color: #d4af37;
    font-size: 1.5rem;
}

/* Responsive */
@media (max-width: 992px) {
    .cm-hero img, .cm-hero { height: 420px; }
}

@media (max-width: 768px) {
    .church-cm-section { padding: 100px 0 80px; }
    .cm-quote, .closing-scripture blockquote { font-size: 1.2rem; }
}

/* Church Footer – Sacred & Elegant */
.church-footer {
    background: linear-gradient(to bottom, #1a3e5e 0%, #0f2b42 100%);
    color: #e0e0e0;
    position: relative;
    overflow: hidden;
    font-family: 'Crimson Text', serif;
}

/* .footer-cross {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: 90vmin;
    color: rgba(212,175,55,0.03);
    pointer-events: none;
    z-index: 1;
} */

.footer-title {
    font-family: 'Playfair Display', serif;
    color: #d4af37;
    font-size: 1.8rem;
    font-weight: 700;
}

@media (max-width: 339.98px) {
    .footer-title {
        font-size: 1.45rem;   /* reduces from 28.8px to about 23.2px – looks balanced */
        line-height: 1.3;
    }
}

.footer-subtitle {
    color: #b8975a;
    font-size: 0.95rem;
    letter-spacing: 1px;
}

.footer-heading {
    font-family: 'Playfair Display', serif;
    color: #d4af37;
    font-size: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: #d4af37;
}

.footer-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #cfd8dc;
}

.footer-links a {
    color: #b0bec5;
    text-decoration: none;
    display: block;
    padding: 6px 0;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #d4af37;
    padding-left: 8px;
}

/* Social Icons */
.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(212,175, Rc55,0.15);
    color: #d4af37;
    font-size: 1.4rem;
    border-radius: 50%;
    transition: all 0.4s ease;
    border: 1px solid rgba(212,175,55,0.3);
}

.social-link:hover {
    background: #d4af37;
    color: #1a3e5e;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(212,175,55,0.4);
}

/* Divider */
.footer-divider {
    border-color: rgba(212,175,55,0.2);
}

/* Copyright */
.footer-copyright {
    color: #90a4ae;
    font-size: 0.95rem;
}

.footer-copyright small {
    font-size: 0.85rem;
    opacity: 0.9;
}

/* Responsive */
@media (max-width: 992px) {
    .footer-heading::after {
        left: 0;
        transform: none;
        width: 40px;
    }
    .social-link {
        width: 44px;
        height: 44px;
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .church-footer {
        padding: 80px 0 60px;
    }
    .footer-brand img {
        height: 50px;
    }
}

.admin-body {
    background: linear-gradient(135deg, #1a3e5e 0%, #0f2b42 100%);
    font-family: 'Crimson Text', serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.login-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    position: relative;
}
/* .cross-watermark {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: 80vmin;
    color: rgba(212,175,55,0.03);
    pointer-events: none;
    z-index: 1;
} */
.login-card {
    background: white;
    border-radius: 24px;
    box-shadow: 0 25px 70px rgba(0,0,0,0.4);
    overflow: hidden;
    width: 100%;
    max-width: 420px;
    z-index: 2;
    position: relative;
}
.login-header {
    background: linear-gradient(to bottom, #1a3e5e, #0f2b42);
    color: white;
    padding: 40px 30px;
    text-align: center;
}
.login-header img {
    height: 80px;
    margin-bottom: 15px;
    border: 4px solid rgba(212,175,55,0.3);
    border-radius: 50%;
}
.login-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #d4af37;
    margin: 0;
}
.login-subtitle {
    font-size: 1rem;
    opacity: 0.9;
    margin-top: 8px;
}
.login-body {
    padding: 40px 35px;
}
.form-control {
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 1.05rem;
    border: 1px solid #ced4da;
}
.form-control:focus {
    border-color: #d4af37;
    box-shadow: 0 0 0 0.2rem rgba(212,175,55,0.25);
}
.btn-login {
    background: #d4af37;
    color: #1a3e5e;
    font-weight: 700;
    padding: 14px;
    border-radius: 12px;
    font-size: 1.1rem;
    width: 100%;
    transition: all 0.4s ease;
}
.btn-login:hover {
    background: #1a3e5e;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(26,62,94,0.4);
}
.form-text a {
    color: #d4af37;
    text-decoration: none;
}
.form-text a:hover {
    text-decoration: underline;
}

admin-navbar {
        background: linear-gradient(135deg, #0f2b42 0%, #1a3e5e 100%) !important;
        border-bottom: 1px solid rgba(212,175,55,0.25);
        box-shadow: 0 6px 30px rgba(0,0,0,0.25);
        z-index: 1040;
    }

    .admin-navbar .nav-link {
        color: #e0e0e0 !important;
        font-weight: 600;
        padding: 8px 16px !important;
        border-radius: 30px;
        transition: all 0.35s ease;
    }

    .admin-navbar .nav-link:hover,
    .admin-navbar .nav-link.active {
        color: #d4af37 !important;
        background: rgba(212,175,55,0.18);
    }

    .admin-navbar .dropdown-menu {
        background: #1a3e5e;
        border: 1px solid rgba(212,175,55,0.3);
    }

    .admin-navbar .dropdown-item {
        color: #e0e0e0;
    }

    .admin-navbar .dropdown-item:hover {
        background: rgba(212,175,55,0.25);
        color: #fff;
        padding-left: 28px;
    }

    .btn-outline-gold {
        border: 2px solid #d4af37;
        color: #d4af37;
        font-weight: 600;
    }

    .btn-outline-gold:hover {
        background: #d4af37;
        color: #1a3e5e;
    }

    .navbar-toggler.border-gold {
        border-color: #d4af37 !important;
    }

    /* Mobile collapsed menu */
    @media (max-width: 991.98px) {
        #adminNavCollapse {
            background: rgba(15, 43, 66, 0.98);
            margin-top: 16px;
            border-radius: 16px;
            padding: 20px;
            backdrop-filter: blur(10px);
        }
    }

.bg-gradient-navy {
        background: linear-gradient(135deg, #1a3e5e 0%, #0f2b42 100%);
    }
    .stat-card {
        transition: all 0.4s ease;
        border: 1px solid rgba(212,175,55,0.15);
    }
    .stat-card:hover {
        transform: translateY(-12px);
        box-shadow: 0 20px 45px rgba(212,175,55,0.22) !important;
    }
    .text-gold { color: #d4af37 !important; }
    .text-navy { color: #1a3e5e !important; }

.text-truncate-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.5em;        /* adjust if needed */
    max-height: 4.5em;         /* 3 lines × line-height */
}

/* ============================================================= */
/* COAT OF ARMS – EXACTLY MATCHES YOUR CHURCH THEME             */
/* ============================================================= */

.coat-of-arms-description .coa-item {
    background: #ffffff;
    border: 2px solid #d4af37;               /* exact gold used in your activity cards */
    border-radius: 16px;
    padding: 30px 28px;
    margin-bottom: 32px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.07);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.coat-of-arms-description .coa-item:hover {
    border-color: #f1c40f;
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    transform: translateY(-5px);
}

/* Big beautiful number in the top-left corner – exactly like your other cards */
.coat-of-arms-description .coa-item::before {
    content: counter(coa-counter);
    counter-increment: coa-counter;
    position: absolute;
    top: -12px;
    left: 20px;
    background: #b8925a;
    color: white;
    width: 48px;
    height: 48px;
    line-height: 48px;
    text-align: center;
    font-size: 1.8rem;
    font-weight: bold;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    font-family: Georgia, serif;
}

/* Title */
.coat-of-arms-description .coa-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #8b6914;
    margin: 14px 0 12px 0;
    padding-left: 50px;               /* makes room for the number circle */
    font-family: Georgia, serif;
}

/* One-line meaning – same weight as your activity cards */
.coat-of-arms-description .coa-meaning {
    font-size: 1.17rem;
    font-weight: 600;
    color: #333;
    margin: 16px 0;
    line-height: 1.6;
    padding-left: 50px;
}

/* Scripture – gold italic, exactly like your site */
.coat-of-arms-description .coa-scripture {
    font-size: 1.05rem;
    color: #a67c00;
    font-style: italic;
    margin: 14px 0;
    padding-left: 50px;
    line-height: 1.6;
    text-align: justify;
}

/* Final note */
.coat-of-arms-description .coa-note {
    font-size: 1.08rem;
    color: #444;
    line-height: 1.7;
    margin-top: 14px;
    padding-left: 50px;
}

/* Start the counter */
.coat-of-arms-description {
    counter-reset: coa-counter 0;
}

/* Mobile friendly */
@media (max-width: 768px) {
    .coat-of-arms-description .coa-item {
        padding: 28px 24px;
    }
    .coat-of-arms-description .coa-item::before {
        width: 42px;
        height: 42px;
        line-height: 42px;
        font-size: 1.6rem;
        left: 16px;
    }
    .coat-of-arms-description .coa-title,
    .coat-of-arms-description .coa-meaning,
    .coat-of-arms-description .coa-scripture,
    .coat-of-arms-description .coa-note {
        padding-left: 44px;
    }
}