/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--color-ink);
    background-color: var(--bg-body);
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

:root {
    /* Base Colors */
    --color-primary: #5DADEC;
    --color-primary-dark: #4a9cc0;
    --color-secondary: #0A0A33;
    --color-secondary-light: #1a1a4d;

    /* Light Theme Defaults */
    --bg-body: #ffffff;
    --bg-card: #ffffff;
    --bg-section-alt: #f8f9fa;
    --bg-input: #ffffff;
    --bg-dropdown: #ffffff;
    --bg-drawer: linear-gradient(180deg, #ffffff 0%, #f7f9ff 100%);

    --color-ink: #0f172a;
    --color-muted: #64748b;
    --color-border: #e2e8f0;
    --color-shadow: rgba(15, 23, 42, 0.08);
    /* Light navy shadow */

    --nav-bg: rgba(255, 255, 255, 0.95);
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img,
video {
    max-width: 100%;
    height: auto;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.8rem;
}

h4 {
    font-size: 1.4rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Rich content helpers */
.rich-list {
    padding-left: 1.3rem;
    margin: 1rem 0 1.5rem;
    line-height: 1.6;
}

.rich-list li {
    padding: 6px 0;
    position: relative;
}

.rich-list li::marker {
    color: #5DADEC;
    font-weight: 700;
}

ol.rich-list {
    padding-left: 1.5rem;
}

.rich-divider {
    border: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    margin: 28px 0;
}

/* Spacer for consistent vertical rhythm */
.spacer-block {
    width: 100%;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #5DADEC 0%, #73b7ea 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: var(--bg-card);
    color: var(--color-ink);
    transform: translateY(-2px);
}

.btn-light {
    background: var(--bg-card);
    color: var(--color-secondary);
    border-color: #ffffff;
    box-shadow: 0 6px 18px rgba(255, 255, 255, 0.25);
}

.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

.btn-subscribe {
    background: linear-gradient(135deg, #ff3b3b 0%, #c20000 100%);
    color: #fff;
    box-shadow: 0 10px 24px rgba(255, 59, 59, 0.45);
}

.btn-subscribe:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(255, 59, 59, 0.55);
}

.btn-facebook {
    background: linear-gradient(135deg, #1877f2 0%, #0f5cc0 100%);
    color: #fff;
    box-shadow: 0 10px 24px rgba(24, 119, 242, 0.4);
}

.btn-facebook:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(24, 119, 242, 0.5);
}

.btn-tiktok {
    background: linear-gradient(135deg, #111 0%, #000 60%, #25f4ee 100%);
    color: #fff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.btn-tiktok:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45);
}

.btn-small {
    padding: 8px 20px;
    font-size: 0.9rem;
    border-radius: 25px;
    text-decoration: none;
    background: linear-gradient(135deg, #5DADEC 0%, #73b7ea 100%);
    color: white;
    transition: all 0.3s ease;
    display: inline-block;
    margin-right: 10px;
}

.btn-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-small.secondary {
    background: transparent;
    border: 1px solid #0A0A33;
    color: var(--color-secondary);
}

.btn-small.secondary:hover {
    background: #0A0A33;
    color: white;
}

/* Header / Navigation */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    z-index: 1200;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-shell {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 70px;
}

.nav-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--color-ink);
    font-weight: 700;
}

.brand-logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-name {
    font-size: 1.05rem;
    color: var(--color-ink);
}

.brand-tagline {
    font-size: 0.85rem;
    color: var(--color-muted);
}

.nav-links {
    margin-left: auto;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 1.1rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-link,
.nav-link-dropdown {
    text-decoration: none;
    color: var(--color-ink);
    font-weight: 500;
    font-size: 1rem;
    font-family: inherit;
    padding: 10px 0;
    position: relative;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.3px;
    cursor: pointer;
}

.nav-link::after,
.nav-link-dropdown::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.8;
}

.nav-link:hover,
.nav-link.active,
.nav-link-dropdown:hover,
.nav-item-dropdown:hover .nav-link-dropdown {
    color: var(--color-primary);
}

.nav-link:hover::after,
.nav-link.active::after,
.nav-link-dropdown:hover::after,
.nav-item-dropdown:hover .nav-link-dropdown::after {
    width: 100%;
}

.nav-item-dropdown {
    position: relative;
}

.nav-link-dropdown {
    border: none;
    background: transparent;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.dropdown-panel {
    position: absolute;
    top: calc(100% + 10px);
    right: -10px;
    min-width: 240px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-top: 3px solid var(--color-primary);
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    opacity: 0;
    pointer-events: none;
    transform: translateY(15px) scale(0.98);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 12px 0;
    z-index: 1300;
}

/* Invisible bridge to fix hover gap */
.dropdown-panel::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
}

.dropdown-panel li {
    list-style: none;
}

.dropdown-panel a {
    display: block;
    padding: 12px 20px;
    color: var(--color-ink);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    border-left: 2px solid transparent;
}

.dropdown-panel a:hover {
    background: #f8fafc;
    color: var(--color-primary);
    border-left-color: var(--color-primary);
    padding-left: 24px;
}

.nav-item-dropdown:hover .dropdown-panel,
.nav-item-dropdown:focus-within .dropdown-panel {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px 12px;
    border: 2px solid #000;
    /* High contrast border */
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1500;
    /* Very high z-index */
}

.nav-toggle-bar {
    width: 24px;
    height: 3px;
    background: #000;
    /* Force black for visibility */
    border-radius: 999px;
}

.nav-drawer {
    position: fixed;
    top: 70px;
    right: 0;
    width: min(400px, 92vw);
    height: calc(100vh - 70px);
    background: linear-gradient(180deg, #ffffff 0%, #f7f9ff 100%);
    box-shadow: -8px 0 30px rgba(15, 23, 42, 0.2);
    transform: translateX(100%);
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    pointer-events: none;
    z-index: 1400;
    display: flex;
    flex-direction: column;
    padding: 16px 0;
}

.nav-drawer.is-open {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}

.nav-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px 12px;
    border-bottom: 1px solid #e8edf5;
}

.nav-close {
    border: none;
    background: #f4f6fb;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    color: var(--color-ink);
    cursor: pointer;
}

.drawer-list {
    list-style: none;
    margin: 0;
    padding: 12px 0 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    overflow-y: auto;
}

.drawer-link {
    display: block;
    padding: 12px 18px;
    color: var(--color-ink);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
}

.drawer-link:hover,
.drawer-link.active {
    color: var(--color-primary);
    background: #f4f8ff;
}

.drawer-item.has-children {
    padding: 0 0 6px 0;
}

.drawer-trigger {
    width: 100%;
    border: none;
    background: none;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    font-size: 1rem;
    color: var(--color-ink);
    cursor: pointer;
}

.drawer-trigger i {
    transition: transform 0.2s ease;
}

.drawer-item.is-open .drawer-trigger i {
    transform: rotate(180deg);
}

.drawer-submenu {
    list-style: none;
    margin: 0;
    padding: 0 12px 6px 12px;
    display: none;
}

.drawer-item.is-open .drawer-submenu {
    display: block;
}

.drawer-submenu a {
    display: block;
    padding: 10px 12px;
    color: var(--color-ink);
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
}

.drawer-submenu a:hover {
    background: #f4f8ff;
    color: var(--color-primary);
}

.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1350;
}

.nav-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

@media (max-width: 1100px) {
    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: inline-flex !important;
        margin-left: auto;
        opacity: 1;
        visibility: visible;
    }

    .nav-brand {
        max-width: 60%;
    }
}

@media (max-width: 640px) {
    .brand-name {
        font-size: 0.95rem;
    }

    .brand-tagline {
        font-size: 0.75rem;
    }

    .community-container {
        width: 100%;
        padding: 0 12px;
    }
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--color-ink);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.dropdown-menu a:hover {
    background: linear-gradient(135deg, #5DADEC 0%, #73b7ea 100%);
    color: white;
    padding-left: 2rem;
}

.hero {
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    transition: background-image 1s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: background-image 1s ease-in-out;
}


/* Hero Section 
.hero {
    height: 70vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
                url('../images/1825559170701935.jpg') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}
    */

.hero-content {
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    cursor: pointer;
}

.hero-scroll i {
    font-size: 1.5rem;
    color: white;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: var(--gradient-primary-soft);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    color: var(--color-ink);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--color-muted);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-card);
    padding: 2.4rem 2rem;
    border-radius: 18px;
    text-align: left;
    border: 1px solid var(--color-border);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.14);
    border-color: rgba(36, 84, 160, 0.18);
}

.service-card h3 {
    color: var(--color-ink);
    margin: 0 0 0.6rem 0;
}

.service-time {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--color-primary-soft);
    border: 1px solid rgba(36, 84, 160, 0.18);
    color: var(--color-primary);
    font-weight: 700;
    margin: 0 0 0.8rem 0;
}

.service-meta {
    color: var(--color-muted);
    margin: 0 0 0.6rem 0;
}

.service-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(140deg, rgba(36, 84, 160, 0.08), transparent 35%);
    pointer-events: none;
}

/* Footer */
.site-footer {
    background: #5DADEC;
    color: #fff;
    padding: 80px 0 30px;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.welcome-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.welcome-text h2 {
    color: var(--color-ink);
    margin-bottom: 1.5rem;
}

.welcome-features {
    margin: 2rem 0;
}

.feature {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.feature i {
    color: var(--color-secondary);
    margin-right: 1rem;
    font-size: 1.2rem;
}

.welcome-image {
    position: relative;
}

.welcome-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Ministries Section */
.ministries {
    padding: 100px 0;
    background: var(--bg-section-alt);
}

.ministries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.ministry-card {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.ministry-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.ministry-image {
    height: 200px;
    overflow: hidden;
}

.ministry-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.ministry-card:hover .ministry-image img {
    transform: scale(1.1);
}

.ministry-content {
    padding: 2rem;
}

.ministry-content h3 {
    color: var(--color-secondary);
    margin-bottom: 1rem;
}

/* Events Section */
.events {
    padding: 100px 0;
    background: var(--bg-card);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.event-card {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid #e8edf5;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.12);
    border-color: rgba(93, 173, 236, 0.35);
}

.event-thumb {
    position: relative;
    height: 230px;
    overflow: hidden;
}

.event-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.event-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 10, 51, 0) 35%, rgba(10, 10, 51, 0.55) 100%);
    pointer-events: none;
}

.event-card:hover .event-thumb img {
    transform: scale(1.03);
}

.event-content {
    padding: 1.25rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    flex: 1;
}

.event-content h3 {
    color: var(--color-secondary);
    margin: 0 0 0.25rem 0;
}

.event-eyebrow {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    font-size: 0.75rem;
    color: #5DADEC;
}

.event-meta-line {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-muted);
    font-weight: 600;
    margin: 0;
}

.event-meta-line i {
    color: #5DADEC;
}

.event-time {
    color: #D22730;
    font-weight: 700;
}

.event-meta-chips {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 6px 0 2px;
}

.event-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #f2f5f9;
    border: 1px solid var(--color-border);
    color: var(--color-ink);
    font-weight: 700;
    font-size: 0.9rem;
}

.event-chip i {
    color: #5DADEC;
}

.event-summary {
    margin: 0.35rem 0 0;
    color: var(--color-muted);
    line-height: 1.5;
}

.event-footer {
    margin-top: auto;
    padding-top: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid #eef2f7;
}

.event-tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(11, 102, 35, 0.12);
    color: var(--color-muted);
    font-weight: 700;
    font-size: 0.9rem;
}

.event-cta-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    color: var(--color-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.event-cta-link i {
    color: #5DADEC;
}

.event-cta-link:hover {
    color: #5DADEC;
}

.events-cta {
    text-align: center;
}

/* YouTube CTA */
.youtube-cta {
    padding: 0 0 90px 0;
}

.youtube-card {
    background: radial-gradient(circle at 20% 20%, rgba(255, 59, 59, 0.22), transparent 40%),
        radial-gradient(circle at 80% 0%, rgba(93, 173, 236, 0.14), transparent 35%),
        linear-gradient(135deg, #0b0c20 0%, #11122d 65%, #111 100%);
    border-radius: 24px;
    padding: 26px 30px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 24px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.35);
    color: #e5e7eb;
    position: relative;
    overflow: hidden;
}

.youtube-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.06), transparent 35%, transparent);
    pointer-events: none;
}

.youtube-card__content {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    z-index: 1;
}

.youtube-card__icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: rgba(255, 59, 59, 0.14);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ff4b4b;
    font-size: 1.8rem;
    box-shadow: 0 10px 30px rgba(255, 59, 59, 0.22) inset;
}

.youtube-card__text h3 {
    margin: 4px 0 6px;
    color: #fff;
    font-size: 1.6rem;
}

.youtube-card__text p {
    margin: 0;
    color: #cbd5e1;
}

.youtube-card__text .eyebrow {
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 700;
    color: #5DADEC;
    font-size: 0.8rem;
}

.youtube-card__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.youtube-card .btn {
    border-radius: 14px;
    padding: 12px 20px;
    font-weight: 700;
}

.youtube-card .btn-light {
    background: rgba(255, 255, 255, 0.12);
    color: #e5e7eb;
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: none;
}

.youtube-card .btn-light:hover {
    background: rgba(255, 255, 255, 0.18);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

@media (max-width: 900px) {
    .youtube-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .youtube-card__content {
        justify-content: center;
    }

    .youtube-card__actions {
        justify-content: center;
        flex-wrap: wrap;
    }

    .event-thumb {
        height: 180px;
    }
}

/* Contact Preview Section */
.contact-preview {
    position: relative;
    padding: 100px 0;
    z-index: 1;
    /* background: linear-gradient(135deg, #0A0A33 0%, #303078 100%); */
    background-color: #0A0A33;
    /* Fallback color */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    overflow: hidden;
}

.contact-preview::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* 50% dark overlay */
    z-index: 1;
}

.contact-overlay-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    border: none;
    z-index: 0;
    transition: background-image 1s ease-in-out;
}


.contact-content {
    position: relative;
    z-index: 2;
    /* Ensure content is above overlay and slider */
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-item i {
    font-size: 1.5rem;
    margin-right: 1rem;
    margin-top: 0.2rem;
    color: rgba(255, 255, 255, 0.8);
}

.contact-item h4 {
    margin-bottom: 0.5rem;
    color: white;
}

.contact-item p {
    color: white;
    margin: 0;
}

.contact-cta {
    text-align: center;
}

.contact-cta h3 {
    color: white;
    margin-bottom: 1rem;
}

.contact-cta p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

/* Footer */
.footer {

    background: #5DADEC
        /*linear-gradient(135deg, #0A0A33 0%, #303078 100%)*/
    ;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.2 rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    background: #fff;
    border-radius: 50%;
    padding: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    margin-right: 10px;
}

.footer-section h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--color-secondary);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-ink);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--bg-card);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid white;
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* Sermon Page Styles */
.featured-sermon {
    padding: 100px 0;
    background: var(--bg-card);
}

.featured-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.sermon-video {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.sermon-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 15px;
}

.sermon-date {
    color: var(--color-secondary);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sermon-speaker {
    color: var(--color-muted);
    font-style: italic;
    margin-bottom: 1rem;
}

.sermon-tags {
    margin-top: 1.5rem;
}

.tag {
    display: inline-block;
    background: #f0f0f0;
    color: var(--color-secondary);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-right: 10px;
    margin-bottom: 5px;
}

.sermon-series {
    padding: 100px 0;
    background: var(--bg-section-alt);
}

.series-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.sermon-card {
    background: var(--bg-card);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.sermon-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.sermon-thumbnail {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.sermon-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.sermon-card:hover .sermon-thumbnail img {
    transform: scale(1.1);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: #5DADEC;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.sermon-card:hover .play-button {
    background: #5DADEC;
    transform: translate(-50%, -50%) scale(1.1);
}

.sermon-details {
    padding: 2rem;
}

.recent-messages {
    padding: 100px 0;
    background: var(--bg-card);
}

.messages-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.message-item {
    display: flex;
    background: var(--bg-section-alt);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.message-item:hover {
    background: var(--bg-card);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.message-image {
    width: 200px;
    height: 150px;
    overflow: hidden;
}

.message-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.message-content {
    padding: 2rem;
    flex: 1;
}

.message-date {
    color: var(--color-secondary);
    font-weight: 600;
    font-size: 0.9rem;
}

.message-speaker {
    color: var(--color-muted);
    font-style: italic;
    margin-bottom: 0.5rem;
}

.message-actions {
    margin-top: 1rem;
}

/* Events Page Styles */
.upcoming-events {
    padding: 100px 0;
    background: var(--bg-card);
}

.events-list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.event-detail-card {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    background: var(--bg-section-alt);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.event-detail-card:hover {
    background: var(--bg-card);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.event-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-date-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #5DADEC 0%, #73b7ea 100%);
    color: white;
    padding: 1rem;
    border-radius: 15px;
    text-align: center;
    min-width: 80px;
}

.event-date-badge .day {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.event-date-badge .month {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Smaller badge for event cards */
.event-card .event-date-badge {
    top: 14px;
    right: 14px;
    bottom: auto;
    left: auto;
    padding: 7px 12px;
    border-radius: 12px;
    min-width: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
}

.event-card .event-date-badge .day {
    font-size: 1.15rem;
}

.event-card .event-date-badge .month {
    font-size: 0.78rem;
}

.event-info {
    padding: 2rem;
}

.event-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.meta-item {
    display: flex;
    align-items: center;
    color: var(--color-muted);
}

.meta-item i {
    color: var(--color-secondary);
    margin-right: 0.5rem;
}

.event-location {
    margin: 2rem 0;
}

.event-location h4 {
    margin-bottom: 1rem;
    color: var(--color-ink);
}

.event-location iframe {
    border-radius: 10px;
}

.event-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.regular-activities {
    padding: 100px 0;
    background: var(--bg-section-alt);
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.activity-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.activity-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.activity-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #5DADEC 0%, #73b7ea 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.activity-icon i {
    font-size: 1.5rem;
    color: white;
}

.activity-time {
    color: var(--color-secondary);
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Contact Page Styles */
.contact-info-section {
    padding: 100px 0;
    background: var(--bg-card);
}

.contact-hero {
    position: relative;
    padding: 120px 0;
    background: linear-gradient(135deg, rgba(10, 10, 51, 0.72), rgba(45, 58, 91, 0.65)), url('../images/1825559170701935.jpg') center/cover;
    color: white;
    overflow: hidden;
}

.contact-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.25));
}

.contact-hero__content {
    position: relative;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: center;
}

.contact-hero__content--single {
    grid-template-columns: 1fr;
}

.contact-hero--cms {
    padding: 100px 0;
}

.contact-cms-card {
    background: var(--bg-card);
    border-radius: 18px;
    padding: 32px;
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.12);
    color: var(--color-secondary);
    border: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
    border-top: 6px solid #5DADEC;
}

.contact-cms-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 18px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(93, 173, 236, 0.35), rgba(10, 10, 51, 0.2));
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}

.contact-cms-card h1,
.contact-cms-card h2,
.contact-cms-card h3 {
    color: var(--color-secondary);
    letter-spacing: -0.02em;
}

.contact-cms-card p {
    color: #374151;
    line-height: 1.8;
}

.contact-cms-card a {
    color: var(--color-secondary);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(93, 173, 236, 0.5);
}

.contact-cms-card a:hover {
    color: #5DADEC;
}

.contact-cms-card ul {
    margin: 1rem 0 1.5rem 1.2rem;
    color: #374151;
}

.contact-cms-card ul li {
    margin: 6px 0;
}

.contact-action-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 10px;
    align-items: stretch;
    margin-bottom: 16px;
}

.contact-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.contact-chip--primary {
    background: linear-gradient(135deg, #5DADEC, #73b7ea);
    color: white;
    border-color: rgba(93, 173, 236, 0.35);
    box-shadow: 0 8px 22px rgba(93, 173, 236, 0.3);
}

.contact-chip--primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(93, 173, 236, 0.35);
}

.contact-chip i {
    font-size: 0.95rem;
}

.contact-service-pill {
    background: #f4f8ff;
    border: 1px solid rgba(93, 173, 236, 0.25);
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 16px;
    line-height: 1.6;
    color: var(--color-secondary);
    font-weight: 500;
    display: inline-block;
    width: 100%;
}

.contact-pill-note {
    display: block;
    color: var(--color-muted);
    font-weight: 400;
    margin-top: 4px;
}

.contact-intro {
    margin-bottom: 20px;
}

.contact-details-list {
    list-style: none;
    padding: 0;
    margin: 12px 0 0 0;
}

.contact-details-list li {
    margin: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #374151;
}

.contact-details-list i {
    color: #5DADEC;
}

.contact-cms-body {
    margin-top: 6px;
}

.contact-cms-body h1,
.contact-cms-body h2,
.contact-cms-body h3 {
    color: var(--color-secondary);
    letter-spacing: -0.02em;
    margin: 0 0 10px 0;
}

.contact-cms-body p {
    color: #374151;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.contact-cms-body p:first-of-type {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-ink);
}

.contact-cms-body ul,
.contact-cms-body ol {
    padding-left: 1rem;
    margin: 0 0 1.25rem 0;
    color: #374151;
    list-style: none;
}

.contact-cms-body li {
    margin: 8px 0;
    background: #f7fafc;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 10px 12px;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.04);
    position: relative;
    padding-left: 38px;
}

.contact-cms-body li::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 50%;
    width: 10px;
    height: 10px;
    background: #5DADEC;
    border-radius: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 0 4px rgba(93, 173, 236, 0.16);
}

.contact-cms-body a {
    color: var(--color-secondary);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(93, 173, 236, 0.45);
    transition: color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 10px;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.05);
    margin-right: 8px;
}

.contact-cms-body a:hover {
    color: #5DADEC;
    border-color: rgba(93, 173, 236, 0.7);
    box-shadow: 0 8px 18px rgba(93, 173, 236, 0.2);
}

.contact-cms-body blockquote {
    border-left: 4px solid #5DADEC;
    padding-left: 14px;
    color: var(--color-muted);
    margin: 14px 0;
    font-style: italic;
    background: #f9fbfd;
    border-radius: 10px;
    padding: 12px 14px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 6px 16px rgba(15, 23, 42, 0.06);
}

.contact-cms-body .btn,
.contact-cms-body button,
.contact-cms-body input[type="submit"] {
    background: linear-gradient(135deg, #5DADEC, #73b7ea);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 12px 20px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 10px 26px rgba(93, 173, 236, 0.3);
}

.contact-cms-body .btn:hover,
.contact-cms-body button:hover,
.contact-cms-body input[type="submit"]:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 30px rgba(93, 173, 236, 0.35);
}

.contact-cms-body p:has(a[href^="mailto"]),
.contact-cms-body p:has(a[href^="tel"]) {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 10px 12px;
    margin-right: 10px;
    margin-bottom: 12px;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    background: #f7fafc;
}

.contact-cms-body p:has(a[href^="mailto"])+p:has(a[href^="tel"]),
.contact-cms-body p:has(a[href^="tel"])+p:has(a[href^="mailto"]) {
    margin-left: 0;
}

.contact-hero__eyebrow {
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    color: #b7ddff;
    margin-bottom: 8px;
}

.contact-hero h2 {
    font-size: 2.8rem;
    margin-bottom: 10px;
}

.contact-hero__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.contact-hero__stats {
    display: grid;
    gap: 12px;
}

.contact-stat {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 16px;
    backdrop-filter: blur(8px);
}

.contact-stat__label {
    color: #d6e9ff;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-stat__value {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
}

.contact-stat__sub {
    color: #d6e9ff;
    font-size: 0.95rem;
}

.contact-panels {
    background: #f6f9fc;
    padding: 60px 0;
}

.contact-panel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 16px;
}

.contact-panel {
    background: var(--bg-card);
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--color-border);
}

.contact-panel__icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: linear-gradient(135deg, #5DADEC, #73b7ea);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.contact-panel h3 {
    margin-bottom: 6px;
    color: var(--color-secondary);
}

.contact-panel .muted {
    color: #6b7280;
    font-size: 0.95rem;
}

.contact-main {
    padding: 80px 0;
    background: var(--bg-card);
}

.contact-main__grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 32px;
    align-items: start;
}

.community-container {
    width: min(1200px, 92vw);
    margin: 0 auto;
    padding: 0 16px;
}

.contact-main__info {
    background: linear-gradient(135deg, #0A0A33, #2f3a63);
    color: white;
    padding: 28px;
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.contact-main__info h3 {
    margin-bottom: 10px;
    color: white;
}

.contact-main__meta {
    display: grid;
    gap: 10px;
    margin: 18px 0;
}

.contact-main__meta i {
    margin-right: 8px;
    color: #b7ddff;
}

.contact-main__social {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}

.contact-main__social a {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.2s ease;
}

.contact-main__social a:hover {
    background: var(--bg-card);
    color: var(--color-secondary);
}

.contact-main__form {
    background: #f9fbfd;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 26px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
}

.contact-main__form h4 {
    margin-bottom: 14px;
    color: var(--color-secondary);
}

.contact-main .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.contact-map {
    margin-top: 20px;
}

.contact-map__embed {
    width: 100%;
    height: 100%;
}

.contact-map__band {
    background: linear-gradient(135deg, #0A0A33, #5DADEC);
    color: white;
    padding: 18px 0;
}

.contact-map__band-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    align-items: center;
}

.contact-map__band-grid i {
    margin-right: 8px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-details h2 {
    color: var(--color-ink);
    margin-bottom: 1.5rem;
}

.contact-items {
    margin: 3rem 0;
}

.contact-item-large {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: var(--bg-section-alt);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.contact-item-large:hover {
    background: var(--bg-card);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #5DADEC 0%, #73b7ea 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.contact-icon i {
    color: white;
    font-size: 1.2rem;
}

.contact-text h4 {
    color: var(--color-ink);
    margin-bottom: 0.5rem;
}

.contact-text p {
    color: var(--color-muted);
    margin-bottom: 0.5rem;
}

.contact-text small {
    color: #999;
    font-size: 0.9rem;
}

.social-section {
    margin-top: 3rem;
}

.social-section h4 {
    color: var(--color-ink);
    margin-bottom: 1rem;
}

.social-links-large {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-links-large a {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: var(--bg-section-alt);
    border-radius: 10px;
    text-decoration: none;
    color: var(--color-ink);
    transition: all 0.3s ease;
}

.social-links-large a:hover {
    background: #0A0A33;
    color: white;
    transform: translateX(10px);
}

.social-links-large a i {
    margin-right: 1rem;
    font-size: 1.2rem;
}

.contact-form-container {
    background: var(--bg-section-alt);
    padding: 3rem;
    border-radius: 20px;
}

.contact-form-container h3 {
    color: var(--color-ink);
    margin-bottom: 2rem;
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-group label {
    color: var(--color-ink);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.map-section {
    padding: 100px 0;
    background: var(--bg-section-alt);
}

.map-container {
    margin-bottom: 3rem;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.directions-info {
    margin-top: 3rem;
}

.directions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.direction-item {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.direction-item i {
    font-size: 2rem;
    color: var(--color-secondary);
    margin-bottom: 1rem;
}

.direction-item h4 {
    color: var(--color-ink);
    margin-bottom: 1rem;
}

.staff-section {
    padding: 100px 0;
    background: var(--bg-card);
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.staff-card {
    background: var(--bg-section-alt);
    border-radius: 20px;
    overflow: hidden;
    text-align: center;
    transition: all 0.3s ease;
}

.staff-card:hover {
    background: var(--bg-card);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-10px);
}

.staff-image {
    height: 250px;
    overflow: hidden;
}

.staff-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.staff-info {
    padding: 2rem;
}

.staff-title {
    color: var(--color-secondary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.staff-contact {
    margin-top: 1.5rem;
}

.staff-contact a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: #0A0A33;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.staff-contact a:hover {
    background: #5DADEC;
    transform: translateY(-2px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-10px) translateX(-50%);
    }

    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu>.nav-item>.nav-link {
        border-bottom: 1px solid #e8edf5;
    }

    .hamburger {
        display: flex;
        z-index: 1301;
    }

    .nav-menu {
        padding: 2rem 0;
    }

    .nav-menu li {
        margin: 1rem 0;
        width: 100%;
    }

    .community-container {
        width: 100%;
        padding: 0 12px;
    }

    /* Mobile Dropdown Styles */
    .nav-item.dropdown {
        position: relative;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--bg-section-alt);
        margin-top: 0.5rem;
        max-height: none;
        overflow: visible;
    }

    .nav-item.dropdown>.nav-link {
        cursor: pointer;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .nav-logo span {
        max-width: 70vw;
        font-size: 0.95rem;
        line-height: 1.25;
    }

    .nav-container {
        gap: 10px;
    }

    .nav-container {
        gap: 10px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .welcome-content,
    .contact-content,
    .featured-content,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .services-grid,
    .ministries-grid,
    .series-grid {
        grid-template-columns: 1fr;
    }

    .events-grid,
    .activities-grid,
    .directions-grid,
    .staff-grid {
        grid-template-columns: 1fr;
    }

    .event-card,
    .event-detail-card {
        flex-direction: column;
        text-align: center;
        grid-template-columns: 1fr;
    }

    .message-item {
        flex-direction: column;
    }

    .message-image {
        width: 100%;
        height: 200px;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .container {
        padding: 0 15px;
    }

    .services,
    .welcome,
    .ministries,
    .events,
    .contact-preview,
    .featured-sermon,
    .sermon-series,
    .recent-messages,
    .upcoming-events,
    .regular-activities,
    .contact-info-section,
    .map-section,
    .staff-section {
        padding: 60px 0;
    }

    .contact-form-container {
        padding: 2rem;
    }
}

/* Page Header Styles */
.page-header {
    padding: 150px 0 100px;
    background: linear-gradient(135deg, #5DADEC 0%, #73b7ea 100%);
    color: white;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* About Page Styles */
.about-content {
    padding: 100px 0;
    background: var(--bg-card);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    color: var(--color-ink);
    margin-bottom: 1.5rem;
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .page-header {
        padding: 120px 0 80px;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .service-card,
    .ministry-content {
        padding: 2rem 1.5rem;
    }

    .event-card {
        padding: 1.5rem;
    }

    .contact-form-container {
        padding: 1.5rem;
    }

    .event-info {
        padding: 1.5rem;
    }
}

/* Community Pages Styles */
.community-content {
    padding: 4rem 0;
    background: var(--bg-section-alt);
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.content-main {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.content-main h2 {
    color: var(--color-secondary);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid #5DADEC;
}

.content-main h3 {
    color: var(--color-ink);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content-main ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.content-main ul li {
    margin-bottom: 0.8rem;
    line-height: 1.7;
}

.content-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.info-card h3 {
    color: var(--color-secondary);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #5DADEC;
    font-size: 1.3rem;
}

.info-card p {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-card i {
    color: #5DADEC;
}

.info-card ul {
    list-style: none;
    padding: 0;
}

.info-card ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.info-card ul li:last-child {
    border-bottom: none;
}

.info-card ul li::before {
    content: '✓';
    color: #5DADEC;
    font-weight: bold;
    margin-right: 0.5rem;
}

.info-card .btn {
    margin-top: 1rem;
    width: 100%;
    text-align: center;
}

/* Block-rendered content */
.community-full-content .scripture-block {
    border-left: 4px solid #5DADEC;
    padding-left: 16px;
    margin: 16px 0;
}

.community-full-content blockquote {
    border-left: 3px solid #5DADEC;
    padding-left: 14px;
    color: #555;
    font-style: italic;
}

.community-full-content figure {
    margin: 16px 0;
}

.community-full-content img {
    max-width: 100%;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.community-full-content iframe,
.community-full-content video {
    width: 100%;
    border-radius: 10px;
}

.community-full-content .event-block,
.community-full-content .sermon-block {
    border: 1px solid var(--color-border);
    padding: 16px;
    border-radius: 10px;
    margin: 12px 0;
    background: #fafcff;
}

.community-full-content .btn {
    display: inline-block;
    margin-top: 8px;
}

.event-description-snippet p {
    margin: 0 0 8px 0;
}

@media (max-width: 968px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .content-main {
        padding: 2rem;
    }

    .info-card {
        padding: 1.5rem;
    }

    .contact-hero__content {
        grid-template-columns: 1fr;
    }

    .contact-main__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .community-content {
        padding: 2rem 0;
    }

    .content-main {
        padding: 1.5rem;
    }

    .content-main h2 {
        font-size: 1.8rem;
    }

    .content-main h3 {
        font-size: 1.4rem;
    }

    .custom-page-content figure {
        margin: 0 0 1.5rem 0;
    }

    .contact-hero {
        padding: 90px 0;
    }

    .contact-hero h2 {
        font-size: 2.2rem;
    }

    .contact-main .form-row {
        grid-template-columns: 1fr;
    }

    .custom-page-content img {
        border-radius: 12px;
        box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
    }

    .video-block {
        margin: 1.5rem 0;
    }

    .video-embed {
        position: relative;
        width: 100%;
        padding-top: 56.25%;
        background: #000;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
    }

    .video-embed iframe,
    .video-embed video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: 0;
    }

    .video-caption {
        text-align: center;
        color: #555;
        margin-top: 10px;
        font-size: 0.95rem;
    }
}