/* ============================================
   RCCG CHRIST'S TRIBE - FLASK REBUILD
   Modern, Responsive, Faithful to Original
   ============================================ */

/* CSS Variables */
:root {
    --color-primary: #1a1a2e;
    --color-secondary: #16213e;
    --color-accent: #c9a227;
    --color-accent-hover: #b8941f;
    --color-text: #333;
    --color-text-light: #666;
    --color-white: #fff;
    --color-bg: #fafafa;
    --color-bg-alt: #f0f0f0;
    --color-overlay: rgba(0, 0, 0, 0.55);
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --container-max: 1200px;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    line-height: 1.7;
    background: var(--color-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(26, 26, 46, 0.98);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-white);
    font-weight: 600;
    font-size: 1.1rem;
}

.logo-img {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
}

.logo-text {
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-white);
    transition: var(--transition);
    border-radius: 2px;
}

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

.nav-link {
    color: rgba(255,255,255,0.85);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-accent);
    background: rgba(255,255,255,0.05);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    color: var(--color-white);
    padding: 120px 24px 80px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(26,26,46,0.4) 0%, rgba(26,26,46,0.7) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
}

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

.hero-welcome {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 16px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    text-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.hero-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.9);
    margin-bottom: 32px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-times {
    margin-bottom: 36px;
    padding: 20px 32px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255,255,255,0.15);
    display: inline-block;
}

.hero-times-main {
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.hero-address {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.8);
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-indicator {
    display: block;
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 12px;
    position: relative;
}

.scroll-indicator::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 2px;
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
    50% { transform: translateX(-50%) translateY(8px); opacity: 0.3; }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--color-accent);
    color: var(--color-primary);
}

.btn-primary:hover {
    background: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--color-white);
    border: 2px solid rgba(255,255,255,0.3);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--color-accent);
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1rem;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.8rem;
}

.btn-full {
    width: 100%;
}

/* ============================================
   SECTIONS - GENERAL
   ============================================ */
section {
    padding: 100px 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 600;
    text-align: center;
    margin-bottom: 60px;
    color: var(--color-primary);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--color-accent);
    margin: 16px auto 0;
    border-radius: 2px;
}

/* ============================================
   GOALS SECTION
   ============================================ */
.goals-section {
    background: var(--color-bg);
}

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

.goal-card {
    background: var(--color-white);
    padding: 48px 36px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.04);
}

.goal-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.goal-number {
    width: 56px;
    height: 56px;
    background: var(--color-accent);
    color: var(--color-primary);
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.goal-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--color-primary);
}

.goal-text {
    color: var(--color-text-light);
    line-height: 1.8;
}

/* ============================================
   VERSE SECTION
   ============================================ */
.verse-section {
    background: var(--color-primary);
    color: var(--color-white);
    text-align: center;
    padding: 80px 0;
}

.verse-quote {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-style: italic;
    line-height: 1.5;
    max-width: 700px;
    margin: 0 auto;
}

.verse-quote cite {
    display: block;
    margin-top: 20px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-style: normal;
    color: var(--color-accent);
    font-weight: 500;
}

/* ============================================
   SERVICES SECTION (HOME)
   ============================================ */
.services-section {
    background: var(--color-white);
}

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

.service-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.04);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.service-image {
    height: 240px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: 28px;
    text-align: center;
}

.service-name {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--color-primary);
}

.service-times p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    margin-bottom: 4px;
}

/* ============================================
   SERMON SECTION
   ============================================ */
.sermon-section {
    background: var(--color-bg-alt);
    text-align: center;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    max-width: 900px;
    margin: 0 auto 32px;
}

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

.sermon-cta {
    margin-top: 24px;
}

/* ============================================
   PREVIEW SECTION
   ============================================ */
.preview-section {
    background: var(--color-white);
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

.preview-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 3/4;
}

.preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.preview-item:hover img {
    transform: scale(1.08);
}

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

/* ============================================
   PAGE HEADER
   ============================================ */
.page-header {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    text-align: center;
    color: var(--color-white);
    padding: 120px 24px 80px;
}

.page-header-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(26,26,46,0.5) 0%, rgba(26,26,46,0.8) 100%);
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 16px;
    text-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.page-header-desc {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
}

/* ============================================
   VISIT PAGE - SERVICES DETAIL
   ============================================ */
.services-detail {
    background: var(--color-bg);
}

.service-detail-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: 40px;
    margin-bottom: 32px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
}

.service-detail-card:hover {
    box-shadow: var(--shadow-md);
}

.service-detail-icon {
    font-size: 2.5rem;
    color: var(--color-accent);
    margin-bottom: 16px;
}

.service-detail-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--color-primary);
}

.service-detail-content p {
    margin-bottom: 8px;
    color: var(--color-text-light);
}

.service-detail-content .btn {
    margin-top: 16px;
}

/* Location Section */
.location-section {
    background: var(--color-white);
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.location-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.location-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.location-item i {
    font-size: 1.5rem;
    color: var(--color-accent);
    width: 40px;
    text-align: center;
    flex-shrink: 0;
}

.location-item h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
    color: var(--color-primary);
}

.location-item p {
    color: var(--color-text-light);
}

.location-map {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-section {
    background: var(--color-bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.contact-icon {
    font-size: 2rem;
    color: var(--color-accent);
    margin-bottom: 12px;
}

.contact-card h3 {
    font-family: var(--font-heading);
    margin-bottom: 8px;
    color: var(--color-primary);
}

.contact-card p {
    color: var(--color-text-light);
    line-height: 1.6;
}

.contact-social {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 8px;
}

.contact-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    transition: var(--transition);
}

.contact-social a:hover {
    background: var(--color-accent);
    color: var(--color-white);
}

.contact-form-wrapper {
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.form-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 24px;
    color: var(--color-primary);
}

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

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--color-primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.1);
}

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

/* ============================================
   GALLERY PAGE
   ============================================ */
.gallery-section {
    background: var(--color-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 300px;
    gap: 16px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-sm);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-caption {
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.gallery-item-large {
    grid-row: span 2;
}

.gallery-item-wide {
    grid-column: span 2;
}

.gallery-item-tall {
    grid-row: span 2;
}

/* ============================================
   COMMUNITY PAGE
   ============================================ */
.community-section {
    background: var(--color-bg);
}

.community-content {
    max-width: 800px;
    margin: 0 auto;
}

.community-content .lead {
    font-size: 1.3rem;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 24px;
    color: var(--color-primary);
}

.community-content p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.highlight-box {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 32px;
    border-radius: var(--radius-md);
    margin: 32px 0;
    font-size: 1.1rem;
    line-height: 1.8;
    border-left: 4px solid var(--color-accent);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 24px;
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-accent);
    display: block;
}

.stat-label {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

/* ============================================
   VOLUNTEER PAGE
   ============================================ */
.volunteer-section {
    background: var(--color-bg);
}

.volunteer-intro {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
}

.volunteer-intro .lead {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 16px;
    color: var(--color-primary);
}

.volunteer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
}

.volunteer-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.volunteer-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.volunteer-icon {
    font-size: 2.2rem;
    color: var(--color-accent);
    margin-bottom: 16px;
}

.volunteer-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--color-primary);
}

.volunteer-card p {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

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

/* ============================================
   HOUSE FELLOWSHIPS PAGE
   ============================================ */
.house-section {
    background: var(--color-bg);
}

.house-intro {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
}

.house-intro .lead {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--color-primary);
}

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

.house-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
}

.house-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.house-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
}

.house-header i {
    font-size: 1.8rem;
    color: var(--color-accent);
}

.house-header h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--color-primary);
}

.house-card p {
    color: var(--color-text-light);
    margin-bottom: 16px;
    font-size: 0.95rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--color-primary);
    color: rgba(255,255,255,0.8);
}

.footer-top {
    padding: 80px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
}

.footer-title {
    font-family: var(--font-heading);
    color: var(--color-white);
    margin-bottom: 16px;
    font-size: 1.3rem;
}

.footer-desc {
    line-height: 1.8;
    font-size: 0.95rem;
}

.footer-subtitle {
    color: var(--color-white);
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.subscribe-form {
    display: flex;
    gap: 8px;
}

.subscribe-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.05);
    color: var(--color-white);
    font-family: var(--font-body);
}

.subscribe-input::placeholder {
    color: rgba(255,255,255,0.5);
}

.subscribe-input:focus {
    outline: none;
    border-color: var(--color-accent);
}

.subscribe-btn {
    padding: 12px 24px;
    background: var(--color-accent);
    color: var(--color-primary);
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.subscribe-btn:hover {
    background: var(--color-accent-hover);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--color-accent);
    color: var(--color-primary);
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

.copyright {
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .preview-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .location-grid {
        grid-template-columns: 1fr;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(26, 26, 46, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 24px;
        gap: 8px;
        transform: translateY(-150%);
        transition: var(--transition);
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    .nav-menu.active {
        transform: translateY(0);
    }
    .nav-link {
        display: block;
        padding: 12px 16px;
        text-align: center;
        font-size: 1rem;
    }
    section {
        padding: 60px 0;
    }
    .hero {
        min-height: 80vh;
        background-attachment: scroll;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
    }
    .gallery-item-large,
    .gallery-item-wide,
    .gallery-item-tall {
        grid-row: auto;
        grid-column: auto;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   DROPDOWN NAVIGATION (Desktop)
   ============================================ */
.nav-menu li.has-dropdown {
    position: relative;
}
.nav-menu .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--color-primary);
    min-width: 200px;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
    padding: 8px 0;
    list-style: none;
}
.nav-menu li.has-dropdown:hover .dropdown-menu,
.nav-menu li.has-dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.nav-menu .dropdown-menu .nav-link {
    display: block;
    padding: 10px 20px;
    color: rgba(255,255,255,0.85);
    white-space: nowrap;
}
.nav-menu .dropdown-menu .nav-link:hover {
    color: var(--color-accent);
    background: rgba(255,255,255,0.05);
}

/* Mobile: convert dropdown to expanded list on click */
@media (max-width: 768px) {
    .nav-menu .dropdown-menu {
        position: static;
        background: transparent;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        padding-left: 20px;
        min-width: auto;
    }
    .nav-menu li.has-dropdown.open .dropdown-menu {
        display: block;
    }
    .nav-menu li.has-dropdown .dropdown-toggle i {
        transition: transform 0.3s;
    }
    .nav-menu li.has-dropdown.open .dropdown-toggle i {
        transform: rotate(180deg);
    }
}

/* Goal card images */
.goal-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    margin-bottom: 16px;
}

/* ============================================
   WORLD-CLASS ENHANCEMENTS
   ============================================ */

:root {
    --color-primary: #0f172a;
    --color-secondary: #1e293b;
    --color-accent: #f59e0b;          /* warmer gold */
    --color-accent-hover: #d97706;
    --color-bg: #f8fafc;
    --color-white: #ffffff;
    --shadow-xl: 0 25px 50px -12px rgba(0,0,0,0.25);
    --font-heading: 'Playfair Display', 'Libre Baskerville', serif;
    --font-body: 'Inter', -apple-system, sans-serif;
}

/* Smooth scrolling and better base */
html {
    scroll-behavior: smooth;
}
body {
    font-family: var(--font-body);
    background: var(--color-bg);
    line-height: 1.6;
}

/* --- Navigation --- */
.navbar {
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 4px 30px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
}
.navbar.scrolled {
    background: rgba(15, 23, 42, 0.98);
    box-shadow: 0 8px 40px rgba(0,0,0,0.2);
}
.nav-container {
    height: 80px;
}
.nav-logo .logo-icon {
    height: 45px;
    width: auto;
    filter: brightness(0) invert(1);
}
.nav-logo .logo-text-img {
    height: 35px;
    width: auto;
    filter: brightness(0) invert(1);
    margin-left: 10px;
}
.nav-link {
    font-size: 0.9rem;
    letter-spacing: 0.8px;
    padding: 10px 18px;
    border-radius: 50px;
    transition: all 0.3s ease;
}
.nav-link:hover,
.nav-link.active {
    background: rgba(245, 158, 11, 0.15);
    color: var(--color-accent);
}

/* Dropdown animation */
.nav-menu .dropdown-menu {
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(12px);
    border-radius: 0 0 12px 12px;
    box-shadow: var(--shadow-xl);
    padding: 12px 0;
    min-width: 220px;
}
.nav-menu .dropdown-menu .nav-link {
    padding: 12px 24px;
    border-radius: 0;
    font-size: 0.85rem;
    letter-spacing: 1px;
}
.nav-menu .dropdown-menu .nav-link:hover {
    background: rgba(245, 158, 11, 0.1);
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}
.hero-overlay {
    background: linear-gradient(135deg, rgba(15,23,42,0.7) 0%, rgba(30,41,59,0.5) 100%);
    backdrop-filter: blur(2px);
}
.hero-content {
    animation: heroFadeIn 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}
@keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(60px); }
    to { opacity: 1; transform: translateY(0); }
}
.hero-welcome {
    font-size: 1rem;
    letter-spacing: 6px;
    color: var(--color-accent);
    margin-bottom: 20px;
}
.hero-title {
    font-size: clamp(3rem, 8vw, 5.5rem);
    line-height: 1.1;
    text-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.hero-desc {
    font-size: 1.15rem;
    max-width: 750px;
    line-height: 1.9;
    color: rgba(255,255,255,0.9);
}
.hero-times {
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 16px;
    padding: 24px 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}
.hero-times-main {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #fff;
}
.hero-address {
    font-size: 1rem;
    color: rgba(255,255,255,0.8);
}

/* Buttons */
.btn {
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 16px 36px;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.btn-primary {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #0f172a;
    border: none;
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(245, 158, 11, 0.4);
}
.btn-secondary {
    background: rgba(255,255,255,0.05);
    border: 2px solid rgba(255,255,255,0.3);
    color: #fff;
    backdrop-filter: blur(10px);
}
.btn-secondary:hover {
    background: rgba(255,255,255,0.15);
    border-color: var(--color-accent);
    transform: translateY(-3px);
}

/* Section titles */
.section-title {
    font-size: clamp(2.2rem, 4vw, 3rem);
    margin-bottom: 70px;
    letter-spacing: -0.5px;
}
.section-title::after {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent), #fbbf24);
    border-radius: 2px;
    margin: 20px auto 0;
}

/* Goal cards */
.goal-card {
    border-radius: 20px;
    padding: 40px 30px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
    position: relative;
}
.goal-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
}
.goal-number {
    background: linear-gradient(135deg, var(--color-accent), #fbbf24);
    color: #0f172a;
    width: 60px;
    height: 60px;
    font-size: 1.8rem;
    border-radius: 50%;
    margin-bottom: 24px;
}
.goal-image {
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 20px;
    transition: transform 0.5s ease;
}
.goal-card:hover .goal-image {
    transform: scale(1.05);
}
.goal-title {
    font-size: 1.6rem;
    margin-bottom: 14px;
}

/* Service cards */
.service-card {
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.5s ease;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}
.service-image {
    height: 260px;
}
.service-image img {
    transition: transform 0.7s ease;
}
.service-card:hover .service-image img {
    transform: scale(1.1);
}
.service-content {
    padding: 30px 20px;
}
.service-name {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* Verse section */
.verse-section {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}
.verse-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(245,158,11,0.1) 0%, transparent 60%);
    animation: verseGlow 8s ease-in-out infinite alternate;
}
@keyframes verseGlow {
    from { transform: translate(0,0); }
    to { transform: translate(10%,10%); }
}
.verse-quote {
    position: relative;
    z-index: 1;
}

/* Footer */
.footer {
    background: #0f172a;
    color: rgba(255,255,255,0.7);
}
.footer-top {
    padding: 100px 0 70px;
}
.footer-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
}
.footer-desc {
    line-height: 1.8;
    font-size: 1rem;
}
.footer-subtitle {
    letter-spacing: 2px;
    font-size: 0.9rem;
    color: var(--color-accent);
    margin-bottom: 20px;
}
.subscribe-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.subscribe-input {
    flex: 1;
    min-width: 200px;
    padding: 14px 20px;
    border-radius: 50px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
}
.subscribe-btn {
    border-radius: 50px;
    padding: 14px 28px;
    background: var(--color-accent);
    color: #0f172a;
    font-weight: 700;
    letter-spacing: 1px;
    transition: all 0.3s;
}
.subscribe-btn:hover {
    background: #fbbf24;
    transform: translateY(-2px);
}
.social-links a {
    background: rgba(255,255,255,0.08);
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
    transition: all 0.3s;
}
.social-links a:hover {
    background: var(--color-accent);
    color: #0f172a;
    transform: translateY(-5px);
}

/* Scroll reveal animation (to be used with JS) */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .hero {
        background-attachment: scroll;
        min-height: 70vh;
    }
    .hero-title {
        font-size: 2.8rem;
    }
    .nav-logo .logo-text-img {
        height: 28px;
    }
    .nav-logo .logo-icon {
        height: 35px;
    }
    .goal-card {
        padding: 30px 20px;
    }
    .goal-image {
        height: 150px;
    }
}

/* ============================================
   WORLD-CLASS GOALS SECTION (OVERRIDES)
   ============================================ */
.goals-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}
.goals-section::before,
.goals-section::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    z-index: 0;
}
.goals-section::before {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(245,158,11,0.1) 0%, transparent 70%);
    top: -200px;
    left: -200px;
}
.goals-section::after {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(30,41,59,0.05) 0%, transparent 70%);
    bottom: -150px;
    right: -150px;
}
.goals-section .container {
    position: relative;
    z-index: 1;
}
.goals-grid {
    gap: 40px;
}
.goal-card {
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 0;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
    position: relative;
}
.goal-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 40px 80px rgba(0,0,0,0.15);
}
.goal-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 0;
    margin: 0;
    transition: transform 0.8s ease;
}
.goal-card:hover .goal-image {
    transform: scale(1.1);
}
.goal-number {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    width: 60px;
    height: 60px;
    font-size: 2rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(245,158,11,0.4);
    margin: 0;
    transition: transform 0.4s ease;
}
.goal-card:hover .goal-number {
    transform: scale(1.1) rotate(5deg);
}
.goal-content {
    padding: 30px 30px 40px;
}
.goal-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}
.goal-text {
    font-size: 1rem;
    line-height: 1.8;
    color: #475569;
}
/* Add a subtle gradient border on hover */
.goal-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(245,158,11,0.5), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}
.goal-card:hover::after {
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .goal-image {
        height: 200px;
    }
    .goal-content {
        padding: 25px 20px 35px;
    }
    .goal-number {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

/* ============================================
   VIDEO SECTION ENHANCEMENTS
   ============================================ */
.sermon-section .video-container {
    max-width: 1200px;          /* increase width */
    margin: 0 auto 40px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
    transition: box-shadow 0.4s ease;
}
.sermon-section .video-container:hover {
    box-shadow: 0 40px 80px rgba(0,0,0,0.4);
}
.sermon-section .video-container iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: none;
}

/* Make YouTube button highly visible */
.sermon-section .btn-secondary {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #0f172a;
    border: none;
    font-weight: 700;
    padding: 16px 40px;
    box-shadow: 0 10px 30px rgba(245,158,11,0.4);
    transition: all 0.3s ease;
}
.sermon-section .btn-secondary:hover {
    background: #fbbf24;
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(245,158,11,0.5);
}
.sermon-section .btn-secondary i {
    margin-right: 8px;
}

/* ============================================
   FOOTER SUBSCRIBE FORM INLINE
   ============================================ */
.footer .subscribe-form {
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: nowrap;
}
.footer .subscribe-input {
    flex: 1;
    border-radius: 50px 0 0 50px;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.05);
    color: #fff;
    padding: 14px 20px;
    width: auto;
}
.footer .subscribe-btn {
    border-radius: 0 50px 50px 0;
    padding: 14px 28px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #0f172a;
    font-weight: 700;
    letter-spacing: 1px;
    white-space: nowrap;
    transition: all 0.3s;
}
.footer .subscribe-btn:hover {
    background: #fbbf24;
    transform: translateY(-2px);
}
/* On small screens, stack again for usability */
@media (max-width: 600px) {
    .footer .subscribe-form {
        flex-direction: column;
        gap: 10px;
    }
    .footer .subscribe-input,
    .footer .subscribe-btn {
        width: 100%;
        border-radius: 50px;
    }
}

/* Donate button in navbar */
.nav-donate {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #0f172a !important;
    font-weight: 700;
    padding: 10px 22px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(245,158,11,0.3);
    transition: all 0.3s ease;
    white-space: nowrap;
}
.nav-donate:hover {
    background: #fbbf24;
    color: #0f172a;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245,158,11,0.5);
}

/* ============================================
   WORLD-CLASS VERSE SECTION
   ============================================ */
.verse-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #0f172a 100%);
    padding: 140px 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}
.verse-section::before {
    content: '\201C'; /* giant opening quote */
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Playfair Display', serif;
    font-size: 220px;
    color: rgba(245, 158, 11, 0.15);
    line-height: 1;
    pointer-events: none;
}
.verse-section::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(245,158,11,0.08) 0%, transparent 70%);
    pointer-events: none;
    animation: versePulse 6s ease-in-out infinite alternate;
}
@keyframes versePulse {
    from { transform: translate(-50%, -50%) scale(0.9); opacity: 0.6; }
    to { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
}
.verse-section .container {
    position: relative;
    z-index: 1;
}
.verse-quote {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}
.verse-quote p {
    font-family: 'Playfair Display', 'Libre Baskerville', serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    font-style: italic;
    line-height: 1.3;
    color: #ffffff;
    text-shadow: 0 5px 20px rgba(0,0,0,0.5);
    margin-bottom: 30px;
    letter-spacing: -0.5px;
}
.verse-quote cite {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 1.4rem;
    font-style: normal;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #f59e0b;
    background: rgba(255,255,255,0.08);
    padding: 10px 24px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
/* Add subtle floating animation to the whole quote */
.verse-quote {
    animation: verseFloat 4s ease-in-out infinite;
}
@keyframes verseFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
/* Responsive */
@media (max-width: 768px) {
    .verse-section {
        padding: 100px 0;
    }
    .verse-section::before {
        font-size: 140px;
        top: 20px;
    }
    .verse-quote p {
        font-size: 2.2rem;
    }
    .verse-quote cite {
        font-size: 1.1rem;
    }
}

/* Reset verse section height and apply beautiful text colors */
.verse-section {
    padding: 80px 0;   /* original height */
}
.verse-quote p {
    font-size: clamp(1.5rem, 3vw, 2.2rem);   /* revert to original size */
    line-height: 1.5;
    background: linear-gradient(135deg, #fbbf24, #f59e0b, #ffffff, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}
.verse-quote cite {
    font-size: 1rem;   /* original size */
    color: #38bdf8;    /* sky blue for citation */
    background: rgba(255,255,255,0.08);
    border-color: rgba(56,189,248,0.4);
}
/* Optional: reduce decorative quote size to avoid visual dominance */
.verse-section::before {
    font-size: 140px;
}

/* ============================================
   VISIT PAGE WORLD-CLASS STYLES
   ============================================ */
.visit-header {
    min-height: 60vh;
}
.visit-services {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}
.visit-services::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(245,158,11,0.08) 0%, transparent 70%);
    top: -100px;
    left: -100px;
    border-radius: 50%;
    pointer-events: none;
}
.visit-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
}
.visit-service-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.visit-service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 40px 80px rgba(0,0,0,0.15);
}
.visit-service-image {
    height: 220px;
    overflow: hidden;
}
.visit-service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}
.visit-service-card:hover .visit-service-image img {
    transform: scale(1.1);
}
.visit-service-body {
    padding: 30px;
}
.visit-service-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 15px;
}
.visit-service-details {
    color: #475569;
    line-height: 1.7;
    margin-bottom: 20px;
}
.visit-service-details p {
    margin-bottom: 8px;
}
.visit-service-card .btn {
    margin-top: 5px;
}

/* Responsive */
@media (max-width: 768px) {
    .visit-header {
        min-height: 50vh;
    }
    .visit-services {
        padding: 60px 0;
    }
    .visit-service-image {
        height: 180px;
    }
}

/* ============================================
   VISIT PAGE HORIZONTAL LAYOUT (OVERRIDE)
   ============================================ */
.visit-services-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.visit-service-row {
    display: flex;
    align-items: stretch;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.visit-service-row:hover {
    transform: translateY(-8px);
    box-shadow: 0 40px 80px rgba(0,0,0,0.15);
}
.visit-service-row .visit-service-image {
    flex: 0 0 45%;
    max-width: 45%;
    height: auto;
    overflow: hidden;
}
.visit-service-row .visit-service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}
.visit-service-row:hover .visit-service-image img {
    transform: scale(1.05);
}
.visit-service-row .visit-service-body {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.visit-service-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
}
.visit-service-details {
    margin-bottom: 20px;
}

/* Responsive: stack on mobile */
@media (max-width: 768px) {
    .visit-service-row {
        flex-direction: column;
    }
    .visit-service-row .visit-service-image {
        flex: none;
        max-width: 100%;
        height: 220px;
    }
    .visit-service-row .visit-service-body {
        padding: 30px;
    }
}

/* Alternate service rows: odd rows image right, even rows image left */
.visit-services-list .visit-service-row:nth-child(odd) {
    flex-direction: row-reverse;
}
/* On mobile, always stack vertically regardless of order */
@media (max-width: 768px) {
    .visit-services-list .visit-service-row:nth-child(odd) {
        flex-direction: column;
    }
}

/* ============================================
   CONTACT PAGE WORLD-CLASS STYLES
   ============================================ */
.contact-header {
    min-height: 55vh;
}
.contact-modern {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}
.contact-modern::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(245,158,11,0.08) 0%, transparent 70%);
    bottom: -200px;
    right: -200px;
    border-radius: 50%;
    pointer-events: none;
}
.contact-modern-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    position: relative;
    z-index: 1;
}
.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 25px;
}
.contact-info-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 15px 30px rgba(0,0,0,0.06);
    transition: all 0.4s ease;
}
.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.12);
}
.contact-info-icon {
    font-size: 2rem;
    color: #f59e0b;
    margin-bottom: 12px;
}
.contact-info-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
}
.contact-info-card p {
    color: #475569;
    line-height: 1.7;
}
.contact-social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}
.contact-social-links a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(245,158,11,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0f172a;
    font-size: 1.2rem;
    transition: all 0.3s;
}
.contact-social-links a:hover {
    background: #f59e0b;
    color: #fff;
    transform: translateY(-3px);
}
.contact-form-modern {
    background: #fff;
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.1);
}
.contact-form-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 25px;
}
.contact-form .form-group label {
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 8px;
}
.contact-form .form-group input,
.contact-form .form-group textarea {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 1rem;
    transition: all 0.3s;
    background: #f8fafc;
}
.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus {
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245,158,11,0.15);
    background: #fff;
    outline: none;
}
.contact-form .btn-full {
    margin-top: 10px;
}

/* Responsive */
@media (max-width: 900px) {
    .contact-modern-grid {
        grid-template-columns: 1fr;
    }
    .contact-form-modern {
        padding: 30px;
    }
}

/* ============================================
   GALLERY WORLD-CLASS STYLES
   ============================================ */
.gallery-header {
    min-height: 50vh;
    background-image: linear-gradient(rgba(15,23,42,0.7), rgba(15,23,42,0.7)), url('../images/7d33a0_805d8640f2744de8967f20971e0ef5ae~mv2.jpg');
    background-size: cover;
    background-position: center;
}
.gallery-modern {
    background: #fff;
    padding: 80px 0;
}
.gallery-masonry {
    columns: 3;
    column-gap: 20px;
}
.gallery-item {
    position: relative;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    break-inside: avoid;
}
.gallery-item img {
    width: 100%;
    display: block;
    transition: transform 0.6s ease;
}
.gallery-item:hover img {
    transform: scale(1.05);
}
.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15,23,42,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    color: #fff;
    font-size: 2rem;
}
.gallery-item:hover .gallery-overlay {
    opacity: 1;
}
/* Responsive columns */
@media (max-width: 900px) {
    .gallery-masonry { columns: 2; }
}
@media (max-width: 600px) {
    .gallery-masonry { columns: 1; }
}

/* Gallery Intro Text */
.gallery-intro {
    background: #f8fafc;
    padding: 60px 0;
    text-align: center;
}
.gallery-intro-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 15px;
}
.gallery-intro-desc {
    font-size: 1.2rem;
    color: #475569;
    margin-bottom: 25px;
}

/* Gallery intro: heading and button side by side */
.gallery-intro .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}
.gallery-intro-title {
    margin-bottom: 0;
}
/* On small screens, stack */
@media (max-width: 600px) {
    .gallery-intro .container {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Fixed uniform grid for gallery */
.gallery-masonry {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 300px;
    gap: 20px;
    columns: unset;          /* disable masonry columns */
}
.gallery-item {
    height: 100%;
    margin-bottom: 0;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;       /* crop to fill, no distortion */
    display: block;
}
/* Keep hover zoom but prevent overflow */
.gallery-item:hover img {
    transform: scale(1.1);
}
/* Responsive: 2 columns on tablets, 1 on phones */
@media (max-width: 900px) {
    .gallery-masonry {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 250px;
    }
}
@media (max-width: 600px) {
    .gallery-masonry {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
    }
}

/* ============================================
   VOLUNTEER PAGE WORLD-CLASS STYLES
   ============================================ */
.volunteer-header {
    min-height: 55vh;
}
.volunteer-modern {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}
.volunteer-modern::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(245,158,11,0.08) 0%, transparent 70%);
    top: -150px;
    right: -150px;
    border-radius: 50%;
    pointer-events: none;
}
.volunteer-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}
.volunteer-intro .lead {
    font-size: 1.2rem;
    font-weight: 500;
    color: #0f172a;
    margin-bottom: 15px;
}
.volunteer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}
.volunteer-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px 25px;
    text-align: center;
    box-shadow: 0 15px 30px rgba(0,0,0,0.06);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}
.volunteer-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.12);
}
.volunteer-icon {
    font-size: 2.5rem;
    color: #f59e0b;
    margin-bottom: 20px;
    transition: transform 0.4s ease;
}
.volunteer-card:hover .volunteer-icon {
    transform: scale(1.2);
}
.volunteer-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}
.volunteer-card p {
    color: #475569;
    line-height: 1.7;
}
.volunteer-cta {
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .volunteer-modern {
        padding: 60px 0;
    }
    .volunteer-card {
        padding: 30px 20px;
    }
}

/* Volunteer filter dropdown */
.volunteer-filter {
    text-align: center;
    margin-bottom: 40px;
}
.volunteer-filter label {
    font-weight: 600;
    color: #0f172a;
    margin-right: 10px;
}
.filter-select {
    padding: 12px 24px;
    border-radius: 50px;
    border: 1px solid #e2e8f0;
    background: #fff;
    font-size: 1rem;
    color: #0f172a;
    cursor: pointer;
    transition: all 0.3s;
}
.filter-select:focus {
    outline: none;
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245,158,11,0.15);
}
/* Ensure grid cards display properly after filtering */
.volunteer-card[style*="display: none"] {
    display: none !important;
}

/* Volunteer department cards */
.volunteer-leader {
    font-weight: 600;
    color: #f59e0b;
    margin-bottom: 8px;
    font-size: 0.95rem;
}
.volunteer-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 15px;
}
.volunteer-card .btn-sm {
    padding: 8px 18px;
    font-size: 0.8rem;
    background: rgba(245,158,11,0.1);
    color: #0f172a;
    border: 1px solid rgba(245,158,11,0.3);
}
.volunteer-card .btn-sm:hover {
    background: #f59e0b;
    color: #fff;
}

/* About page styles */
.about-header { min-height: 50vh; }
.about-vision-mission { background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%); padding: 80px 0; }
.vm-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.vm-card { background: #fff; border-radius: 24px; padding: 50px; box-shadow: 0 20px 40px rgba(0,0,0,0.08); transition: all 0.5s ease; }
.vm-card:hover { transform: translateY(-8px); box-shadow: 0 40px 80px rgba(0,0,0,0.15); }
.vm-card h2 { font-size: 2rem; font-weight: 700; color: #0f172a; margin-bottom: 20px; }
.about-community-church { padding: 100px 0; background: #fff; }
.cc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.cc-text h2 { font-size: 1.8rem; font-weight: 700; color: #0f172a; margin-bottom: 15px; }
.cc-text p { color: #475569; line-height: 1.8; margin-bottom: 20px; }
.cc-images img { width: 100%; border-radius: 20px; margin-bottom: 20px; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.about-values { background: #f8fafc; padding: 100px 0; }
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.value-card { background: #fff; border-radius: 20px; padding: 40px 25px; text-align: center; box-shadow: 0 15px 30px rgba(0,0,0,0.06); transition: all 0.4s ease; }
.value-card:hover { transform: translateY(-8px); box-shadow: 0 30px 60px rgba(0,0,0,0.12); }
.value-card i { font-size: 2.5rem; color: #f59e0b; margin-bottom: 15px; }
.value-card h3 { font-size: 1.3rem; font-weight: 700; color: #0f172a; margin-bottom: 10px; }
.value-card p { color: #475569; line-height: 1.7; }
/* Responsive */
@media (max-width: 900px) {
    .cc-grid { grid-template-columns: 1fr; }
}

/* About page: video, VMC cards, church, pastors */
.about-video-section {
    background: #f8fafc;
    padding: 60px 0;
}
.about-video-section .video-container {
    max-width: 960px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.about-vmc {
    background: #fff;
    padding: 80px 0;
}
.vmc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}
.vmc-card {
    text-align: center;
    background: #f8fafc;
    border-radius: 20px;
    padding: 30px 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
}
.vmc-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.12);
}
.vmc-card img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: block;
}
.vmc-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}
.vmc-card p {
    color: #475569;
    line-height: 1.7;
}
.about-our-church {
    background: #fff;
    padding: 100px 0;
}
.church-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.church-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.church-text h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 20px;
}
.church-text p {
    color: #475569;
    line-height: 1.8;
    margin-bottom: 20px;
}
.about-values {
    background: #f8fafc;
    padding: 100px 0;
}
.about-pastors {
    background: #fff;
    padding: 100px 0;
}
.pastors-grid {
    display: flex;
    justify-content: center;
}
.pastor-card {
    background: #f8fafc;
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    max-width: 400px;
}
.pastor-card img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 20px;
}
.pastor-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
}
.pastor-card p {
    color: #475569;
}
/* Responsive */
@media (max-width: 900px) {
    .church-grid { grid-template-columns: 1fr; }
}

/* Full-bleed about video */
.about-video-section {
    padding: 0;
    background: #000;
}
.about-video-section .video-container {
    max-width: 100%;
    border-radius: 0;
    box-shadow: none;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
}
.about-video-section .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Our Church horizontal row */
.about-our-church .church-row {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    transition: all 0.5s ease;
}
.about-our-church .church-row:hover {
    transform: translateY(-8px);
    box-shadow: 0 40px 80px rgba(0,0,0,0.15);
}
.about-our-church .church-image {
    flex: 0 0 45%;
    max-width: 45%;
    overflow: hidden;
}
.about-our-church .church-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.about-our-church .church-row:hover .church-image img {
    transform: scale(1.05);
}
.about-our-church .church-text {
    flex: 1;
    padding: 40px;
}
@media (max-width: 768px) {
    .about-our-church .church-row {
        flex-direction: column;
    }
    .about-our-church .church-image {
        flex: none;
        max-width: 100%;
        width: 100%;
        height: 220px;
    }
    .about-our-church .church-text {
        padding: 30px;
    }
}

/* Core Values alternating rows */
.about-values .values-rows {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.value-row {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transition: all 0.4s ease;
}
.value-row:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.12);
}
.value-row .value-icon {
    flex: 0 0 80px;
    font-size: 2.5rem;
    color: #f59e0b;
    text-align: center;
}
.value-row .value-text {
    flex: 1;
}
.value-row h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}
.value-row p {
    color: #475569;
    line-height: 1.7;
}
.value-row.reverse {
    flex-direction: row-reverse;
}
@media (max-width: 600px) {
    .value-row, .value-row.reverse {
        flex-direction: column;
        text-align: center;
    }
    .value-row .value-icon {
        flex: none;
        margin-bottom: 15px;
    }
}

/* Core Values horizontal row */
.about-core-values {
    background: #f8fafc;
    padding: 100px 0;
}
.core-values-row {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    transition: all 0.5s ease;
}
.core-values-row:hover {
    transform: translateY(-8px);
    box-shadow: 0 40px 80px rgba(0,0,0,0.15);
}
.core-values-image {
    flex: 0 0 45%;
    max-width: 45%;
    overflow: hidden;
}
.core-values-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.core-values-row:hover .core-values-image img {
    transform: scale(1.05);
}
.core-values-text {
    flex: 1;
    padding: 40px;
}
.core-values-text h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 20px;
}
.core-values-text p {
    color: #475569;
    line-height: 1.8;
    margin-bottom: 15px;
}
.core-values-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
}
.core-values-list li {
    margin-bottom: 10px;
    color: #475569;
    line-height: 1.6;
}
@media (max-width: 768px) {
    .core-values-row {
        flex-direction: column;
    }
    .core-values-image {
        flex: none;
        max-width: 100%;
        width: 100%;
        height: 220px;
    }
    .core-values-text {
        padding: 30px;
    }
}

/* Make church and core values rows stretch to equal height */
.about-our-church .church-row,
.about-core-values .core-values-row {
    align-items: stretch;   /* change from center to stretch */
}
.about-our-church .church-image,
.about-core-values .core-values-image {
    height: auto;           /* allow container to stretch with row */
    display: flex;          /* helps img fill */
}
.about-our-church .church-image img,
.about-core-values .core-values-image img {
    height: 100%;           /* fill the stretched container */
    object-fit: cover;
}
/* On mobile, reset height to fixed for better appearance */
@media (max-width: 768px) {
    .about-our-church .church-image,
    .about-core-values .core-values-image {
        height: 220px;
        flex: none;
    }
    .about-our-church .church-image img,
    .about-core-values .core-values-image img {
        height: 100%;
    }
}

/* Reduced video height (about half of original 16:9) */
.about-video-section .video-container {
    position: relative;
    padding-bottom: 28.125%; /* half of 56.25% */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    border-radius: 0;
    box-shadow: none;
    background: #000;
}
.about-video-section .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Pastors section exact styling */
.about-pastors {
    background: #fff;
    padding: 100px 0;
    text-align: center;
}
.pastors-heading {
    font-size: 56px;
    font-style: italic;
    color: #000;
    letter-spacing: normal;
    margin-bottom: 20px;
}
.pastors-hr {
    width: 100px;
    height: 2px;
    background: #000;
    margin: 0 auto 40px;
}
.pastors-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}
.pastors-image {
    flex: 0 0 300px;
    max-width: 300px;
}
.pastors-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
}
.pastors-quote-box {
    flex: 1;
    max-width: 500px;
    text-align: left;
}
.pastors-quote-box blockquote {
    font-size: 26px;
    line-height: 1.4;
    color: #000;
    margin: 0 0 20px;
    font-style: normal;
    letter-spacing: normal;
}
.pastors-quote-box .pastors-hr {
    margin: 0;
    width: 60px;
}
/* Responsive */
@media (max-width: 768px) {
    .pastors-heading {
        font-size: 2rem;
    }
    .pastors-content {
        flex-direction: column;
        text-align: center;
    }
    .pastors-quote-box {
        text-align: center;
    }
    .pastors-quote-box blockquote {
        font-size: 1.2rem;
    }
}

/* Further refinements for Pastors section */
.about-pastors {
    padding: 120px 20px;
}
.pastors-heading {
    font-family: 'Playfair Display', 'Libre Baskerville', serif;
    font-weight: 400;
    letter-spacing: 0.5px;
    line-height: 1.2;
}
.pastors-hr {
    width: 80px;
    height: 3px;
    background: #0f172a;
    margin: 0 auto 50px;
}
.pastors-content {
    gap: 60px;
}
.pastors-image {
    flex-basis: 280px;
    max-width: 280px;
    border-radius: 0;
    overflow: hidden;
}
.pastors-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.pastors-image:hover img {
    transform: scale(1.03);
}
.pastors-quote-box {
    max-width: 520px;
}
.pastors-quote-box blockquote {
    font-family: 'Inter', sans-serif;
    font-size: 1.4rem;
    line-height: 1.6;
    font-weight: 400;
    color: #0f172a;
    margin-bottom: 30px;
}
.pastors-quote-box .pastors-hr {
    margin: 0;
    width: 60px;
    height: 2px;
    background: #0f172a;
}
/* Small screen adjustments */
@media (max-width: 480px) {
    .pastors-heading {
        font-size: 1.8rem;
    }
    .pastors-quote-box blockquote {
        font-size: 1.1rem;
    }
}

/* Our Community page exact styling */
.community-heading-section {
    background: #fff;
    padding: 80px 0 40px;
    text-align: left;
}
.community-heading {
    font-size: 56px;
    font-style: italic;
    color: #000;
    line-height: 1.2;
    margin-bottom: 30px;
}
.community-text {
    max-width: 800px;
}
.community-text p {
    font-size: 18px;
    line-height: 1.7;
    color: #000;
    font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
    margin-bottom: 20px;
}
.community-image-strip {
    background: #fff;
    padding: 0 0 80px;
}
.community-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}
.community-column img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
/* Responsive */
@media (max-width: 900px) {
    .community-heading {
        font-size: 2.5rem;
    }
    .community-columns {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .community-columns {
        grid-template-columns: 1fr;
    }
}

/* Center community heading and text, increase width */
.community-heading-section {
    text-align: center;
}
.community-heading {
    margin-left: auto;
    margin-right: auto;
}
.community-text {
    max-width: 1000px;   /* increased from 800px */
    margin: 0 auto;      /* center horizontally */
    text-align: center;  /* center text lines */
}
.community-text p {
    font-size: 20px;     /* slightly larger for better readability */
    line-height: 1.8;
}
/* Keep image strip as is */

/* House Fellowships page */
.house-hero {
    position: relative;
    min-height: 60vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    text-align: center;
    color: #fff;
    padding: 120px 24px;
}
.house-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15,23,42,0.7), rgba(30,41,59,0.5));
}
.house-hero .container {
    position: relative;
    z-index: 1;
}
.house-hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    margin-bottom: 20px;
}
.house-hero-desc {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}
.house-fellowships-section {
    background: #f8fafc;
    padding: 100px 0;
}
.house-fellowships-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.fellowship-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transition: all 0.4s ease;
}
.fellowship-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.12);
}
.fellowship-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}
.fellowship-card p {
    color: #475569;
    line-height: 1.7;
    margin-bottom: 20px;
}
/* Responsive */
@media (max-width: 768px) {
    .house-hero {
        min-height: 50vh;
    }
}

/* Sports standings and team detail tables */
.sports-standings,
.team-detail-content {
    padding: 80px 0;
    background: #f8fafc;
}
.standings-table {
    width: 100%;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    border-collapse: collapse;
}
.standings-table th,
.standings-table td {
    padding: 18px 25px;
    text-align: left;
    border-bottom: 1px solid #f1f5f9;
}
.standings-table th {
    background: #0f172a;
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.5px;
}
.standings-table tbody tr:hover {
    background: rgba(245,158,11,0.05);
}
.standings-table td a {
    color: #0f172a;
    font-weight: 600;
    text-decoration: none;
}
.standings-table td a:hover {
    color: #f59e0b;
}

/* Enhance navbar logo visibility */
.nav-logo {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    padding: 8px 18px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}
.nav-logo:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(245, 158, 11, 0.5);
}
.nav-logo .logo-text-img {
    filter: brightness(0) invert(1);   /* Makes the logo white */
    height: 45px;
    width: auto;
    display: block;
}

/* Small margin helper */
.mb-3 {
    margin-bottom: 1rem !important;
}

/* Ensure navbar is full width */
.navbar {
    width: 100%;
    left: 0;
    right: 0;
}

/* Add spacing below fixed navbar for all main content */
main {
    padding-top: 120px; /* navbar height (80px) + extra gap */
}

/* If any page-header section has its own top padding, keep consistent */
.page-header {
    padding-top: 40px;
    padding-bottom: 80px;
}

/* Full-width navbar content */
.nav-container {
    max-width: 100%;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}
.nav-logo {
    margin-right: auto;
}
/* Optional: make nav links slightly larger for better spread */
.nav-link {
    padding: 10px 20px;
}

/* Fix back button visibility */
.btn-secondary {
    color: #0f172a !important;   /* dark text */
    background: rgba(255,255,255,0.8);
    border: 1px solid #0f172a;
}
.btn-secondary:hover {
    background: #f59e0b;
    color: #0f172a !important;
}

/* Team color dot */
.team-color-dot {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    margin-right: 8px;
    vertical-align: middle;
}

/* Admin sub-nav tabs */
.sub-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}
.sub-nav a {
    padding: 8px 16px;
    background: #e2e8f0;
    border-radius: 20px;
    color: #0f172a;
    text-decoration: none;
    font-weight: 500;
}
.sub-nav a.active {
    background: #f59e0b;
    color: #0f172a;
}

/* Admin filter forms */
.filter-form {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 20px;
}
.filter-form select,
.filter-form input {
    padding: 10px 16px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    background: white;
    font-size: 0.9rem;
}
.filter-form button {
    background: #f59e0b;
    color: #0f172a;
    border: none;
    padding: 10px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
}


/* ==========================================================
   MOBILE APP-STYLE NAVIGATION
   Mobile/small screens only — desktop navigation unchanged
   ========================================================== */
@media (max-width: 768px) {

    /* Modern right-side mobile navigation drawer */
    .nav-menu {
        position: fixed;
        top: 72px;
        right: 0;
        bottom: 0;
        left: auto;

        width: min(88vw, 390px);
        height: calc(100dvh - 72px);

        margin: 0;
        padding: 20px 16px 28px;

        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;

        gap: 6px;

        overflow-y: auto;
        overscroll-behavior: contain;

        background: rgba(26, 26, 46, 0.98);
        backdrop-filter: blur(20px);

        border-top: 1px solid rgba(255,255,255,0.1);
        border-left: 1px solid rgba(255,255,255,0.1);
        border-bottom: 1px solid rgba(255,255,255,0.1);

        border-radius: 24px 0 0 0;

        transform: translateX(110%);
        transition: transform 0.32s ease;

        z-index: 999;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    /* Main mobile menu items */
    .nav-menu > li {
        width: 100%;
        margin: 0;
    }

    .nav-menu > li > .nav-link {
        width: 100%;
        min-height: 52px;

        display: flex;
        align-items: center;
        justify-content: space-between;

        padding: 14px 16px;

        text-align: left;
        border-radius: 14px;
    }

    /* Keep normal links visually consistent */
    .nav-menu > li:not(.has-dropdown) > .nav-link {
        justify-content: flex-start;
    }

    /* Mobile dropdown containers */
    .nav-menu li.has-dropdown {
        width: 100%;
    }

    /* Accordion submenu */
    .nav-menu .dropdown-menu {
        position: static;

        width: 100%;
        min-width: 0;

        display: grid;
        grid-template-rows: 0fr;

        margin: 0;
        padding: 0;

        overflow: hidden;

        opacity: 1;
        visibility: visible;
        transform: none;

        background: transparent;
        box-shadow: none;

        transition:
            grid-template-rows 0.28s ease,
            margin 0.28s ease;
    }

    .nav-menu li.has-dropdown.open .dropdown-menu {
        grid-template-rows: 1fr;
        margin: 4px 0 8px;
    }

    .nav-menu .dropdown-menu > li {
        min-height: 0;
        overflow: hidden;
    }

    .nav-menu .dropdown-menu .nav-link {
        min-height: 46px;

        display: flex;
        align-items: center;

        padding: 12px 16px 12px 32px;

        text-align: left;
        border-radius: 12px;
    }

    /* Chevron behaves like an accordion indicator */
    .nav-menu li.has-dropdown .dropdown-toggle i {
        margin-left: auto;
        transition: transform 0.28s ease;
    }

    .nav-menu li.has-dropdown.open .dropdown-toggle i {
        transform: rotate(180deg);
    }

    /* Donate gets comfortable mobile touch layout */
    .nav-menu > li > .nav-donate {
        justify-content: center;
        gap: 10px;
        margin-top: 8px;
    }

    /* Logged-in admin item remains readable on mobile */
    .nav-menu > li > .nav-admin {
        justify-content: flex-start;
        gap: 10px;
    }

    /* Prevent the drawer from inheriting old centered alignment */
    .nav-menu .nav-link {
        text-align: left;
    }
}

/* ==========================================================
   MOBILE DROPDOWN ACCORDION FIX
   Completely hide submenus until their parent is opened
   ========================================================== */
@media (max-width: 768px) {

    .nav-menu .dropdown-menu {
        position: static;

        width: 100%;
        min-width: 0;

        display: block;

        max-height: 0;
        margin: 0;
        padding: 0;

        overflow: hidden;

        opacity: 0;
        visibility: hidden;

        background: transparent;
        box-shadow: none;
        transform: none;

        transition:
            max-height 0.35s ease,
            opacity 0.25s ease,
            margin 0.25s ease;
    }

    .nav-menu li.has-dropdown.open .dropdown-menu {
        max-height: 500px;
        margin: 4px 0 8px;

        opacity: 1;
        visibility: visible;
    }

    .nav-menu .dropdown-menu > li {
        width: 100%;
        overflow: hidden;
    }

    .nav-menu .dropdown-menu .nav-link {
        min-height: 46px;

        display: flex;
        align-items: center;

        padding: 12px 16px 12px 32px;

        text-align: left;
        border-radius: 12px;
    }
}

/* Live updates and knockout results */
.live-updates {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}
.live-match-card {
    background: rgba(0,0,0,0.5);
    color: #fff;
    padding: 15px 20px;
    border-radius: 10px;
    text-align: center;
    min-width: 200px;
}
.live-badge {
    background: #ef4444;
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    display: inline-block;
    margin-bottom: 5px;
}
.knockout-results {
    padding: 60px 0;
    background: #f8fafc;
}
.knockout-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.knockout-result-card {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    text-align: center;
}
.knockout-result-card h3 {
    margin-bottom: 10px;
}

/* Medal colors and tally */
.team-medals {
    background: #f8fafc;
    padding: 40px 0;
}
.medal-tally {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    font-size: 1.2rem;
    font-weight: 600;
}
.medal {
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    margin-right: 5px;
    vertical-align: middle;
}
.medal.gold {
    background: #fbbf24;
}
.medal.silver {
    background: #cbd5e1;
}
.medal.bronze {
    background: #d97706;
}

/* Back button on inner admin pages */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 20px;
    color: #0f172a;
    font-weight: 600;
    text-decoration: none;
    background: #f1f5f9;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
}
.back-link:hover {
    background: #f59e0b;
    color: #0f172a;
}

/* Developer credit in footer */
.footer-dev {
    margin-top: 10px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}
.footer-dev-link {
    color: #f59e0b;
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-dev-link:hover {
    color: #fff;
}

/* Dropdown toggle button (hidden on desktop, visible on mobile) */
.dropdown-toggle-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: inherit;
    padding: 14px 10px;
    font-size: 0.9rem;
    transition: transform 0.3s;
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    align-items: center;
    justify-content: center;
}
.desktop-chevron {
    display: inline-block;
}
@media (max-width: 768px) {
    .desktop-chevron {
        display: none;
    }
    .dropdown-toggle-btn {
        display: flex;
    }
    .nav-menu .has-dropdown {
        position: relative;
    }
    .nav-menu .nav-link {
        padding-right: 40px; /* leave space for button */
    }
    .nav-menu .has-dropdown.open .dropdown-toggle-btn i {
        transform: rotate(180deg);
    }
}

/* ============================================
   DEFINITIVE MOBILE SUBMENU FIX
   ============================================ */
@media (max-width: 768px) {
    .nav-menu .dropdown-menu {
        display: none !important;
        position: static !important;
        background: transparent !important;
        box-shadow: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        padding-left: 20px;
        min-width: auto;
        width: 100%;
        border-left: 2px solid rgba(245,158,11,0.4);
        margin-left: 10px;
    }
    .nav-menu .has-dropdown.open .dropdown-menu {
        display: block !important;
    }
    .dropdown-toggle-btn {
        display: flex !important;
        z-index: 5;
        pointer-events: auto;
        position: absolute;
        right: 0;
        top: 0;
        height: 100%;
        align-items: center;
        justify-content: center;
        width: 40px;
        background: transparent;
        border: none;
        color: inherit;
        cursor: pointer;
    }
    .nav-menu .has-dropdown {
        position: relative;
    }
    .nav-menu .nav-link {
        padding-right: 40px;
    }
}

/* ============================================
   MOBILE SUBMENU ALWAYS VISIBLE (FINAL)
   ============================================ */
@media (max-width: 768px) {
    .nav-menu .dropdown-menu {
        display: block !important;
        position: static !important;
        background: transparent !important;
        box-shadow: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        padding-left: 20px;
        min-width: auto;
        width: 100%;
        border-left: 2px solid rgba(245,158,11,0.4);
        margin-left: 10px;
        margin-top: 4px;
    }
    /* Hide the toggle button, since submenu is always visible */
    .dropdown-toggle-btn {
        display: none !important;
    }
    .nav-menu .nav-link {
        padding-right: 0 !important;
    }
}

/* Mobile-only static submenu */
.mobile-submenu {
    display: none;
}

@media (max-width: 768px) {
    /* Hide the desktop dropdown entirely */
    .nav-menu .dropdown-menu {
        display: none !important;
    }
    /* Show our mobile submenu */
    .mobile-submenu {
        display: block;
        padding-left: 20px;
        border-left: 2px solid rgba(245,158,11,0.4);
        margin-left: 10px;
        margin-bottom: 10px;
    }
    .mobile-submenu-link {
        display: block;
        padding: 12px 0;
        color: rgba(255,255,255,0.85);
        font-size: 1rem;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    .mobile-submenu-link:last-child {
        border-bottom: none;
    }
    .dropdown-toggle-btn {
        display: none !important;
    }
    .nav-menu .nav-link {
        padding-right: 0 !important;
    }
}

/* ============================================
   SPORTS PAGE MOBILE RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .sports-header {
        padding-top: 80px;
        padding-bottom: 60px;
        min-height: auto;
    }
    .live-updates {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .live-match-card {
        width: 100%;
        min-width: 0;
        padding: 12px 15px;
    }
    .knockout-results {
        padding: 40px 0;
    }
    .knockout-results-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .sports-standings {
        padding: 40px 0;
    }
    .competition-block {
        margin-bottom: 30px;
    }
    /* Make tables scrollable horizontally if too wide */
    .competition-block {
        overflow-x: auto;
    }
    .standings-table {
        min-width: 500px; /* keeps columns readable when scrolling */
        font-size: 0.9rem;
    }
    .standings-table th,
    .standings-table td {
        padding: 10px;
    }
}

/* ============================================
   DEPARTMENT MODAL STYLES
   ============================================ */
.dept-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.dept-modal-overlay.active {
    display: flex;
}
.dept-modal {
    background: #fff;
    border-radius: 20px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
    animation: modalFadeIn 0.3s ease;
}
@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.dept-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    color: #fff;
    padding: 25px;
    border-radius: 20px 20px 0 0;
    position: relative;
}
.dept-modal-header-text {
    flex: 1;
}
.dept-modal-church {
    font-size: 0.8rem;
    letter-spacing: 1px;
    opacity: 0.9;
}
.dept-modal-header h2 {
    margin: 8px 0 5px;
    font-size: 1.6rem;
}
.dept-modal-leader {
    margin: 0;
    font-size: 0.95rem;
    opacity: 0.9;
}
.dept-modal-icon {
    font-size: 2.5rem;
    opacity: 0.8;
    margin-right: 15px;
}
.dept-modal-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 15px;
}
.dept-modal-body {
    padding: 25px;
}
.dept-info-card {
    display: flex;
    gap: 15px;
    background: #f8fafc;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
}
.dept-info-icon {
    font-size: 1.5rem;
    color: #3b82f6;
    flex-shrink: 0;
}
.dept-info-content h3 {
    margin: 0 0 8px;
    font-size: 1.1rem;
    color: #0f172a;
}
.dept-info-content p {
    margin: 0;
    color: #475569;
    line-height: 1.6;
}
.dept-modal-footer {
    padding: 20px 25px;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    border-top: 1px solid #e2e8f0;
}
@media (max-width: 600px) {
    .dept-modal-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .dept-modal-icon {
        position: absolute;
        top: 20px;
        right: 50px;
    }
    .dept-modal-footer {
        flex-direction: column;
    }
}

/* Volunteer search field */
.volunteer-search {
    display: flex;
    align-items: center;
    max-width: 500px;
    margin: 20px auto 0;
    background: rgba(255,255,255,0.95);
    border-radius: 50px;
    padding: 12px 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.volunteer-search i {
    color: #64748b;
    margin-right: 10px;
}
.volunteer-search input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1rem;
    color: #0f172a;
    background: transparent;
}

/* Reduced volunteer hero height */
.volunteer-header {
    min-height: 45vh !important;
    padding-top: 50px !important;
    padding-bottom: 50px !important;
}
@media (max-width: 768px) {
    .volunteer-header {
        min-height: auto !important;
        padding-top: 60px !important;
        padding-bottom: 40px !important;
    }
}
