﻿:root {
    --primary: #8403fc;
    --secondary: #4c019a;
    --dark: #18003a;
    --white: #ffffff;
    --text: #1f1631;
    --text-soft: #5d5670;
    --line: rgba(76, 1, 154, 0.12);
    --surface: rgba(255, 255, 255, 0.88);
    --page-bg: linear-gradient(180deg, #ffffff 0%, #f8f3ff 48%, #ffffff 100%);
    --brand-gradient: linear-gradient(135deg, #8403fc 0%, #5406c8 100%);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    overflow-x: clip;
    max-width: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--page-bg);
    color: var(--text);
    overflow-x: hidden;
    overflow-x: clip;
    max-width: 100%;
}

h1, h2, h3, h4 {
    font-family: 'DM Serif Display', serif;
}

a {
    color: inherit;
}

.header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    backdrop-filter: blur(14px);
    background: rgba(38, 38, 39, 0.6);
    border-bottom: 1px solid rgba(132, 3, 252, 0.2);
    transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.header.is-scrolled {
    background: rgba(17, 11, 29, 0.9);
    box-shadow: 0 18px 40px rgba(24, 0, 58, 0.08);
    border-bottom-color: rgba(132, 3, 252, 0.26);
}

.nav-container {
    width: 90%;
    max-width: 1400px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-link {
    text-decoration: none;
    color: inherit;
    display: inline-block;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 40px;
}

.logo-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 17px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.2;
    color: var(--white);
}

.nav {
    display: flex;
    gap: 35px;
}

.nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    position: relative;
    transition: color 0.3s ease;
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav a:hover,
.nav a.active {
    color: var(--primary);
}

.nav a:hover::after,
.nav a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--white);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.is-active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.is-active span:nth-child(2) {
    opacity: 0;
}

.hamburger.is-active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    color: var(--white);
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.65),
        rgba(53, 4, 109, 0.75),
        rgba(175, 155, 198, 0.75)
    );
    z-index: -1;
}

.hero-content {
    z-index: 2;
    max-width: 980px;
    padding: 20px 24px;
}

.welcome {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(10, 5, 20, 0.45);
    color: rgba(255, 255, 255, 0.94);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
    animation: fadeLeft 1.2s ease forwards;
}

.church-name {
    font-family: 'Cinzel', serif;
    font-size: clamp(3.8rem, 9vw, 6.8rem);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    background: linear-gradient(115deg, #ffffff 0%, #d9c2ff 52%, #ffe7ae 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeRight 1.2s ease forwards;
    animation-delay: 0.35s;
    filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.34));
}

.hero-message {
    max-width: 760px;
    margin: 0.6rem auto 0;
    font-size: clamp(1rem, 1.4vw, 1.18rem);
    font-family: 'Inter', sans-serif;
    line-height: 1.85;
    font-weight: 400;
    opacity: 0.95;
    letter-spacing: 0.02em;
    text-shadow: 0 6px 18px rgba(6, 3, 15, 0.35);
    animation: fadeUp 1.2s ease forwards;
    animation-delay: 0.9s;
}

@keyframes fadeLeft {
    from { opacity: 0; transform: translateX(-60px); }
    to { opacity: 1; transform: translateX(0); }
}

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

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

#about-church {
    padding: 7.5rem 10%;
    background: linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(246,241,255,0.92) 100%);
}

.intro-wrap {
    max-width: 1200px;
    margin: 0 auto;
    display: block;
}

.intro-copy {
    text-align: left;
    padding: 2rem 2.1rem;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(247,243,255,0.88) 100%);
    border: 1px solid rgba(132, 3, 252, 0.12);
    box-shadow: 0 18px 40px rgba(46, 26, 71, 0.1);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    gap: 2rem;
    align-items: center;
}

.intro-copy-main {
    min-width: 0;
}

.intro-kicker {
    display: inline-flex;
    align-items: center;
    padding: 0.7rem 1.3rem;
    border-radius: 999px;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
    font-weight: 700;
    color: #1f1835;
    background: linear-gradient(135deg, #c7f0d5 0%, #8edfaf 100%);
    margin-bottom: 1.3rem;
}

.intro-title {
    font-size: clamp(2rem, 3.7vw, 3rem);
    color: var(--primary);
    margin-bottom: 1.2rem;
    line-height: 1.1;
    letter-spacing: -0.03em;
    max-width: 11ch;
}

.intro-text {
    font-size: 1.03rem;
    color: var(--text-soft);
    line-height: 1.85;
    margin-bottom: 1rem;
    max-width: 56ch;
}

.about-church-points {
    margin: 0.6rem 0 0.8rem;
    max-width: 58ch;
}

.about-church-points p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-soft);
    margin-bottom: 0.55rem;
}

.about-church-points strong {
    color: var(--text);
}

.intro-story-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.25rem;
    padding: 12px 20px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.78rem;
    color: #fff;
    background: linear-gradient(135deg, #8403fc 0%, #4c019a 100%);
    box-shadow: 0 12px 24px rgba(76,1,154,0.28);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.intro-story-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 28px rgba(76,1,154,0.34);
}

.intro-photo-card {
    position: relative;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 22px 44px rgba(46, 26, 71, 0.16);
    border: 1px solid rgba(132, 3, 252, 0.16);
    width: min(360px, 100%);
    aspect-ratio: 16 / 9;
    margin-left: 0;
}

.intro-photo-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 6, 31, 0.1) 24%, rgba(15, 6, 31, 0.82) 100%);
    pointer-events: none;
}

.intro-photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.intro-photo-caption {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 0.85rem;
    z-index: 2;
    color: #ffffff;
    font-size: 0.85rem;
    line-height: 1.45;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.intro-photo-card:hover img {
    transform: scale(1.04);
}

#introGalleryTrigger {
    cursor: zoom-in;
}

.image-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(8, 4, 18, 0.88);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 28px;
    z-index: 1200;
}

.image-lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: min(1100px, 96vw);
    max-height: 90vh;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

.lightbox-content img {
    display: block;
    width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 18px;
    right: 24px;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    z-index: 1201;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.25);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
    z-index: 1201;
    transition: background 0.2s ease, transform 0.2s ease;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.24);
}

.lightbox-prev {
    left: 22px;
}

.lightbox-next {
    right: 22px;
}

.lightbox-nav[hidden] {
    display: none;
}

.leaders-section {
    position: relative;
    background:
        radial-gradient(1100px 420px at 8% 2%, rgba(132, 3, 252, 0.35), transparent 60%),
        radial-gradient(900px 380px at 95% 6%, rgba(76, 1, 154, 0.36), transparent 58%),
        linear-gradient(180deg, #120128 0 44%, #edf1f8 44% 100%);
    padding: 5rem 8% 6.5rem;
    overflow: hidden;
}

.leaders-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0));
    pointer-events: none;
}

.leaders-title {
    text-align: center;
    color: #ffffff;
    font-size: clamp(2.4rem, 4vw, 3.7rem);
    font-family: "DM Serif Display", serif;
    font-weight: 400;
    letter-spacing: 0.01em;
    text-shadow: 0 10px 24px rgba(6, 4, 14, 0.35);
    margin-bottom: 0.4rem;
    position: relative;
    z-index: 1;
}

.leaders-credit {
    text-align: center;
    color: rgba(255, 255, 255, 0.86);
    margin-bottom: 2.6rem;
    font-size: clamp(0.78rem, 1.2vw, 0.95rem);
    font-family: "Montserrat", sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    text-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.leaders-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.6rem;
    max-width: 1250px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.leader-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(76, 1, 154, 0.16);
    border-radius: 20px;
    box-shadow: 0 18px 42px rgba(13, 9, 24, 0.2);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.leader-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 52px rgba(13, 9, 24, 0.26);
}

.leader-photo-wrap {
    border: 0;
    padding: 0;
    background: none;
    margin-bottom: 0;
    position: relative;
}

.leader-gallery-trigger {
    cursor: zoom-in;
}

.leader-photo-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(16, 9, 36, 0.4), rgba(16, 9, 36, 0.02) 48%);
    pointer-events: none;
}

.leader-gallery-trigger::before {
    content: "View Photo";
    position: absolute;
    right: 14px;
    top: 14px;
    z-index: 2;
    font-family: "Montserrat", sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #ffffff;
    background: rgba(10, 8, 18, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 999px;
    padding: 0.35rem 0.62rem;
    opacity: 0;
    transform: translateY(-3px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
}

.leader-gallery-trigger:hover::before,
.leader-gallery-trigger:focus-visible::before {
    opacity: 1;
    transform: translateY(0);
}

.leader-gallery-trigger:focus-visible {
    outline: 3px solid rgba(132, 3, 252, 0.55);
    outline-offset: -3px;
}

.leader-photo {
    width: 100%;
    height: 360px;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.leader-gallery-trigger:hover .leader-photo,
.leader-gallery-trigger:focus-visible .leader-photo {
    transform: scale(1.05);
}

.leader-meta {
    background: linear-gradient(180deg, #ffffff 0%, #f8f5ff 100%);
    padding: 1.2rem 1.15rem 1.15rem;
    border-top: 1px solid rgba(76, 1, 154, 0.1);
}

.leader-meta h3 {
    color: #140c2b;
    font-size: clamp(1.15rem, 1.3vw, 1.5rem);
    letter-spacing: 0.01em;
    font-weight: 700;
    font-family: "Montserrat", sans-serif;
    text-transform: none;
    line-height: 1.35;
    margin-bottom: 0.7rem;
}

.leader-bio-toggle {
    appearance: none;
    border: 1px solid rgba(76, 1, 154, 0.2);
    background: linear-gradient(135deg, #ffffff 0%, #f2ecff 100%);
    color: #3a0a75;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 999px;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.leader-bio-toggle:hover {
    transform: translateY(-1px);
    border-color: rgba(76, 1, 154, 0.38);
}

.leader-bio-toggle:focus-visible {
    outline: 2px solid rgba(132, 3, 252, 0.5);
    outline-offset: 2px;
}

.leader-card.is-open .leader-bio-toggle {
    background: linear-gradient(135deg, #8403fc 0%, #4c019a 100%);
    color: #fff;
    border-color: transparent;
}

.leader-bio-panel {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin-top: 0;
    transition: max-height 0.45s ease, opacity 0.3s ease, margin-top 0.3s ease;
}

.leader-card.is-open .leader-bio-panel {
    max-height: 900px;
    opacity: 1;
    margin-top: 0.85rem;
}

.leader-role {
    font-size: 0.92rem !important;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #4c019a;
    margin-bottom: 0.65rem;
    font-family: "Montserrat", sans-serif;
}

.leader-bio {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
    display: grid;
    gap: 0.42rem;
    text-align: left;
}

.leader-bio li {
    color: #2d2344;
    font-size: 0.91rem;
    line-height: 1.5;
}

.leader-bio strong {
    color: #120b25;
}

.leader-social {
    display: flex;
    justify-content: flex-start;
    gap: 0.65rem;
}

.leader-social a {
    color: var(--secondary);
    text-decoration: none;
    font-size: 1rem;
    line-height: 1;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid rgba(76, 1, 154, 0.15);
    background: rgba(132, 3, 252, 0.06);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.leader-social a:hover {
    color: #fff;
    background: #4c019a;
    transform: translateY(-1px);
}

.contact-section {
    background: linear-gradient(rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.58)),
        url("photo_23_2026-03-06_18-27-42.webp");
    background-size: cover;
    background-position: center;
    padding: 4rem 10%;
}

.contact-layout {
    max-width: 1250px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 690px;
    width: 100%;
    min-width: 0;
}

.contact-copy {
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem 2rem;
}

.contact-copy h2 {
    color: var(--white);
    text-align: center;
    font-size: clamp(2.2rem, 3.4vw, 4rem);
    margin-bottom: 1.2rem;
    font-weight: 700;
}

.contact-copy p {
    text-align: center;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.contact-points {
    display: grid;
    gap: 1rem;
}

.contact-point {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    min-width: 0;
}

.contact-point i {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(132, 3, 252, 0.14);
    color: #ffffff;
}

.contact-form-card {
    background: #ececec;
    padding: 2.5rem 3rem 2.2rem;
    min-width: 0;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.contact-form-card label {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.contact-form-card label span {
    color: #333;
    font-size: clamp(1.1rem, 1.7vw, 1.2rem);
    margin-bottom: 0.1rem;
    text-transform: none;
    letter-spacing: 0;
}

.contact-form-card input,
.contact-form-card textarea {
    border: 0;
    border-bottom: 3px solid var(--primary);
    background: transparent;
    padding: 0.6rem 0.2rem 0.7rem;
    font-size: clamp(1.05rem, 1.4vw, 1.2rem);
    color: #222;
    outline: none;
    border-radius: 0;
    box-shadow: none;
    min-width: 0;
}

.contact-form-card input:focus,
.contact-form-card textarea:focus {
    border-color: var(--secondary);
    background: transparent;
    box-shadow: none;
}

.contact-form-message {
    margin-top: 1.3rem;
}

.contact-check {
    display: flex;
    align-items: center;
    gap: 0.65rem !important;
    margin-top: 1.45rem;
}

.contact-check input {
    margin: 0;
    width: 18px;
    height: 18px;
}

.contact-check span {
    font-size: clamp(1rem, 1.25vw, 1.1rem) !important;
    color: #444 !important;
}

.contact-check a {
    color: #98b5d5;
}

.contact-form-actions {
    margin-top: 1.5rem;
}

.contact-form-card button {
    border: 0;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-size: clamp(1.1rem, 1.5vw, 1.2rem);
    padding: 0.95rem 1.4rem;
    letter-spacing: 1px;
    cursor: pointer;
    box-shadow: none;
}

.contact-form-status {
    min-height: 22px;
    font-size: 14px;
    color: var(--secondary);
    margin-top: 12px;
}

.contact-point span {
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.sermon-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--primary);
    color: var(--white);
    padding: 14px 18px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    z-index: 999;
    animation: shakeBtn 5s infinite;
    transition: transform 0.3s ease, background 0.3s ease;
}

.sermon-icon {
    width: 40px;
    height: 40px;
    background: var(--white);
    color: #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
}

.sermon-text {
    font-size: 14px;
}

.sermon-float:hover {
    background: var(--secondary);
}

@keyframes shakeBtn {
    0% { transform: translateX(0); }
    2% { transform: translateX(-3px); }
    4% { transform: translateX(3px); }
    6% { transform: translateX(-3px); }
    8% { transform: translateX(3px); }
    10% { transform: translateX(0); }
    100% { transform: translateX(0); }
}

.church-footer {
    --text-primary: #ffffff;
    --text-secondary: #cbb6ff;
    --accent-color: #a855f7;
    --accent-glow: rgba(168, 85, 247, 0.4);
    --border-color: rgba(255, 255, 255, 0.1);
    --transition-speed: 0.3s;
    width: 100%;
    margin: 0;
    border-radius: 0;
    background: linear-gradient(-45deg, #8403fe, #4c019a, #180032, #4c019a);
    background-size: 400% 400%;
    animation: gradientMove 15s ease infinite;
    color: var(--text-primary);
    padding: 80px 5% 40px;
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--border-color);
}

.church-footer,
.church-footer * {
    box-sizing: border-box;
}

.church-footer h3,
.church-footer p,
.church-footer ul {
    margin: 0;
    padding: 0;
}

.footer-logo {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    margin-bottom: 25px;
    opacity: 0;
    transform: translateY(20px);
    animation: footerFadeUp 0.8s ease forwards;
}

.church-footer::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    opacity: 0.25;
    z-index: 0;
    pointer-events: none;
}

.footer-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.footer-brand p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 30px;
    font-size: 0.95rem;
    opacity: 0;
    transform: translateY(20px);
    animation: footerFadeUp 0.8s ease 0.2s forwards;
}

.contact-info {
    list-style: none;
    margin-bottom: 30px;
}

.contact-info li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: all var(--transition-speed);
    opacity: 0;
    transform: translateX(-20px);
    animation: slideRight 0.8s ease forwards;
}

.contact-info li:nth-child(1) { animation-delay: 0.4s; }
.contact-info li:nth-child(2) { animation-delay: 0.5s; }
.contact-info li:nth-child(3) { animation-delay: 0.6s; }

.contact-info li i {
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    color: var(--accent-color);
    font-size: 0.8rem;
    transition: all var(--transition-speed);
    flex: 0 0 30px;
}

.contact-info li:hover i {
    background: var(--accent-color);
    color: #180032;
    transform: scale(1.1);
    box-shadow: 0 0 15px var(--accent-glow);
}

.contact-info li:hover {
    color: var(--text-primary);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 15px;
    opacity: 0;
    animation: fadeIn 1s ease 0.8s forwards;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all var(--transition-speed);
    position: relative;
    overflow: hidden;
}

.social-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--accent-color);
    transform: translateY(100%);
    transition: transform var(--transition-speed);
    z-index: -1;
}

.social-btn:hover {
    color: #180032;
    border-color: var(--accent-color);
}

.social-btn:hover::before {
    transform: translateY(0);
}

.footer-col h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--text-primary);
    position: relative;
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    animation: footerFadeUp 0.8s ease 0.3s forwards;
}

.footer-col h3::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.footer-col:hover h3::after {
    width: 100%;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.footer-links a::before {
    content: ">";
    position: absolute;
    left: -15px;
    opacity: 0;
    color: var(--accent-color);
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--text-primary);
    padding-left: 15px;
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.worship-box {
    grid-column: 2 / 5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: -75px;
    margin-bottom: 0;
}

.worship-box h2 {
    font-size: 1.6rem;
    margin-bottom: 30px;
    color: var(--white);
}

.worship-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.worship-item {
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
}

.worship-item i {
    font-size: 20px;
    background: rgba(255, 255, 255, 0.08);
    padding: 10px;
    border-radius: 8px;
    color: #ffd54a;
}

.worship-item h4 {
    margin-bottom: 5px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
}

.worship-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.visit-btn {
    display: inline-block;
    background: #ffd54a;
    color: #180032;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.visit-btn:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    transition: all 0.8s ease;
}

.copyright {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.reveal {
    opacity: 1;
    transform: none;
    transition: none;
}

.reveal.active {
    opacity: 1;
    transform: none;
}

/* Disable About page fade/slide-in effects and prevent horizontal swipe gaps */
.welcome,
.church-name,
.hero-message,
.footer-logo,
.footer-brand p,
.contact-info li,
.social-links,
.footer-col h3 {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
}

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

@keyframes slideRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@media (max-width: 1024px) {
    .intro-copy,
    .contact-layout {
        grid-template-columns: 1fr;
    }

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

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

    .worship-box {
        grid-column: 1 / -1;
        margin-top: 0;
    }
}

@media (max-width: 900px) {
    .nav {
        position: absolute;
        top: 80px;
        right: -100%;
        background: rgba(24, 0, 58, 0.95);
        flex-direction: column;
        width: 100%;
        text-align: center;
        padding: 34px 0;
        transition: right 0.4s ease;
        box-shadow: 0 24px 40px rgba(24, 0, 58, 0.08);
        border-bottom: 1px solid rgba(132, 3, 252, 0.1);
    }

    .nav.active {
        right: 0;
    }

    .hamburger {
        display: flex;
    }

    .hero-content {
        padding: 26px 18px;
    }

    .logo-name {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 72vh;
    }

    .church-name {
        font-size: 3rem;
        letter-spacing: 0.03em;
    }

    .hero-message {
        font-size: 14px;
        padding: 0 20px;
    }

    #about-church {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .intro-copy {
        padding: 1.5rem;
        grid-template-columns: 1fr;
        gap: 1.25rem;
        text-align: center;
    }

    .intro-title,
    .intro-text,
    .about-church-points {
        max-width: none;
    }

    .intro-kicker {
        margin-left: auto;
        margin-right: auto;
    }

    .intro-story-link {
        margin-left: auto;
        margin-right: auto;
    }

    .intro-photo-card {
        width: min(340px, 100%);
        margin-left: auto;
        margin-right: auto;
    }

    .intro-photo-caption {
        font-size: 0.8rem;
    }

    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-close {
        top: 12px;
        right: 12px;
        width: 40px;
        height: 40px;
    }

    .leaders-section {
        background:
            radial-gradient(900px 320px at 15% 2%, rgba(132, 3, 252, 0.3), transparent 58%),
            linear-gradient(180deg, #120128 0 33%, #edf1f8 33% 100%);
        padding-top: 3.5rem;
        padding-left: 4%;
        padding-right: 4%;
    }

    .leaders-credit {
        margin-bottom: 2rem;
    }

    .leaders-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .leader-photo {
        height: 280px;
    }

    .leader-gallery-trigger::before {
        opacity: 1;
        transform: translateY(0);
        font-size: 0.63rem;
        padding: 0.3rem 0.52rem;
    }

    .leader-meta {
        padding: 1rem;
    }

    .contact-section {
        padding: 2rem 12px;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .contact-copy {
        padding: 2.2rem 1.4rem;
    }

    .contact-form-card {
        padding: 2rem 1.3rem;
    }

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

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

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

    .worship-grid {
        flex-direction: column;
        gap: 30px;
    }

    .sermon-text {
        display: none;
    }

    .sermon-float {
        padding: 14px;
    }
}

@media (max-width: 560px) {
    .church-name {
        font-size: 2.45rem;
        letter-spacing: 0.02em;
    }

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

    .leader-photo {
        height: 320px;
    }
}

/* ==============================
WATCH BUTTON BRAND STYLE
============================== */
.sermon-float{
  display:inline-flex;
  align-items:center;
  gap:10px;
  background:linear-gradient(135deg, #8403fc 0%, #4c019a 100%) !important;
  color:#ffffff !important;
  border:1px solid rgba(255,255,255,0.2) !important;
  border-radius:999px !important;
  padding:10px 16px 10px 12px !important;
  box-shadow:0 14px 28px rgba(76,1,154,0.35) !important;
  text-decoration:none;
}

.sermon-icon{
  width:34px !important;
  height:24px !important;
  border-radius:8px !important;
  background:#ffffff !important;
  color:transparent !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  font-size:0 !important;
  position:relative;
}

.sermon-icon::before{
  content:"";
  display:block;
  width:0;
  height:0;
  border-top:6px solid transparent;
  border-bottom:6px solid transparent;
  border-left:10px solid #8403fc;
  margin-left:2px;
}

.sermon-text{
  color:#ffffff !important;
  font-weight:700;
  letter-spacing:0.01em;
}

.sermon-float:hover{
  transform:translateY(-2px);
  box-shadow:0 18px 34px rgba(76,1,154,0.42) !important;
}

a.hero-btn-secondary[href*="watch.html"],
a.btn-secondary[href*="watch.html"]{
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:linear-gradient(135deg, #8403fc 0%, #4c019a 100%) !important;
  color:#ffffff !important;
  border:1px solid rgba(255,255,255,0.25) !important;
  box-shadow:0 10px 24px rgba(76,1,154,0.3) !important;
}

a.hero-btn-secondary[href*="watch.html"]::before,
a.btn-secondary[href*="watch.html"]::before{
  content:"▶";
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:22px;
  height:14px;
  border-radius:4px;
  background:#ffffff;
  color:#8403fc;
  font-size:9px;
  line-height:1;
  font-weight:800;
}

