/* =============================================================
   HIS SPIRIT AND POWER MINISTRY — style.css (Redesign)
   Fonts: Cormorant Garamond (headings) + DM Sans (body)
   Load these in index.html <head> by replacing the old font link:
   https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400&family=DM+Sans:wght@300;400;500;600&display=swap
============================================================= */

/* ─── 1. VARIABLES ───────────────────────────────────────── */
:root {
    --primary: #5d001e;
    --primary-dark: #3a0012;
    --primary-light: rgba(93, 0, 30, 0.07);
    --gold: #c9a84c;
    --gold-light: rgba(201, 168, 76, 0.12);
    --bg: #faf8f5;
    --bg-warm: #f3ede3;
    --bg-card: #ffffff;
    --bg-dark: #1c0a0e;
    --text: #261318;
    --muted: #7a6670;
    --border: rgba(93, 0, 30, 0.1);
    --shadow-xs: 0 2px 8px rgba(28, 10, 14, 0.06);
    --shadow-sm: 0 4px 16px rgba(28, 10, 14, 0.08);
    --shadow-md: 0 10px 30px rgba(28, 10, 14, 0.11);
    --shadow-lg: 0 20px 50px rgba(28, 10, 14, 0.16);
    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 22px;
    --transition: all 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    --font-display: "Cormorant Garamond", serif;
    --font-body: "DM Sans", sans-serif;
}

/* ─── 2. RESET ───────────────────────────────────────────── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    color: var(--primary);
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 0.9rem;
}
a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}
img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius);
}

/* ─── 3. LAYOUT HELPERS ──────────────────────────────────── */
.container {
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
}
section {
    padding: 96px 0;
}

/* Section label (small eyebrow text) */
.section-title {
    text-align: center;
    margin-bottom: 56px;
}
.section-title h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    position: relative;
    display: inline-block;
    padding-bottom: 16px;
}
.section-title h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
}
.section-title p {
    color: var(--muted);
    font-size: 1.05rem;
    margin-top: 12px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

/* Grid */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
    margin-top: 40px;
}

/* ─── 4. BUTTONS ─────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 30px;
    margin: 8px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}
.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 18px rgba(93, 0, 30, 0.3);
}
.btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: 0 8px 24px rgba(93, 0, 30, 0.4);
    transform: translateY(-2px);
}
.btn-outline {
    background: transparent;
    border: 1.5px solid currentColor;
    color: var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-2px);
}
.btn-gold {
    background: var(--gold);
    color: var(--primary-dark);
    font-weight: 700;
}
.btn-gold:hover {
    background: #b8922e;
    transform: translateY(-2px);
}
.btn-copy {
    background: var(--bg);
    border: 1px solid var(--border);
    padding: 5px 12px;
    font-size: 0.78rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-family: var(--font-body);
    transition: var(--transition);
}
.btn-copy:hover {
    background: var(--primary-light);
    color: var(--primary);
}

/* ─── 5. FORMS ───────────────────────────────────────────── */
input,
textarea,
select {
    width: 100%;
    padding: 13px 16px;
    margin-bottom: 14px;
    border: 1.5px solid #e2d9db;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    background: var(--bg-card);
    color: var(--text);
    transition: var(--transition);
}
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(93, 0, 30, 0.08);
}
input::placeholder,
textarea::placeholder {
    color: #b0a0a5;
}

/* ─── 6. CARDS ───────────────────────────────────────────── */
.card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-xs);
    border: 1px solid rgba(93, 0, 30, 0.06);
    transition: var(--transition);
}
.card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-6px);
}

/* ─── 7. HEADER & NAV ────────────────────────────────────── */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(250, 248, 245, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}
header.scrolled {
    box-shadow: var(--shadow-sm);
}
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 76px;
}
.logo img {
    height: 54px;
    width: auto;
    transition: var(--transition);
}
.logo img:hover {
    opacity: 0.85;
}

.nav-links {
    display: flex;
    gap: 6px;
    list-style: none;
    align-items: center;
}
.nav-links a {
    font-size: 0.83rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: var(--muted);
    padding: 7px 13px;
    border-radius: 50px;
    transition: var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
    background: var(--primary-light);
}
.mobile-menu-btn {
    display: none;
    font-size: 1.35rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary);
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.mobile-menu-btn:hover {
    background: var(--primary-light);
}

/* ─── 8. HERO ────────────────────────────────────────────── */
#hero {
    min-height: 100vh;
    background:
        linear-gradient(
            160deg,
            rgba(28, 10, 14, 0.72) 0%,
            rgba(93, 0, 30, 0.55) 100%
        ),
        url("assets/images/hero-bg.jpg") center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 76px;
    position: relative;
    overflow: hidden;
}
#hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse at center bottom,
        rgba(201, 168, 76, 0.08) 0%,
        transparent 70%
    );
    pointer-events: none;
}
#hero .container {
    position: relative;
    z-index: 1;
}
#hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}
#hero h1 em {
    font-style: italic;
    color: var(--gold);
}
#hero > .container > p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 36px;
    font-weight: 300;
    letter-spacing: 0.5px;
}
.hero-btns {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}
.hero-btns .btn {
    margin: 0;
}
.hero-btns .btn-outline {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.6);
}
.hero-btns .btn-outline:hover {
    background: #fff;
    color: var(--primary);
    border-color: #fff;
}

/* Scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.72rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: heroScroll 2.2s ease-in-out infinite;
}
.hero-scroll i {
    font-size: 1rem;
}
@keyframes heroScroll {
    0%,
    100% {
        opacity: 0.4;
        transform: translateX(-50%) translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateX(-50%) translateY(6px);
    }
}

/* ─── 9. ABOUT ───────────────────────────────────────────── */
#about {
    background: var(--bg-warm);
}
#about .grid-container {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    margin-top: 0;
}
.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 16px;
}
.about-text p {
    color: var(--muted);
    margin-bottom: 16px;
}
.about-text .prayer-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-light);
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 10px 20px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary);
    margin-top: 8px;
}
.about-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.about-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 0;
    transition: transform 0.6s ease;
}
.about-image:hover img {
    transform: scale(1.04);
}
.about-image .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(28, 10, 14, 0.78) 0%,
        transparent 55%
    );
    display: flex;
    align-items: flex-end;
    padding: 28px;
}
.about-image .overlay .verse {
    color: rgba(255, 255, 255, 0.92);
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.5;
    border-left: 2px solid var(--gold);
    padding-left: 14px;
}

/* ─── 10. PASTOR ─────────────────────────────────────────── */
#pastor {
    background: var(--bg-card);
}
#pastor .grid-container {
    grid-template-columns: 340px 1fr;
    align-items: center;
    gap: 60px;
    margin-top: 0;
}
.pastor-image {
    position: relative;
    display: flex;
    justify-content: center;
}
.pastor-image img {
    width: 280px;
    height: 340px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: none;
    transition: var(--transition);
}
.pastor-image::before {
    content: "";
    position: absolute;
    inset: -10px;
    border: 1.5px solid var(--gold);
    border-radius: calc(var(--radius-lg) + 4px);
    opacity: 0.4;
    pointer-events: none;
}
.pastor-image img:hover {
    transform: scale(1.02);
}
.pastor-text h3 {
    font-size: 2.2rem;
    margin-bottom: 6px;
}
.pastor-text .pastor-title {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
    display: block;
}
.pastor-text p {
    color: var(--muted);
    margin-bottom: 14px;
    text-align: justify;
    line-height: 1.8;
}

/* ─── 11. SERMONS ────────────────────────────────────────── */
#sermons {
    background: var(--bg);
}
#sermon-search {
    display: block;
    max-width: 480px;
    margin: 0 auto 40px;
    padding: 13px 20px 13px 46px;
    border-radius: 50px;
    border: 1.5px solid var(--border);
    background: var(--bg-card)
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%237a6670' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398l3.85 3.85a1 1 0 0 0 1.415-1.415l-3.868-3.833zm-5.242 1.656a5 5 0 1 1 0-10 5 5 0 0 1 0 10z'/%3E%3C/svg%3E")
        16px center / 16px no-repeat;
}
#sermon-search:focus {
    outline: none;
    border-color: var(--primary);
}
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius) var(--radius) 0 0;
    background: #000;
    margin: -2rem -2rem 1.5rem;
}
.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.audio-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--bg-warm);
    border-radius: var(--radius);
    padding: 32px 20px;
    margin-bottom: 16px;
    border: 1px dashed var(--border);
}
.audio-card i {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 12px;
}
.mixlr-cta {
    text-align: center;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

/* ─── 12. DEVOTIONAL ─────────────────────────────────────── */
#devotional {
    background: var(--bg-warm);
}
#devotional-display .card {
    max-width: 760px;
    margin: 0 auto;
    border-left: 3px solid var(--gold);
    padding: 2.5rem;
}
#devotional-display .dev-date-badge {
    display: inline-block;
    background: var(--gold);
    color: var(--primary-dark);
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 18px;
}
#devotional-display h2 {
    font-size: 1.9rem;
    margin-bottom: 10px;
}
#devotional-display .dev-verse {
    font-family: var(--font-display);
    font-style: italic;
    color: var(--primary);
    font-size: 1.1rem;
    border-left: 2px solid var(--gold);
    padding-left: 14px;
    margin: 16px 0;
}
#devotional-display .dev-preview {
    color: var(--muted);
    line-height: 1.8;
}
.dev-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    flex-wrap: wrap;
}
.dev-actions .btn {
    margin: 0;
}

/* ─── 13. EVENTS ─────────────────────────────────────────── */
#events {
    background: var(--bg-card);
}
#events-list .card {
    padding: 0;
    overflow: hidden;
}
#events-list .card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius) var(--radius) 0 0;
}
#events-list .card:hover img {
    transform: scale(1.04);
}
#events-list .event-body {
    padding: 24px;
}
#events-list .event-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}
#events-list h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}
#events-list p {
    color: var(--muted);
    font-size: 0.93rem;
}

/* ─── 14. TESTIMONIES ────────────────────────────────────── */
#testimonies {
    background: var(--bg);
}
#testimony-list .card {
    display: flex;
    flex-direction: column;
}
.testimony-author {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}
.testimony-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.testimony-avatar-placeholder {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
    flex-shrink: 0;
}
.testimony-author h4 {
    margin: 0;
    font-size: 1rem;
}
.testimony-author small {
    color: var(--muted);
    font-size: 0.8rem;
}
#testimony-list .card p {
    color: var(--muted);
    font-style: italic;
    font-size: 0.97rem;
    line-height: 1.8;
    flex: 1;
}
#testimony-list .card p::before {
    content: "\201C";
    font-size: 1.4rem;
    color: var(--gold);
    line-height: 0;
    vertical-align: -0.3em;
    margin-right: 2px;
}
#testimony-list .card p::after {
    content: "\201D";
    font-size: 1.4rem;
    color: var(--gold);
    line-height: 0;
    vertical-align: -0.3em;
    margin-left: 2px;
}
.testimonies-cta {
    text-align: center;
    margin-top: 48px;
}

/* ─── 15. TESTIMONY MODAL ────────────────────────────────── */
#testimony-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(28, 10, 14, 0.85);
    backdrop-filter: blur(6px);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}
#testimony-modal .card {
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideUp 0.36s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}
.modal-header h3 {
    margin: 0;
}
.modal-close-btn {
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: var(--muted);
    line-height: 1;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.modal-close-btn:hover {
    background: var(--primary-light);
    color: var(--primary);
}

/* ─── 16. DEVOTIONAL MODAL ───────────────────────────────── */
#devotional-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(28, 10, 14, 0.88);
    backdrop-filter: blur(6px);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}
#devotional-modal .card {
    width: 90%;
    max-width: 640px;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideUp 0.36s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    border-top: 3px solid var(--gold);
}
#devotional-modal .card::-webkit-scrollbar {
    width: 6px;
}
#devotional-modal .card::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}
#devotional-modal .card::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}
#modal-dev-title {
    font-size: 1.8rem;
    color: var(--primary);
}
#modal-dev-date {
    font-size: 0.82rem;
    color: var(--muted);
    margin-bottom: 16px;
}
#modal-dev-verse {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.1rem;
    color: var(--primary);
    border-left: 3px solid var(--gold);
    padding: 12px 18px;
    background: var(--gold-light);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin: 16px 0 20px;
}
#modal-dev-body {
    font-size: 0.97rem;
    color: #3a2528;
    line-height: 1.9;
    text-align: justify;
    white-space: pre-wrap;
}
.modal-confession {
    margin-top: 24px;
    background: var(--gold-light);
    border: 1px solid rgba(201, 168, 76, 0.3);
    border-radius: var(--radius);
    padding: 18px 20px;
}
.modal-confession p:first-child {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

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

/* ─── 17. CONTACT ────────────────────────────────────────── */
#contact {
    background: var(--bg-warm);
}
#contact .grid-container {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: stretch;
    margin-top: 0;
}
#contact .contact-card {
    flex: 1 1 280px;
    display: flex;
    flex-direction: column;
}
#contact .contact-card h3 {
    font-size: 1.4rem;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 20px;
}
#contact .contact-card button[type="submit"] {
    margin-top: auto;
    width: 100%;
}
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.93rem;
    color: var(--muted);
}
.contact-item i {
    color: var(--primary);
    margin-top: 3px;
    width: 16px;
    flex-shrink: 0;
}
.email {
    word-break: break-word;
}
.appointment-sub {
    background: var(--primary-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px;
    margin-bottom: 18px;
    font-size: 0.87rem;
    color: var(--muted);
    line-height: 1.6;
}
.appointment-sub h5 {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.87rem;
    color: var(--muted);
}
.contact-note {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 28px;
    margin: 0 0 0;
    text-align: center;
}
.contact-note p {
    color: var(--muted);
    font-size: 0.92rem;
    margin-bottom: 6px;
}
.contact-note .small {
    font-size: 0.82rem;
}

/* ─── 18. FOOTER ─────────────────────────────────────────── */
.main-footer {
    background: var(--bg-dark);
    color: rgba(255, 255, 255, 0.75);
    padding: 72px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.main-footer h3,
.main-footer h4 {
    font-family: var(--font-display);
    color: #fff;
    margin-bottom: 16px;
}
.main-footer h3 {
    font-size: 1.6rem;
}
.main-footer h4 {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.main-footer p {
    font-size: 0.9rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.55);
}
.footer-about .contact-item {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.88rem;
}
.footer-about .contact-item i {
    color: var(--gold);
}

/* Subscribe form */
#subscribe-form {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 4px;
}
#subscribe-form input {
    flex: 1;
    min-width: 160px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    border-radius: var(--radius-sm);
    padding: 11px 14px;
    font-size: 0.87rem;
    margin-bottom: 0;
}
#subscribe-form input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}
#subscribe-form input:focus {
    border-color: var(--gold);
    box-shadow: none;
    outline: none;
}
#subscribe-form button {
    padding: 11px 20px;
    background: var(--gold);
    color: var(--primary-dark);
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.83rem;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-body);
    letter-spacing: 0.5px;
}
#subscribe-form button:hover {
    background: #b8922e;
}
#message {
    font-size: 0.82rem;
    margin-top: 8px;
    min-height: 18px;
    color: rgba(255, 255, 255, 0.7);
}

/* Social icons */
.social-icons {
    display: flex;
    gap: 10px;
    margin-top: 4px;
}
.social-icons a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.88rem;
    transition: var(--transition);
}
.social-icons a:hover {
    background: var(--gold);
    color: var(--primary-dark);
    transform: translateY(-3px);
}

/* Footer bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 20px 0;
}
.footer-bottom p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.35);
}
.footer-links {
    display: flex;
    gap: 20px;
}
.footer-links a {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.35);
    transition: var(--transition);
}
.footer-links a:hover {
    color: var(--gold);
}

/* ─── 19. TOAST ──────────────────────────────────────────── */
.toast {
    position: fixed;
    bottom: 28px;
    right: 28px;
    background: var(--primary-dark);
    color: #fff;
    padding: 13px 22px;
    border-radius: 50px;
    box-shadow: var(--shadow-md);
    font-size: 0.88rem;
    font-weight: 500;
    z-index: 9999;
    transform: translateY(80px);
    opacity: 0;
    transition:
        transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.35s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}
.toast::before {
    content: "✓";
    font-weight: 700;
    color: var(--gold);
}
.toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* ─── 20. UTILITY ────────────────────────────────────────── */
.loader {
    border: 3px solid #f0e8eb;
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    animation: spin 0.9s linear infinite;
    margin: 24px auto;
}
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(22px);
    transition:
        opacity 0.55s ease,
        transform 0.55s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
.section-title p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* ─── 21. RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 900px) {
    section {
        padding: 72px 0;
    }

    #about .grid-container,
    #pastor .grid-container {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    #pastor .grid-container {
        grid-template-columns: 1fr;
    }
    .pastor-image {
        justify-content: flex-start;
    }
    .about-image img {
        height: 320px;
    }

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

@media (max-width: 768px) {
    section {
        padding: 64px 0;
    }

    /* Nav */
    .nav-links {
        position: fixed;
        top: 76px;
        left: 0;
        width: 100%;
        height: calc(100vh - 76px);
        background: rgba(250, 248, 245, 0.98);
        backdrop-filter: blur(14px);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 32px 20px;
        gap: 4px;
        transform: translateX(-100%);
        transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        border-right: none;
        box-shadow: none;
    }
    .nav-links.active {
        transform: translateX(0);
    }
    .nav-links li {
        width: 100%;
    }
    .nav-links a {
        display: block;
        text-align: center;
        padding: 13px 20px;
        font-size: 1.05rem;
    }
    .mobile-menu-btn {
        display: block;
    }

    /* Hero */
    #hero h1 {
        font-size: 2.5rem;
    }

    /* About */
    #about .grid-container {
        gap: 28px;
    }
    .about-text {
        order: 1;
    }
    .about-image {
        order: 2;
    }
    .about-image img {
        height: 280px;
    }

    /* Pastor */
    .pastor-image {
        justify-content: center;
    }
    .pastor-image img {
        width: 220px;
        height: 270px;
    }

    /* Contact */
    #contact .grid-container {
        flex-direction: column;
    }
    #contact .contact-card {
        flex: 1 1 100%;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-bottom: 28px;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    /* Section title */
    .section-title h2 {
        font-size: 1.9rem;
    }

    .section-title p {
        text-align: justify;
        text-align-last: left;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    #hero h1 {
        font-size: 2rem;
    }
    .hero-btns {
        flex-direction: column;
        align-items: center;
    }
    .hero-btns .btn {
        width: 200px;
        justify-content: center;
    }
    .grid-container {
        grid-template-columns: 1fr;
    }
    .btn {
        padding: 12px 24px;
        font-size: 0.82rem;
    }
}
 p{
  text-align: justify;
  text-align-last: left;
}