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

html {
    scroll-behavior: smooth;
}

:root {
    --primary-color: #8B0000;
    --accent: #8B0000;
    --secondary-color: #ffffff;
    --text-color: #1f2937;
    --warm-bg: #f9f6f1;
    --dark-bg: #1a1a1e;
}

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Vatican: Playfair Display on all headings */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
}

[id] {
    scroll-margin-top: 84px;
}

.navbar {
    background: rgba(110, 0, 0, 0.96);
    padding: 0.75rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 24px rgba(0,0,0,0.35);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-img {
    height: 55px;
    width: auto;
    display: block;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.logo h3 {
    color: white;
    margin: 0;
    font-size: 1.28rem;
    line-height: 1.1;
}

.logo p {
    color: white;
    margin: 0;
    font-size: 0.86rem;
    line-height: 1.1;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.15rem;
    align-items: center;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-size: 0.92rem;
    white-space: nowrap;
}

.nav-menu a:hover {
    opacity: 0.75;
}

/* Floating Donate Button */
.floating-donate-btn {
    position: fixed;
    top: 100px;
    right: 30px;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: #fff;
    border: 2px solid #fbbf24;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.95rem;
    cursor: pointer;
    z-index: 998;
    transition: all 0.3s ease, opacity 0.3s ease;
    box-shadow: 0 6px 20px rgba(139, 0, 0, 0.35);
    letter-spacing: 0.08em;
    backdrop-filter: blur(10px);
    display: none;
}

.floating-donate-btn:hover {
    background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 28px rgba(139, 0, 0, 0.45);
    border-color: #fcd34d;
}

.floating-donate-btn:active {
    transform: translateY(-1px) scale(0.98);
}

/* Dropdown */
.has-dropdown {
    position: relative;
}

.dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    background: white;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    list-style: none;
    padding: 0.5rem 0;
    min-width: 200px;
    z-index: 2000;
}

.has-dropdown:hover .dropdown {
    display: block;
}

.dropdown li a {
    display: block;
    color: #1f2937;
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.dropdown li a:hover {
    background: #fef2f2;
    color: #8B0000;
    opacity: 1;
}

.dropdown-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 0.4rem 0;
}

/* Hamburger - hidden on desktop */
.hamburger {
    display: none;
}

.nav-overlay {
    display: none;
}

.teachings-intro {
    max-width: 980px;
    width: 100%;
    margin: 0 auto 3rem;
}

.teachings-intro .section-tag {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 3px;
    padding: 18px 34px;
    border-radius: 999px;
    margin-bottom: 24px;
}

.teachings-title {
    color: #ffffff;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 0;
    padding-bottom: 1.4rem;
    position: relative;
    line-height: 1.2;
}

.teachings-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 2px;
    background: rgba(255, 255, 255, 0.55);
    margin-bottom: 32px;
}

.teachings-description {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.08rem;
    line-height: 1.9;
    max-width: 760px;
    margin: 0 auto;
    font-weight: 400;
}

.hero {
    position: relative;
    background-size: cover;
    background-position: center top;
    background-attachment: scroll;
    color: white;
    padding: 80px 2rem;
    text-align: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video {
    display: none;
}

.hero-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.82) 0%,
        rgba(0, 0, 0, 0.52) 40%,
        rgba(0, 0, 0, 0.28) 100%
    );
    z-index: 1;
}

.hero-circle-image-wrap {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 100px;
    height: 100px;
    border: none;
    border-radius: 50%;
    overflow: hidden;
    z-index: 3;
}

.hero-circle-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-logo {
    width: 500px;
    max-width: 85vw;
    height: auto;
    object-fit: contain;
    margin-bottom: -20px;
    margin-top: -40px;
    filter: drop-shadow(0 0 6px rgba(255,255,255,0.9)) drop-shadow(0 0 12px rgba(255,255,255,0.7));
    animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.06); }
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Vatican: large Playfair hero headline */
.hero h1 {
    font-size: 5rem;
    margin-bottom: 1rem;
    margin-top: 0;
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.1;
    text-shadow: 0 2px 32px rgba(0, 0, 0, 0.5);
    font-family: 'Playfair Display', Georgia, serif;
}

.hero p {
    font-size: 0.8rem;
    margin-bottom: 2rem;
    margin-top: 0;
    color: rgba(255, 255, 255, 0.82);
    letter-spacing: 5px;
    font-weight: 500;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
}

.hero-buttons {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 0px; /* No negative margin, prevents overlap */
}

/* hero-video hidden globally; removed reduced-motion rule */

/* Vatican-style buttons: square corners, uppercase, letter-spaced */
.btn {
    padding: 14px 36px;
    font-size: 0.75rem;
    border: 2px solid rgba(255, 255, 255, 0.9);
    cursor: pointer;
    transition: all 0.28s ease;
    background: transparent;
    color: white;
    border-radius: 2px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
}

.btn a {
    color: inherit;
    text-decoration: none;
    display: block;
}

.btn-primary {
    background: #ffffff;
    color: #8B0000;
    border-color: #ffffff;
}

.btn-primary a {
    color: #8B0000;
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.75);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3);
    opacity: 1;
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: white;
}

/* ── About / Who We Are ── */
.about {
    padding: 100px 2rem;
    background: var(--warm-bg);
}

.about-container {
    max-width: 1100px;
    margin: 0 auto;
}

/* Vatican: plain uppercase text labels - no pill */
.section-tag {
    display: inline-block;
    background: transparent;
    color: var(--accent);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    padding: 0;
    border-radius: 0;
    margin-bottom: 1.1rem;
    font-family: 'Inter', sans-serif;
}

.section-tag.light {
    background: transparent;
    color: rgba(255, 255, 255, 0.75);
}

.about-title {
    text-align: center;
    margin-bottom: 3rem;
}

/* Vatican: heading + thin decorative underline */
.about-title h2 {
    font-size: 2.5rem;
    color: #1a1a1e;
    margin-bottom: 0;
    font-weight: 700;
    letter-spacing: 0;
    position: relative;
    padding-bottom: 1.4rem;
}

.about-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 2px;
    background: var(--accent);
}

.section-intro {
    max-width: 700px;
    margin: 0 auto;
    color: #555;
    font-size: 1.05rem;
    line-height: 1.8;
}

.section-intro.light {
    color: rgba(255,255,255,0.85);
}

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

/* Vatican: clean minimal cards */
.intro-card {
    background: white;
    border-radius: 2px;
    padding: 2.5rem 2rem;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    border-top: none;
    border-bottom: 3px solid var(--accent);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    will-change: transform;
}

.intro-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.1);
}

.intro-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.intro-icon svg {
    fill: var(--primary-color);
}

.intro-card h3 {
    color: #1a1a1e;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.intro-card p {
    color: #444;
    line-height: 1.8;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    text-align: left;
}

/* ── Journey Section ── */
.journey {
    background: linear-gradient(135deg, #8B0000, #dc2626);
    padding: 80px 2rem;
    color: white;
}

.journey-container {
    max-width: 1100px;
    margin: 0 auto;
}

.journey-title {
    text-align: center;
    margin-bottom: 3rem;
}

.journey-title h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 0;
    font-weight: 700;
    padding-bottom: 1.4rem;
    position: relative;
}

.journey-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 2px;
    background: rgba(255, 255, 255, 0.6);
}

.journey-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.journey-step {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    padding: 1.75rem 1.5rem;
    flex: 1;
    min-width: 200px;
    max-width: 240px;
    text-align: center;
    backdrop-filter: blur(4px);
}

.step-number {
    width: 48px;
    height: 48px;
    background: white;
    color: #8B0000;
    font-size: 1.3rem;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.journey-step h3 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: white;
}

.journey-step p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.75;
    text-align: left;
}

.journey-arrow {
    color: rgba(255,255,255,0.5);
    font-size: 1.5rem;
    align-self: center;
    padding: 0 0.25rem;
}

.journey-arrow svg {
    fill: none;
    stroke: rgba(255,255,255,0.5);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ── Laws of Commitment ── */
.laws-section {
    background: var(--warm-bg);
    padding: 100px 2rem;
}

.laws-container {
    max-width: 1000px;
    margin: 0 auto;
}

.laws-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    margin-top: 2.5rem;
}

.law-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: white;
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    border-left: 4px solid var(--primary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease, z-index 0s;
    cursor: default;
    position: relative;
    z-index: 1;
}

.law-item:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 40px rgba(0,0,0,0.18);
    z-index: 10;
}

.law-num {
    background: var(--primary-color);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.law-item p {
    color: #333;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    text-align: left;
}

.forever {
    font-weight: bold;
    text-align: center;
    margin-top: 2rem;
    font-size: 1.2rem;
    color: #8B0000;
    letter-spacing: 3px;
}

/* ═══════════════════════════════════════════
   GALLERY - Magazine editorial redesign
   ═══════════════════════════════════════════ */
.gallery {
    background: #0c0c0c;
    padding: 90px 0 0;
    overflow: hidden;
}

/* ── Header ── */
.gallery-hd {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 0 60px 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    margin-bottom: 4px;
    gap: 2rem;
}

.gallery-tag {
    color: #c0392b !important;
    margin-bottom: 1rem;
    display: block;
}

.gallery-hd-left h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3.4rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.1;
    margin: 0;
}

.gallery-hd-right {
    text-align: right;
    max-width: 340px;
    flex-shrink: 0;
}

.gallery-hd-right p {
    color: rgba(255, 255, 255, 0.42);
    font-size: 0.9rem;
    line-height: 1.85;
    font-family: 'Inter', sans-serif;
}

.gallery-hd-count {
    display: block;
    margin-top: 1.4rem;
    font-size: 0.62rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.18);
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

/* ── Stage grid ── */
.gallery-stage {
    display: grid;
    grid-template-columns: 2fr 1.3fr 1.1fr;
    height: 630px;
    gap: 4px;
}

.gallery-col,
.gallery-right-col {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* ── Individual tile ── */
.gallery-tile {
    position: relative;
    overflow: hidden;
    background: #111;
    flex: 1;
    min-height: 0;
    cursor: pointer;
    /* entrance */
    opacity: 0;
    transform: translateY(40px);
    transition:
        opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1),
        transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-tile.gallery-visible {
    opacity: 1;
    transform: translateY(0);
}

/* stagger */
.gallery-tile--main              { transition-delay: 0s; }
.gallery-col .gallery-tile:nth-child(1) { transition-delay: 0.15s; }
.gallery-col .gallery-tile:nth-child(2) { transition-delay: 0.30s; }
.gallery-right-col .gallery-tile        { transition-delay: 0.45s; }

/* ── Image wrapper (Ken Burns lives here - separate from entrance transform) ── */
.gallery-tile-img {
    position: absolute;
    inset: 0;
}

.gallery-tile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    animation: galKb 20s ease-in-out infinite alternate;
    will-change: transform;
    transform-origin: center;
}

.gallery-tile--main .gallery-tile-img img            { animation-duration: 20s; animation-delay:  0s; }
.gallery-col .gallery-tile:nth-child(1) .gallery-tile-img img { animation-duration: 15s; animation-delay: -5s; }
.gallery-col .gallery-tile:nth-child(2) .gallery-tile-img img { animation-duration: 22s; animation-delay:-11s; }
.gallery-right-col .gallery-tile .gallery-tile-img img        { animation-duration: 17s; animation-delay: -8s; }

@keyframes galKb {
    0%   { transform: scale(1.0) translate( 0%,    0%); }
    40%  { transform: scale(1.06) translate(-0.8%, 0.4%); }
    100% { transform: scale(1.1) translate( 0.6%, -0.8%); }
}

.gallery-tile:hover .gallery-tile-img img {
    animation-play-state: paused;
}

/* ── Permanent bottom vignette ── */
.gallery-tile::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.82) 0%,
        rgba(0, 0, 0, 0.15) 38%,
        transparent 62%
    );
    z-index: 1;
    transition: background 0.45s ease;
    pointer-events: none;
}

/* ── Hover: red-tinted overlay ── */
.gallery-tile:hover::after {
    background: linear-gradient(
        to top,
        rgba(110, 0, 0, 0.85) 0%,
        rgba(80, 0, 0, 0.4) 45%,
        rgba(20, 0, 0, 0.1) 100%
    );
}

/* ── Caption ── */
.gallery-tile-cap {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.2rem 1.4rem;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.gallery-tile-num {
    font-family: 'Inter', sans-serif;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.38);
    text-transform: uppercase;
    line-height: 1;
}

.gallery-tile-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.3px;
    opacity: 0;
    transform: translateX(8px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.gallery-tile:hover .gallery-tile-label {
    opacity: 1;
    transform: translateX(0);
}

/* ── Quote card ── */
.gallery-info-card {
    background: #7f0000;
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-shrink: 0;
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 1s cubic-bezier(0.16, 1, 0.3, 1) 0.58s,
        transform 1s cubic-bezier(0.16, 1, 0.3, 1) 0.58s;
}

.gallery-info-card.gallery-visible {
    opacity: 1;
    transform: translateY(0);
}

.gallery-quote {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.05rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    margin: 0 0 0.85rem;
}

.gallery-quote-src {
    font-family: 'Inter', sans-serif;
    font-size: 0.6rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.42);
}

/* ── Responsive ── */
@media (max-width: 1100px) {
    .gallery-hd { padding: 0 32px 40px; }
    .gallery-hd-left h2 { font-size: 2.6rem; }
    .gallery-stage {
        grid-template-columns: 1.6fr 1fr;
        grid-template-rows: 420px auto;
        height: auto;
    }
    .gallery-right-col {
        grid-column: 1 / -1;
        flex-direction: row;
        height: 260px;
    }
    .gallery-right-col .gallery-tile { flex: 2; }
    .gallery-info-card { flex: 1; min-width: 180px; }
}

@media (max-width: 700px) {
    .gallery-hd {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 20px 28px;
        gap: 1rem;
    }
    .gallery-hd-right { text-align: left; max-width: 100%; }
    .gallery-hd-left h2 { font-size: 2rem; }
    .gallery-stage {
        grid-template-columns: 1fr;
        height: auto;
    }
    .gallery-tile--main { height: 280px; }
    .gallery-col { flex-direction: row; height: 180px; }
    .gallery-right-col { flex-direction: row; height: 200px; }
    .gallery-info-card { padding: 1.2rem; }
    .gallery-quote { font-size: 0.88rem; }
}

@media (prefers-reduced-motion: reduce) {
    .gallery-tile-img img { animation: none; }
    .gallery-tile,
    .gallery-info-card { transition: opacity 0.4s ease; transform: none !important; }
}

.event-card img,
.teaching-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.events {
    padding: 80px 2rem;
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    color: white;
    text-align: center;
}

.events-intro {
    max-width: 720px;
    margin: 0 auto 3rem;
}

.events-intro h2 {
    font-size: 2.2rem;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.events-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
    max-width: 1420px;
    margin: 0 auto;
}

.event-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #f4f4f4;
    color: var(--text-color);
    padding: 18px;
    border-radius: 12px;
    text-align: left;
    box-shadow: 0 8px 18px rgba(0,0,0,0.08);
}

.event-card h4 {
    font-size: 1.15rem;
    color: #a30f00;
    margin-bottom: 12px;
}

.event-card p {
    font-size: 0.92rem;
    line-height: 1.45;
    text-align: left;
}

.events-list {
    display: grid;
    gap: 8px;
    flex: 1;
}

.event-item {
    color: #1e2d45;
}

.event-item strong {
    color: #10233d;
    font-weight: 700;
}

.event-date {
    display: none;
}

@media (max-width: 1180px) {
    .events-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .events-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .events {
        padding: 60px 10px;
    }

    .event-card {
        padding: 14px;
    }

    .event-card img {
        height: 170px;
    }

    .event-card h4 {
        font-size: 1.05rem;
    }

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

.teachings {
    padding: 60px 2rem;
    background-image: linear-gradient(rgba(0, 0, 0, 0.80), rgba(0, 0, 0, 0.84)), url('images/background-image.png');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    color: white;
    text-align: center;
}

.teachings-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.1rem;
    max-width: 1000px;
    margin: 0 auto 2rem;
}

.teaching-card {
    background: rgba(255, 255, 255, 0.06);
    padding: 1.8rem;
    border-radius: 12px;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
    transform-origin: center;
    cursor: default;
}

.teaching-card:hover {
    transform: scale(1.04);
    background: rgba(255, 255, 255, 0.11);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
    z-index: 5;
    position: relative;
}

.teaching-card p {
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.88rem;
    line-height: 1.7;
    text-align: left;
}

.teaching-card .teaching-date {
    color: rgba(220, 38, 38, 0.9) !important;
    font-size: 0.65rem !important;
    font-weight: 700 !important;
    letter-spacing: 3px !important;
    text-transform: uppercase !important;
    margin-bottom: 0.35rem;
}

.teaching-card .teaching-title {
    color: #ffffff !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    margin-bottom: 0.5rem;
}

/* ── Contact Form ── */
.contact-form-section {
    background: var(--warm-bg);
    padding: 100px 2rem;
}

.contact-form-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 4rem;
    align-items: start;
}

.contact-form-left h2 {
    font-size: 2.2rem;
    color: #1a1a1e;
    margin: 0.75rem 0 1rem;
    font-weight: 700;
}

.contact-form-left p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 0.97rem;
    text-align: left;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: #444;
    font-size: 0.93rem;
}

.contact-detail svg {
    fill: var(--primary-color);
    flex-shrink: 0;
    margin-top: 2px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1.25rem;
}

.form-group label {
    font-size: 0.88rem;
    font-weight: bold;
    color: #374151;
    text-align: left;
}

.form-group input,
.form-group textarea {
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    font-family: inherit;
    color: #1f2937;
    background: white;
    transition: border-color 0.25s, box-shadow 0.25s;
    outline: none;
    width: 100%;
    box-sizing: border-box;
    text-align: left;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #8B0000;
    box-shadow: 0 0 0 3px rgba(139,0,0,0.1);
}

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

.form-group input[type="file"] {
    padding: 0.85rem 1rem;
    background: #f9fafb;
    cursor: pointer;
}

.form-field-note {
    margin-top: 0.15rem;
    font-size: 0.82rem;
    color: #6b7280;
    text-align: left;
}

.bot-trap-field {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.recaptcha-wrap {
    margin: 0.35rem 0 1rem;
}

.captcha-help {
    margin-top: 0.45rem;
    font-size: 0.78rem;
    color: #6b7280;
    text-align: left;
}

.form-submit-btn {
    width: 100%;
    padding: 0.85rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.25s, transform 0.15s;
    letter-spacing: 0.5px;
}

.form-submit-btn:hover {
    background: #8B0000;
    transform: translateY(-1px);
}

.form-success {
    display: none;
    margin-top: 1rem;
    color: #16a34a;
    font-size: 0.93rem;
    text-align: center;
    font-weight: bold;
}

@media (max-width: 768px) {
    .contact-form-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

/* ── Contact Footer ── */
.contact {
    padding: 60px 2rem;
    background: var(--primary-color);
    color: white;
    text-align: left;
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info h3,
.popular-links h3,
.social-media h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    text-align: left;
}

.contact-info p {
    text-align: left;
    line-height: 1.9;
    font-size: 0.95rem;
}

.popular-links ul {
    list-style: none;
    text-align: left;
}

.popular-links li {
    padding: 0.3rem 0;
    font-size: 0.95rem;
}

.popular-links a {
    color: white;
    text-decoration: none;
}

.popular-links a:hover {
    color: var(--secondary-color);
}

.social-icons {
    display: flex;
    gap: 1.8rem;
}

.social-icons a {
    color: white;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    background: transparent;
    transition: all 0.3s ease;
}

.social-icons a svg {
    width: 32px;
    height: 32px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-icons a:hover svg {
    transform: scale(1.2);
    opacity: 0.8;
}

/* ── Gomo Foundation ── */
.gomo-section {
    background: white;
    padding: 100px 2rem;
    content-visibility: auto;
    contain-intrinsic-size: 0 1100px;
}

.gomo-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.gomo-header {
    max-width: 840px;
    margin: 0 auto 3.4rem;
}

.gomo-header .section-tag {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 1.8px;
    padding: 0.65rem 1.2rem;
    border-radius: 999px;
    margin-bottom: 1.35rem;
}

.gomo-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #1a1a1e;
    margin-bottom: 0;
    padding-bottom: 1.4rem;
    position: relative;
}

.gomo-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 2px;
    background: var(--accent);
}

.gomo-header .section-intro {
    max-width: 840px;
    margin: 0 auto;
    font-size: 1.35rem;
    line-height: 1.8;
    color: #555;
}

.gomo-top-row {
    display: flex;
    justify-content: center;
    margin-bottom: 2.2rem;
}

.gomo-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.75rem;
    align-items: stretch;
}

.gomo-card {
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    border-bottom: 5px solid var(--primary-color);
    text-align: left;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.gomo-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.12);
}

.gomo-card-image {
    position: relative;
    height: 215px;
    overflow: hidden;
}

.gomo-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gomo-card-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.28));
}

.gomo-top-card {
    width: min(760px, 100%);
}

.gomo-top-image {
    height: 250px;
}

.gomo-card-body {
    padding: 1.75rem 1.75rem 2rem;
}

.gomo-card h3 {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #111;
}

.gomo-card p {
    font-size: 1.25rem;
    line-height: 1.75;
    color: #333;
    text-align: left;
}

.gomo-top-body h3 {
    text-align: center;
    font-size: 2.4rem;
    color: #7b0000;
}

.gomo-top-body p {
    text-align: center;
    font-size: 1.28rem;
    color: #444;
    max-width: 90%;
    margin: 0 auto;
}

/* ── Gomo Responsive ── */
@media (max-width: 980px) {
    .gomo-cards {
        grid-template-columns: 1fr;
        max-width: 650px;
        margin-left: auto;
        margin-right: auto;
    }

    .gomo-title {
        font-size: 2.3rem;
    }

    .gomo-header .section-intro {
        font-size: 1.1rem;
    }

    .gomo-card h3 {
        font-size: 1.7rem;
    }

    .gomo-card p,
    .gomo-top-body p {
        font-size: 1.08rem;
    }
}

@media (max-width: 600px) {
    .gomo-section {
        padding: 60px 14px;
    }

    .gomo-header .section-tag {
        font-size: 0.7rem;
        letter-spacing: 1.2px;
    }

    .gomo-title {
        font-size: 1.9rem;
    }

    .gomo-top-image,
    .gomo-card-image {
        height: 200px;
    }

    .gomo-card-body {
        padding: 1.4rem 1.25rem 1.6rem;
    }
}

/* ── Zvimiso TV ── */
.zvimiso-tv {
    background: #111827;
    padding: 80px 2rem;
    content-visibility: auto;
    contain-intrinsic-size: 0 600px;
}

.tv-container {
    max-width: 1100px;
    margin: 0 auto;
}

.tv-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-top: 2.5rem;
}

.tv-featured {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.tv-channel-card {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    min-height: 100%;
    padding: 2rem;
    border-radius: 16px;
    background: linear-gradient(160deg, rgba(220, 38, 38, 0.18), rgba(17, 24, 39, 0.96));
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 18px 50px rgba(0,0,0,0.28);
}

.tv-player-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 18px;
    background: #000;
    aspect-ratio: 16 / 9;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 14px 36px rgba(0,0,0,0.3);
}

.tv-player {
    width: 100%;
    height: 100%;
    border: 0;
}

.tv-video-feed {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
    width: 100%;
    height: 100%;
    padding: 1rem;
    align-content: start;
    overflow: auto;
}

.tv-video-feed-status {
    margin: 0;
    color: rgba(255,255,255,0.82);
    font-size: 0.95rem;
    line-height: 1.6;
    grid-column: 1 / -1;
}

.tv-video-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    border-radius: 14px;
    overflow: hidden;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    min-height: 100%;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.tv-video-card:hover {
    transform: translateY(-2px);
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.18);
}

.tv-video-thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #111827;
}

.tv-video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tv-video-thumb::after {
    content: "▶";
    position: absolute;
    right: 0.7rem;
    bottom: 0.65rem;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(0,0,0,0.72);
    color: #fff;
    font-size: 0.95rem;
}

.tv-video-body {
    padding: 0.8rem 0.9rem 1rem;
}

.tv-video-title {
    margin: 0;
    color: #fff;
    font-size: 0.92rem;
    line-height: 1.45;
    line-clamp: 2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tv-video-date {
    display: block;
    margin-top: 0.45rem;
    color: rgba(255,255,255,0.62);
    font-size: 0.75rem;
    letter-spacing: 0.02em;
}

.tv-channel-badge {
    align-self: flex-start;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    background: rgba(220, 38, 38, 0.16);
    color: #fecaca;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tv-channel-card h3 {
    color: #fff;
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    line-height: 1.15;
    margin: 0;
}

.tv-channel-card p {
    color: rgba(255,255,255,0.78);
    font-size: 1rem;
    line-height: 1.8;
    margin: 0;
    max-width: 42rem;
}

.tv-featured-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.tv-primary-action,
.tv-secondary-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0.9rem 1.2rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.tv-primary-action {
    background: #dc2626;
    color: #fff;
}

.tv-primary-action:hover {
    transform: translateY(-1px);
    background: #ef4444;
}

.tv-secondary-action {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.18);
    color: rgba(255,255,255,0.92);
}

.tv-secondary-action:hover {
    transform: translateY(-1px);
    border-color: rgba(255,255,255,0.34);
    background: rgba(255,255,255,0.06);
}

.tv-subscribe-wrap {
    padding-top: 0.25rem;
}

.tv-label {
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    text-align: left;
}

.tv-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tv-link-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 1.1rem 1.25rem;
    text-decoration: none;
    transition: background 0.25s;
}

.tv-link-card:hover {
    background: rgba(255,255,255,0.12);
}

.tv-link-card div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.tv-link-card strong {
    color: white;
    font-size: 0.95rem;
}

.tv-link-card span {
    color: rgba(255,255,255,0.55);
    font-size: 0.8rem;
}

/* ── Resources ── */
.resources-section {
    background: var(--warm-bg);
    padding: 100px 2rem;
    content-visibility: auto;
    contain-intrinsic-size: 0 500px;
}

.resources-container {
    max-width: 1100px;
    margin: 0 auto;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Vatican: minimal resource card */
.resource-card {
    background: white;
    border-radius: 2px;
    padding: 2rem;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    border-top: none;
    border-bottom: 3px solid var(--accent);
    transition: transform 0.3s, box-shadow 0.3s;
    will-change: transform;
}

.resource-card:hover {
    transform: translateY(-5px);
}

.resource-icon svg {
    fill: var(--primary-color);
}

.resource-card h3 {
    color: #1a1a1e;
    font-size: 1.15rem;
    font-weight: 700;
}

.resource-card p {
    color: #555;
    font-size: 0.93rem;
    line-height: 1.75;
    text-align: left;
    flex: 1;
}

/* Vatican resource button */
.resource-btn {
    display: inline-block;
    background: transparent;
    color: var(--accent);
    text-decoration: none;
    padding: 0.5rem 0;
    border-radius: 0;
    font-size: 0.72rem;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: left;
    transition: color 0.25s;
    align-self: flex-start;
    border-bottom: 1px solid var(--accent);
}

.resource-btn:hover {
    color: #5a0000;
    border-bottom-color: #5a0000;
    background: transparent;
}

/* ── Open Opportunities ── */
.opportunities-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    padding: 80px 2rem;
    content-visibility: auto;
    contain-intrinsic-size: 0 700px;
}

.opportunities-container {
    max-width: 1100px;
    margin: 0 auto;
}

.opportunities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
    margin-top: 1.75rem;
}

.opportunity-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.4rem;
    box-shadow: 0 6px 22px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.opportunity-meta {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.opportunity-meta span {
    background: #fee2e2;
    color: #991b1b;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
}

.opportunity-card h3 {
    color: #8B0000;
    font-size: 1.05rem;
}

.opportunity-card p {
    color: #4b5563;
    font-size: 0.92rem;
    line-height: 1.7;
    text-align: left;
}

.opportunity-deadline {
    font-weight: bold;
    color: #7f1d1d;
}

.opportunities-apply-panel {
    margin-top: 2rem;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-top: 4px solid var(--primary-color);
    border-radius: 12px;
    padding: 1.6rem;
}

.opportunities-apply-panel h3 {
    color: #8B0000;
    margin-bottom: 0.35rem;
}

.opportunities-apply-panel p {
    color: #4b5563;
    font-size: 0.93rem;
    margin-bottom: 1rem;
    text-align: left;
}

.opportunity-form select {
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    font-family: inherit;
    color: #1f2937;
    background: white;
    transition: border-color 0.25s, box-shadow 0.25s;
    outline: none;
    width: 100%;
    box-sizing: border-box;
    text-align: left;
}

.opportunity-form select:focus {
    border-color: #8B0000;
    box-shadow: 0 0 0 3px rgba(139,0,0,0.1);
}

/* ── Office Updates ── */
.offices-section {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    padding: 90px 2rem;
    content-visibility: auto;
    contain-intrinsic-size: 0 500px;
}

.offices-container {
    max-width: 1100px;
    margin: 0 auto;
}

.offices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
}

.office-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 2rem 1.8rem 1.6rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    overflow: hidden;
}

.office-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #8B0000, #dc2626);
}

.office-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(0,0,0,0.08);
}

.office-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.office-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    color: #991b1b;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.office-icon-gomo {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
}

.office-role {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #9ca3af;
    margin-bottom: 0.15rem;
}

.office-card h3 {
    color: #1f2937;
    font-size: 1.1rem;
    line-height: 1.3;
}

.office-card > p {
    color: #4b5563;
    font-size: 0.93rem;
    line-height: 1.75;
    text-align: left;
}

.office-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 0.8rem;
    border-top: 1px solid #f3f4f6;
}

.office-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d1d5db;
    flex-shrink: 0;
}

.office-note {
    font-size: 0.82rem;
    font-weight: 600;
    color: #9ca3af;
}

.office-read-btn {
    margin-top: 0.5rem;
    align-self: flex-start;
}

/* Office Modal */
.office-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    animation: officeModalFadeIn 0.25s ease;
}

@keyframes officeModalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.office-modal {
    background: #ffffff;
    border-radius: 16px;
    max-width: 640px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.18);
    position: relative;
    animation: officeModalSlideUp 0.3s ease;
}

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

.office-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #f3f4f6;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.4rem;
    line-height: 1;
    color: #6b7280;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
    z-index: 1;
}

.office-modal-close:hover {
    background: #fee2e2;
    color: #991b1b;
}

.office-modal-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 2rem 2rem 0;
}

.office-modal-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
}

.office-modal-header h2 {
    font-size: 1.25rem;
    color: #1f2937;
    margin: 0;
}

.office-modal-body {
    padding: 1.5rem 2rem;
    color: #374151;
    font-size: 0.95rem;
    line-height: 1.85;
}

.office-modal-body p {
    margin-bottom: 0.8rem;
    text-align: left;
}

.office-modal-footer {
    padding: 1rem 2rem 1.5rem;
    border-top: 1px solid #f3f4f6;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.office-modal-note {
    font-size: 0.82rem;
    font-weight: 600;
    color: #9ca3af;
}

@media (max-width: 600px) {
    .offices-section { padding: 60px 1.2rem; }
    .offices-grid { grid-template-columns: 1fr; }
    .office-card { padding: 1.4rem 1.2rem; }
    .office-modal { border-radius: 12px; }
    .office-modal-header { padding: 1.4rem 1.2rem 0; }
    .office-modal-body { padding: 1.2rem; }
    .office-modal-footer { padding: 0.8rem 1.2rem 1.2rem; }
}

/* ── Archives ── */
.archives-section {
    background: #1f2937;
    padding: 80px 2rem;
    content-visibility: auto;
    contain-intrinsic-size: 0 500px;
}

.archives-container {
    max-width: 1100px;
    margin: 0 auto;
}

.archives-section .about-title h2 {
    color: white;
}

.archives-section .section-intro {
    color: rgba(255,255,255,0.75);
}

.archives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.archive-item {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 1.75rem;
    text-align: left;
    transition: background 0.25s;
}

.archive-item:hover {
    background: rgba(255,255,255,0.1);
}

.archive-item svg {
    fill: var(--primary-color);
    margin-bottom: 1rem;
}

.archive-item h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.archive-item p {
    color: rgba(255,255,255,0.6);
    font-size: 0.88rem;
    line-height: 1.7;
    text-align: left;
    margin-bottom: 1rem;
}

.archive-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: bold;
    transition: opacity 0.2s;
}

.archive-link:hover {
    opacity: 0.75;
}

.footer {
    background: #111827;
    color: white;
    text-align: center;
    padding: 2rem;
}

@media (max-width: 968px) {
    .navbar {
        padding: 0.65rem 1rem;
    }

    .nav-container {
        gap: 0.75rem;
    }

    .logo-section {
        gap: 0.65rem;
        flex: 1;
        min-width: 0;
        padding-right: 0.25rem;
    }

    .logo {
        min-width: 0;
    }

    .logo-img {
        height: 60px;
        width: auto;
        flex-shrink: 0;
    }

    .logo h3 {
        font-size: 1.12rem;
        line-height: 1.15;
        white-space: nowrap;
    }

    .logo p {
        font-size: 0.8rem;
        line-height: 1.1;
    }

    .teachings-intro .section-tag {
        font-size: 1.25rem;
        letter-spacing: 2px;
        padding: 14px 24px;
    }

    .teachings-title {
        font-size: 2.2rem;
    }

    .teachings-description {
        font-size: 0.98rem;
        line-height: 1.75;
        max-width: 92%;
    }

    .nav-menu {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #8B0000;
        padding: 5rem 2rem 2rem;
        gap: 0;
        z-index: 3000;
        transition: right 0.35s ease;
        box-shadow: -4px 0 20px rgba(0,0,0,0.3);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        list-style: none;
    }

    .nav-menu li a {
        display: block;
        padding: 0.85rem 0;
        font-size: 1.05rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        touch-action: manipulation;
    }

    .nav-menu li a:hover {
        opacity: 1;
        padding-left: 0.5rem;
    }

    /* Mobile dropdown */
    .has-dropdown .dropdown {
        display: none;
        position: static;
        background: rgba(0,0,0,0.15);
        box-shadow: none;
        border-radius: 6px;
        padding: 0.25rem 0;
        margin: 0.25rem 0 0.5rem;
    }

    .has-dropdown.dropdown-open .dropdown {
        display: block;
    }

    .dropdown li a {
        color: rgba(255,255,255,0.9) !important;
        padding: 0.6rem 1.2rem;
        border-bottom: none;
    }

    .dropdown li a:hover {
        background: rgba(255,255,255,0.1);
        color: #fff !important;
    }

    .dropdown .dropdown-divider {
        background: rgba(255,255,255,0.15);
    }

    /* Hamburger button */
    .hamburger {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        z-index: 3100;
        padding: 6px;
        flex-shrink: 0;
        touch-action: manipulation;
    }

    .hamburger span {
        display: block;
        width: 26px;
        height: 3px;
        background: #fff;
        border-radius: 3px;
        transition: all 0.3s ease;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

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

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }

    /* Overlay */
    .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 2999;
    }

    .nav-overlay.active {
        display: block;
    }

    .hero {
        padding: 80px 1rem;
        min-height: auto;
        overflow: hidden;
    }

    .hero-logo {
        width: 320px;
        max-width: 85vw;
        height: auto;
        margin-bottom: 0;
        margin-top: 0;
    }

    .teachings {
        padding: 30px 14px 60px;
    }

    .teachings-intro .section-tag {
        font-size: 1rem;
        padding: 12px 18px;
    }

    .teachings-title {
        font-size: 1.8rem;
    }

    .teachings-description {
        font-size: 0.92rem;
    }

    .hero h1 {
        font-size: 1.7rem;
        color: #ffffff;
    }

    .hero p {
        font-size: 0.78rem;
        padding: 0 0.5rem;
        word-wrap: break-word;
        letter-spacing: 3px;
    }

    .hero-content {
        max-width: 100%;
        overflow: visible;
    }

    .hero-circle-image-wrap {
        width: 80px;
        height: 80px;
        top: 10px;
        right: 10px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem;
    }

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

    .tv-channel-card {
        padding: 1.5rem;
    }

    .tv-video-feed {
        grid-template-columns: 1fr;
    }

    .tv-featured-actions {
        flex-direction: column;
    }

    .tv-primary-action,
    .tv-secondary-action {
        width: 100%;
    }

    .tv-sidebar {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .tv-link-card {
        flex: 1;
        min-width: 180px;
    }

    .journey-steps {
        flex-direction: column;
        align-items: center;
    }

    .journey-arrow {
        transform: rotate(90deg);
    }

    .journey-step {
        max-width: 100%;
        width: 100%;
    }

    .opportunities-apply-panel {
        padding: 1.2rem;
    }
}

/* ═══════════════════════════════════════════════════
   CAREERS PAGE
   ═══════════════════════════════════════════════════ */
.careers-hero {
    background: linear-gradient(135deg, #8B0000 0%, #dc2626 50%, #7f1d1d 100%);
    color: white;
    text-align: center;
    padding: 100px 2rem 70px;
}

.careers-hero-inner {
    max-width: 720px;
    margin: 0 auto;
}

.careers-hero h1 {
    font-size: 2.6rem;
    margin: 0.6rem 0 0.8rem;
    letter-spacing: -0.5px;
}

.careers-hero p {
    font-size: 1.1rem;
    line-height: 1.7;
    opacity: 0.92;
}

/* Why Join Us */
.careers-why {
    padding: 70px 2rem;
    background: #f8fafc;
    text-align: center;
}

.careers-why-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.careers-why h2 {
    color: #8B0000;
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

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

.careers-why-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.8rem 1.4rem;
    box-shadow: 0 4px 18px rgba(0,0,0,0.04);
    transition: transform 0.2s, box-shadow 0.2s;
}

.careers-why-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.08);
}

.careers-why-icon {
    width: 56px;
    height: 56px;
    background: #fee2e2;
    color: #991b1b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.careers-why-card h3 {
    color: #8B0000;
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.careers-why-card p {
    color: #4b5563;
    font-size: 0.93rem;
    line-height: 1.7;
}

/* Open Positions */
.careers-positions {
    padding: 70px 2rem;
    background: white;
}

.careers-positions-inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.careers-positions-inner h2 {
    color: #8B0000;
    font-size: 1.8rem;
    margin-bottom: 0.4rem;
}

.careers-positions-inner .section-intro {
    color: #4b5563;
    margin-bottom: 2rem;
}

/* Application Section */
.careers-apply {
    padding: 60px 2rem 80px;
    background: #f8fafc;
}

.careers-apply-inner {
    max-width: 720px;
    margin: 0 auto;
}

@media (max-width: 600px) {
    .careers-hero { padding: 80px 1.2rem 50px; }
    .careers-hero h1 { font-size: 1.8rem; }
    .careers-why { padding: 50px 1.2rem; }
    .careers-positions { padding: 50px 1.2rem; }
    .careers-apply { padding: 40px 1.2rem 60px; }
}

/* ═══════════════════════════════════════════════════
   ANNOUNCEMENT BANNER
   ═══════════════════════════════════════════════════ */
/* Bell Notification Styles */
.announcement-bell {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 999;
}

.bell-icon-btn {
    position: relative;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(139, 0, 0, 0.3);
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.bell-icon-btn:hover {
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    box-shadow: 0 6px 16px rgba(139, 0, 0, 0.4);
    transform: scale(1.05);
}

.bell-icon-btn.ringing {
    animation: bellRing 0.5s ease-in-out 8;
}

@keyframes bellRing {
    0%, 100% { transform: rotate(0deg) scale(1); }
    15% { transform: rotate(-15deg) scale(1); }
    30% { transform: rotate(15deg) scale(1); }
    45% { transform: rotate(-15deg) scale(1); }
    60% { transform: rotate(15deg) scale(1); }
    75% { transform: rotate(-5deg) scale(1); }
}

.bell-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #fbbf24;
    color: #991b1b;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 900;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

.announcement-banner {
    background: linear-gradient(135deg, #8B0000 0%, #dc2626 40%, #b91c1c 60%, #8B0000 100%);
    background-size: 200% 200%;
    color: #fff;
    position: relative;
    z-index: 999;
    animation: announcePulse 4s ease-in-out infinite;
    box-shadow: 0 4px 20px rgba(139, 0, 0, 0.4);
    border-bottom: 3px solid rgba(255, 215, 0, 0.6);
}

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

.announcement-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 2rem;
}

.announcement-icon-wrap {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: announceBounce 1.5s ease infinite;
    border: 2px solid rgba(255, 215, 0, 0.5);
}

@keyframes announceBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

.announcement-body {
    flex: 1;
    min-width: 0;
}

.announcement-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    background: rgba(255, 215, 0, 0.25);
    color: #ffd700;
    padding: 0.15rem 0.6rem;
    border-radius: 3px;
    margin-bottom: 0.35rem;
}

.announcement-text {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.01em;
    margin-top: 0.25rem;
}

.announcement-title {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.5;
    margin-top: 0.25rem;
    cursor: pointer;
    transition: text-decoration 0.2s;
}

.announcement-title:hover {
    text-decoration: underline;
}

.announcement-link {
    color: #ffd700;
    text-decoration: underline;
    font-weight: 800;
    transition: color 0.2s;
}

.announcement-link:hover {
    color: #fff;
}

.announcement-close {
    background: rgba(255,255,255,0.15);
    border: none;
    color: white;
    font-size: 1.5rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.announcement-close:hover {
    background: rgba(255,255,255,0.35);
}

.floating-social-stack {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.floating-social-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
    border: 1px solid rgba(255,255,255,0.18);
    backdrop-filter: blur(10px);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.floating-social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.24);
    filter: saturate(1.05);
}

.floating-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.floating-social-whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
}

.floating-social-instagram {
    background: linear-gradient(135deg, #f58529, #dd2a7b 55%, #8134af);
}

.floating-social-facebook {
    background: linear-gradient(135deg, #1877f2, #0f5cc0);
}

.floating-social-x {
    background: linear-gradient(135deg, #111827, #000000);
}

@media (max-width: 640px) {
    .navbar {
        padding: 0.6rem 0.85rem;
    }

    .nav-container {
        gap: 0.55rem;
    }

    .logo-section {
        gap: 0.5rem;
    }

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

    .logo h3 {
        font-size: 1rem;
    }

    .logo p {
        font-size: 0.76rem;
    }

    .announcement-inner {
        padding: 1rem 1rem;
        gap: 0.7rem;
    }
    .announcement-icon-wrap {
        width: 40px;
        height: 40px;
    }
    .announcement-icon-wrap svg {
        width: 20px;
        height: 20px;
    }
    .announcement-text {
        font-size: 0.95rem;
    }
    .announcement-label {
        font-size: 0.6rem;
    }

    .floating-social-stack {
        right: 12px;
        bottom: 12px;
        gap: 0.45rem;
    }

    .floating-social-btn {
        width: 42px;
        height: 42px;
    }
}
