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

:root {
    --primary-color: #c75400;
    --primary-dark: #8b3a00;
    --secondary-color: #000000;
    --accent-color: #ffd700;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-dark: #111827;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --streaming-color: #dc2626;
    --streaming-hover: #b91c1c;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
}

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

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

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

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

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

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo {
    height: 100px;
    width: auto;
}

/* Logo fallback when image is missing */
.logo[src*="rapha-global-mission-logo-alt.png"]:not([src=""]) {
    display: block;
}

.logo[src*="rapha-global-mission-logo-alt.png"]:not([src=""]):after {
    content: "";
    display: block;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #B8860B, #8B4513);
    border-radius: 50%;
    position: relative;
}

/* Hide broken image icon */
.logo[alt]:empty:before {
    content: attr(alt);
    display: none;
}

.logo-placeholder {
    display: flex;
    align-items: center;
}

.logo-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #B8860B, #8B4513);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 2rem;
    margin-right: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.logo-text {
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #5b2f00;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #b65f01;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

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

/* TV & Radio Button Styles */
.tv-radio-btn {
    background: linear-gradient(135deg, var(--streaming-color), var(--streaming-hover));
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    border: none;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(220, 38, 38, 0.2);
}

.tv-radio-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(220, 38, 38, 0.3);
    background: linear-gradient(135deg, var(--streaming-hover), #991b1b);
}

.tv-radio-btn::after {
    display: none;
}

.tv-radio-btn i {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

.donate-btn {
    background-color: var(--secondary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
}

.donate-btn:hover {
    background-color: #d97706;
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/main-hero-background.jpg') center/cover;
    opacity: 0.2;
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(37, 99, 235, 0.8);
    z-index: -1;
}

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

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

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

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

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

.hero-scroll i {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Section Styles */
/* Universal Section Styling */
section {
    padding: 3rem 0;
}

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

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

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

/* Branches Section */
.branches-section {
    background: linear-gradient(135deg, var(--primary-color), #5f0404);
    padding: 1.5rem 0;
    overflow: hidden;
    position: relative;
}

.branches-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.branches-section .container {
    position: relative;
    z-index: 2;
}

.branches-marquee {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.branches-track {
    display: inline-flex;
    animation: scroll 30s linear infinite;
    will-change: transform;
}

.branch-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 0.5rem 2rem;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    white-space: nowrap;
    transition: all 0.3s ease;
}

.branch-item:last-child {
    border-right: none;
}

.branch-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.branch-item i {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Pause animation on hover */
.branches-marquee:hover .branches-track {
    animation-play-state: paused;
}

/* Responsive Design */
@media (max-width: 768px) {
    .branches-section {
        padding: 1rem 0;
    }
    
    .branch-item {
        font-size: 0.9rem;
        padding: 0.4rem 1.5rem;
    }
    
    .branches-track {
        animation: scroll 25s linear infinite;
    }
}

@media (max-width: 480px) {
    .branch-item {
        font-size: 0.8rem;
        padding: 0.3rem 1rem;
    }
    
    .branches-track {
        animation: scroll 20s linear infinite;
    }
}

/* Vision Section */
.vision-section {
    background-color: var(--bg-secondary);
}

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


/* Rapha Arms Overview */
.rapha-arms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}


.card-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    transition: gap 0.3s ease;
}

.card-link:hover {
    gap: 0.75rem;
}

/* Services Schedule */
.services-schedule {
    background-color: var(--bg-secondary);
}

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

/* Leadership Section */
.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.leader-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

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

.leader-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.5rem;
    border: 4px solid var(--primary-color);
}

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

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

.leader-bio {
    font-size: 0.875rem;
    line-height: 1.6;
}

/* Testimonies Section */
.testimonies-section {
    background-color: var(--bg-secondary);
    padding: 3rem 0;
}

.testimonies-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonies-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
}

.testimony-card {
    background: rgb(236, 236, 236);
    padding: 3rem 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    min-height: 400px;
    opacity: 0;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform: translateX(100%);
}

.testimony-card.active {
    opacity: 1;
    position: relative;
    transform: translateX(0);
    z-index: 10;
}

.testimony-card.prev {
    transform: translateX(-100%);
}

.testimony-header {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.testimony-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 4px solid var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimony-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimony-info {
    flex: 1;
}

.testimony-info h4 {
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    font-size: 1.25rem;
}

.testimony-role {
    color: var(--primary-color);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.testimony-stars {
    display: flex;
    gap: 0.25rem;
}

.testimony-stars i {
    color: var(--accent-color);
    font-size: 1rem;
}

.testimony-text {
    color: var(--text-secondary);
    line-height: 1.8;
    font-style: italic;
    font-size: 1.05rem;
    flex: 1;
    margin: 0;
}

/* Carousel Controls */
.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.carousel-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.carousel-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

.carousel-btn:active {
    transform: scale(0.95);
}

.carousel-dots {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d1d5db;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.dot.active {
    background: var(--primary-color);
    width: 14px;
    height: 14px;
}

.dot:hover {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* Responsive Design for Testimonies */
@media (max-width: 768px) {
    .testimony-card {
        padding: 2rem 1.5rem;
        min-height: 350px;
    }
    
    .testimony-info h4 {
        font-size: 1.1rem;
    }
    
    .testimony-text {
        font-size: 0.95rem;
    }
    
    .carousel-btn {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .carousel-controls {
        gap: 1.5rem;
    }
}

/* CTA Section */
.cta-section {
background: linear-gradient(135deg, #d39425, #5f0404);
    color: white;
    text-align: center;
}

.cta-content h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

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

.cta-section .btn-primary {
    background-color: white;
    color: var(--primary-color);
}

.cta-section .btn-primary:hover {
    background-color: var(--bg-secondary);
}

.cta-section .btn-secondary {
    border-color: white;
    color: white;
}

.cta-section .btn-secondary:hover {
    background-color: white;
    color: var(--primary-color);
}

/* Footer */
.footer {
    background-color: var(--bg-dark);
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

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

.footer-logo span {
    font-weight: 600;
    font-size: 1.25rem;
}

.footer-section h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

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

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

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

.footer-section ul li a:hover {
    color: white;
}

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

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

.social-link:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #d1d5db;
}

.contact-info i {
    color: var(--primary-color);
    width: 16px;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1rem;
    text-align: center;
    color: #9ca3af;
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
    }

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

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

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

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

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

    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }

    .schedule-card.featured {
        grid-column: span 1;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.5rem;
    }

    section {
        padding: 3rem 0;
    }

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

    .vision-grid,
    .rapha-arms-grid,
    .schedule-grid {
        grid-template-columns: 1fr;
    }
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #d39425, #5f0404);
    color: white;
    padding: 8rem 0 4rem;
    text-align: center;
    margin-top: 70px;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
}

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

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

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

.content-text p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.content-image {
    text-align: center;
}

.rounded-image {
    width: 100%;
    max-width: 500px;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
}

/* History Section */
.history-section {
    padding: 3rem 0;
}

/* Vision Mission Section */
.vision-mission-section {
    background-color: var(--bg-secondary);
    padding: 3rem 0;
}

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

.vm-card {
    background: white;
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    position: relative;
}

.vm-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 1rem 1rem 0 0;
}

.vm-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.vm-icon i {
    font-size: 2rem;
    color: white;
}

.vm-card h3 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.vision-details,
.mission-points {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.tagline {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    font-style: italic;
}

.mission-points ul {
    list-style: none;
    padding: 0;
}

.mission-points li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.mission-points li i {
    color: var(--accent-color);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

/* Values Section */
.values-section {
    padding: 3rem 0;
}

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

.value-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

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

.value-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

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

.value-card h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.value-card p {
    font-size: 0.875rem;
    line-height: 1.6;
}

/* Leadership Detailed */
.leadership-detailed {
    background-color: var(--bg-secondary);
    padding: 5rem 0;
}

.founders-section {
    margin-bottom: 4rem;
}

.founders-section h3 {
    text-align: center;
    color: var(--text-primary);
    margin-bottom: 3rem;
}

.founders-grid {
    display: grid;
    gap: 3rem;
}

.founder-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 0;
}

.founder-image {
    height: 300px;
    overflow: hidden;
}

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

.founder-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.founder-info h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.founder-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.founder-bio {
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.founder-contact p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.founder-contact i {
    color: var(--primary-color);
}

/* Leadership Structure */
.leadership-structure {
    margin-top: 4rem;
}

.leadership-structure h3 {
    text-align: center;
    color: var(--text-primary);
    margin-bottom: 3rem;
}

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

.structure-item {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

.structure-item:hover {
    transform: translateY(-3px);
}

.structure-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

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

.structure-item h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.structure-item p {
    font-size: 0.875rem;
    line-height: 1.6;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 2rem;
    right: 2rem;
    max-width: 400px;
    background: white;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-xl);
    z-index: 1001;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.notification.show {
    transform: translateX(0);
}

.notification-content {
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.notification-success {
    border-left: 4px solid var(--accent-color);
}

.notification-error {
    border-left: 4px solid #ef4444;
}

.notification-info {
    border-left: 4px solid var(--primary-color);
}

.notification-warning {
    border-left: 4px solid #f59e0b;
}

.notification-close {
    background: none;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    color: var(--text-light);
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-close:hover {
    color: var(--text-primary);
}

/* Responsive Design for About Page */
@media (max-width: 768px) {
    .page-header {
        padding: 6rem 0 3rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .vm-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .founder-card {
        grid-template-columns: 1fr;
    }
    
    .founder-image {
        height: 250px;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .structure-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }

/* Contact Page Styles */
.contact-section {
    padding: 3rem 0;
}

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

.contact-info-section h2 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.contact-details {
    margin: 2rem 0;
}

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

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

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

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

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

/* Social Links Large */
.social-section {
    margin-top: 3rem;
}

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

.social-links-large {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.social-link-large {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.social-link-large:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.social-link-large.facebook:hover { border-color: #1877f2; color: #1877f2; }
.social-link-large.twitter:hover { border-color: #1da1f2; color: #1da1f2; }
.social-link-large.instagram:hover { border-color: #e4405f; color: #e4405f; }
.social-link-large.youtube:hover { border-color: #ff0000; color: #ff0000; }

/* Form Tabs */
.form-tabs {
    display: flex;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.tab-btn {
    background: none;
    border: none;
    padding: 1rem 1.5rem;
    cursor: pointer;
    color: var(--text-secondary);
    font-weight: 500;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.tab-btn.active,
.tab-btn:hover {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

/* Contact Forms */
.contact-form {
    display: none;
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

.contact-form.active {
    display: block;
}

.contact-form h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.form-description {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 0.875rem;
    line-height: 1.6;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

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

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.error-message {
    display: none;
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Checkbox Groups */
.checkbox-group {
    margin-bottom: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border-color);
    border-radius: 3px;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: -2px;
    left: 2px;
    color: white;
    font-size: 12px;
    font-weight: bold;
}

/* Form Progress */
.form-progress {
    height: 4px;
    background: var(--border-color);
    border-radius: 2px;
    margin-bottom: 2rem;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    width: 0%;
    transition: width 0.3s ease;
}

/* Character Counter */
.character-counter {
    text-align: right;
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

.character-counter.warning {
    color: var(--secondary-color);
}

/* Map Section */
.map-section {
    background-color: var(--bg-secondary);
    padding: 5rem 0;
}

.map-section h2 {
    text-align: center;
    color: var(--text-primary);
    margin-bottom: 3rem;
}

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

.map-placeholder {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-content {
    text-align: center;
    padding: 2rem;
}

.map-content i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.map-content h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.location-info {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    height: fit-content;
}

.location-info h3 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.location-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.detail-item i {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.detail-item h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.detail-item p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.6;
}

/* Branch Contact Cards */
.branches-contact {
    padding: 5rem 0;
}

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

.branch-contact-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.branch-contact-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.branch-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.branch-header i {
    color: var(--primary-color);
    font-size: 1.25rem;
}

.branch-header h4 {
    color: var(--text-primary);
    margin: 0;
}

.branch-badge {
    background: var(--secondary-color);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: auto;
}

.branch-contact-info {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.branch-contact-info p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.branch-contact-info i {
    color: var(--primary-color);
    width: 16px;
}

/* Responsive Design for Contact Page */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-tabs {
        flex-direction: column;
    }
    
    .tab-btn {
        text-align: left;
        border-bottom: 1px solid var(--border-color);
        border-right: none;
    }
    
    .tab-btn.active,
    .tab-btn:hover {
        border-bottom-color: var(--border-color);
        border-left: 3px solid var(--primary-color);
        background: rgba(37, 99, 235, 0.05);
    }
    
    .social-links-large {
        grid-template-columns: 1fr;
    }
    
    .map-container {
        grid-template-columns: 1fr;
    }
    
    .branches-grid {
        grid-template-columns: 1fr;
    }
}

/* Section Background Images */
section {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

/* Hero Section */
.hero-section {
    background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('../images/main-hero-background.jpg');
    background-size: cover;
    background-position: center;
    min-height: 600px;
}

/* Vision Section */
.vision-section {
    background-image: linear-gradient(rgba(255,255,255,0.95), rgba(255,255,255,0.95)), url('../images/church-services-overview.jpg');
    background-size: cover;
    background-position: center;
}

/* Moments of Encounter Section */
.moments-of-encounter {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    position: relative;
}

.moments-of-encounter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(rgba(255,255,255,0.95), rgba(255,255,255,0.95)), url('../images/services-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -1;
}

.moments-of-encounter .container {
    position: relative;
    z-index: 1;
}

.encounter-row.featured {
    background: linear-gradient(135deg, rgba(184, 134, 11, 0.1), rgba(95, 4, 4, 0.1));
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(184, 134, 11, 0.2);
}

.encounter-row.featured .encounter-thumbnail {
    height: 350px;
}

.encounter-row.featured h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Outreach Section */
.outreach-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    position: relative;
}

.outreach-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(rgba(255,255,255,0.92), rgba(255,255,255,0.92)), url('../images/outreach-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -1;
}

.outreach-section .container {
    position: relative;
    z-index: 1;
}

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

.outreach-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.outreach-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.outreach-card.featured {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(184, 134, 11, 0.05), rgba(95, 4, 4, 0.05));
    border: 2px solid rgba(184, 134, 11, 0.2);
}

.outreach-thumbnail {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.outreach-card.featured .outreach-thumbnail {
    height: 250px;
}

.outreach-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(184, 134, 11, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.outreach-card:hover .outreach-icon {
    background: var(--primary-color);
    transform: translate(-50%, -50%) scale(1.1);
}

.outreach-content {
    padding: 1.5rem;
}

.outreach-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.outreach-card.featured .outreach-content h3 {
    font-size: 1.5rem;
}

.outreach-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.outreach-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.highlight-tag {
    background: rgba(184, 134, 11, 0.1);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.outreach-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.outreach-link:hover {
    gap: 0.8rem;
}

/* Outreach Impact */
.outreach-impact {
    background: linear-gradient(135deg, var(--primary-color), #5f0404);
    border-radius: 15px;
    padding: 2rem;
    margin-top: 2rem;
}

.impact-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    color: white;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* Responsive Design for Outreach */
@media (max-width: 768px) {
    .outreach-grid {
        grid-template-columns: 1fr;
    }
    
    .outreach-card.featured {
        grid-column: span 1;
    }
    
    .impact-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .outreach-section {
        padding: 3rem 0;
    }
    
    .impact-stats {
        grid-template-columns: 1fr;
    }
}

/* Services Section */
.services-section,
.special-programs {
    background-image: linear-gradient(rgba(255,255,255,0.97), rgba(255,255,255,0.97)), url('../images/church-services-overview.jpg');
    background-size: cover;
    background-position: center;
}

/* Featured Events */
.featured-events {
    background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('../images/conference-gathering-event.jpg');
    background-size: cover;
    background-position: center;
}

/* Event Categories */
.event-categories {
    background-image: linear-gradient(rgba(255,255,255,0.95), rgba(255,255,255,0.95)), url('../images/worship-service-gathering.jpg');
    background-size: cover;
    background-position: center;
}

/* Success Stories */
.success-stories {
    background-image: linear-gradient(rgba(255,255,255,0.95), rgba(255,255,255,0.95)), url('../images/community-outreach-ministry-program.jpg');
    background-size: cover;
    background-position: center;
}

/* Blog Posts */
.blog-posts {
    background-image: linear-gradient(rgba(255,255,255,0.97), rgba(255,255,255,0.97)), url('../images/featured-healing-article.jpg');
    background-size: cover;
    background-position: center;
}

/* Featured Post */
.featured-post {
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/featured-healing-article.jpg');
    background-size: cover;
    background-position: center;
}

/* Resources Section */
.resource-section {
    background-image: linear-gradient(rgba(255,255,255,0.97), rgba(255,255,255,0.97)), url('../images/church-resources-header.jpg');
    background-size: cover;
    background-position: center;
}

/* Gallery Section */
.gallery-section {
    background-image: linear-gradient(rgba(255,255,255,0.95), rgba(255,255,255,0.95)), url('../images/ministry-gallery-header.jpg');
    background-size: cover;
    background-position: center;
}

/* Support Overview */
.support-overview {
    background-image: linear-gradient(rgba(255,255,255,0.95), rgba(255,255,255,0.95)), url('../images/support-and-donation-header.jpg');
    background-size: cover;
    background-position: center;
}

/* Giving Options */
.giving-options {
    background-image: linear-gradient(rgba(255,255,255,0.97), rgba(255,255,255,0.97)), url('../images/church-services-overview.jpg');
    background-size: cover;
    background-position: center;
}

/* Impact Stories */
.impact-stories {
    background-image: linear-gradient(rgba(255,255,255,0.95), rgba(255,255,255,0.95)), url('../images/school-education-impact-story.jpg');
    background-size: cover;
    background-position: center;
}

/* Partnership Levels */
.partnership-levels {
    background-image: linear-gradient(rgba(255,255,255,0.95), rgba(255,255,255,0.95)), url('../images/gold-level-partner.jpg');
    background-size: cover;
    background-position: center;
}

/* CTA Section */
.cta-section {
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/personal-transformation-testimony.jpg');
    background-size: cover;
    background-position: center;
    color: white;
}

/* Newsletter Signup */
.newsletter-signup {
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/testimony-sharing-moment.jpg');
    background-size: cover;
    background-position: center;
    color: white;
}

/* Page Header */
.page-header {
    background-size: cover;
    background-position: center;
    color: white;
    min-height: 300px;
    display: flex;
    align-items: center;
}

/* Page-Specific Headers */
/* About Page Header */
body.about-page .page-header {
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/about-our-mission-header.jpg');
}

/* Rapha Arms Page Header */
body.rapha-arms-page .page-header {
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/our-ministries-header.jpg');
}

/* Services Page Header */
body.services-page .page-header {
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/church-services-header.jpg');
}

/* Events Page Header */
body.events-page .page-header {
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/church-events-header.jpg');
}

/* Blog Page Header */
body.blog-page .page-header {
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/blog-ministry-updates-header.jpg');
}

/* Resources Page Header */
body.resources-page .page-header {
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/church-resources-header.jpg');
}

/* Support Page Header */
body.support-page .page-header {
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/support-and-donation-header.jpg');
}

/* Contact Page Header */
body.contact-page .page-header {
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/contact-us-information-header.jpg');
}

/* What to Expect */
.what-to-expect {
    background-image: linear-gradient(rgba(255,255,255,0.95), rgba(255,255,255,0.95)), url('../images/church-sanctuary-interior.jpg');
    background-size: cover;
    background-position: center;
}

/* Event Registration */
.event-registration {
    background-image: linear-gradient(rgba(255,255,255,0.97), rgba(255,255,255,0.97)), url('../images/bible-study-fellowship-group.jpg');
    background-size: cover;
    background-position: center;
}

/* Vision Cards with Thumbnails */
.vision-card {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

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

.vision-thumbnail {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vision-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.vision-content h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.vision-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Ministry Cards with Thumbnails */
.ministry-card {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

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

.ministry-thumbnail {
    width: 100%;
    height: 280px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ministry-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.ministry-content h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.ministry-content h4 {
    color: var(--primary-color);
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.ministry-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    flex: 1;
}

/* Schedule Cards with Thumbnails */
.schedule-card {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

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

.schedule-card.featured {
    grid-column: span 1;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
}

.schedule-thumbnail {
    width: 100%;
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.schedule-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.schedule-card.featured .schedule-content {
    background: transparent;
}

.schedule-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.schedule-card.featured .schedule-title {
    color: white;
}

.schedule-day {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.schedule-card.featured .schedule-day {
    color: rgba(255, 255, 255, 0.8);
}

.schedule-time,
.time-slot {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.schedule-card.featured .schedule-time,
.schedule-card.featured .time-slot {
    color: rgba(255, 255, 255, 0.9);
}

.service-description {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
    font-style: italic;
}

.schedule-card.featured .service-description {
    color: rgba(255, 255, 255, 0.8);
}

/* Thumbnail Overlay and Icon */
.thumbnail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease;
}

.vision-card:hover .thumbnail-overlay,
.ministry-card:hover .thumbnail-overlay,
.schedule-card:hover .thumbnail-overlay {
    background: rgba(199, 83, 0, 0);
}

.thumbnail-icon {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 50px;
    height: 50px;
    background: rgba(199, 84, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    font-weight: bold;
}

.vision-card:hover .thumbnail-icon,
.ministry-card:hover .thumbnail-icon,
.schedule-card:hover .thumbnail-icon,
.value-card:hover .thumbnail-icon,
.structure-item:hover .thumbnail-icon,
.branch-card:hover .thumbnail-icon,
.specialized-card:hover .thumbnail-icon,
.service-card:hover .thumbnail-icon,
.feature-card:hover .thumbnail-icon,
.focus-card:hover .thumbnail-icon,
.encounter-card:hover .thumbnail-icon,
.program-card:hover .thumbnail-icon {
    background: var(--primary-color);
    transform: scale(1.1);
}

/* Value Cards with Thumbnails */
.value-card {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

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

.value-thumbnail {
    width: 100%;
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.value-content h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.value-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Structure Items with Thumbnails */
.structure-item {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.structure-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.structure-thumbnail {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.structure-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.structure-content h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.structure-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Branch Cards with Thumbnails */
.branch-card {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

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

.branch-thumbnail {
    width: 100%;
    height: 240px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.branch-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.branch-content h5 {
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.branch-status {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.branch-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

.branch-info {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.branch-info p {
    margin: 0.5rem 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.branch-info i {
    color: var(--primary-color);
    width: 16px;
}

.map-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 0.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.map-link:hover {
    background: #a83f00;
    transform: translateX(2px);
}

/* Specialized Cards with Thumbnails */
.specialized-card {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

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

.specialized-thumbnail {
    width: 100%;
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.specialized-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.specialized-content h5 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.specialized-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Service Cards with Thumbnails */
.service-card {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

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

.service-thumbnail {
    width: 100%;
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-content h5 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.service-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Feature Cards with Thumbnails */
.feature-card {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

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

.feature-thumbnail {
    width: 100%;
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.feature-content h5 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.feature-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Focus Cards with Thumbnails */
.focus-card {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

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

.focus-thumbnail {
    width: 100%;
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.focus-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.focus-content h5 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.focus-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Encounter Cards with Thumbnails */
.encounter-card {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

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

.encounter-thumbnail {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.encounter-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.encounter-content h4 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

.encounter-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.service-times {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.service-times .time-slot {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #f9fafb;
    border-radius: 0.5rem;
}

.service-times .time-slot i {
    color: var(--primary-color);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.service-times .time {
    font-weight: 600;
    color: var(--text-primary);
    display: block;
}

.service-times .label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: block;
}

.schedule-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 1rem 0;
}

.schedule-info .schedule-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.schedule-info .schedule-item i {
    color: var(--primary-color);
    width: 18px;
}

.service-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.highlight-tag {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background: rgba(199, 84, 0, 0.1);
    color: var(--primary-color);
    border-radius: 0.25rem;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Program Cards with Thumbnails */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.program-card {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

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

.program-thumbnail {
    width: 100%;
    height: 280px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.program-thumbnail .thumbnail-icon {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 50px;
    height: 50px;
    background: rgba(199, 84, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.program-card:hover .program-thumbnail .thumbnail-icon {
    background: var(--primary-color);
    transform: scale(1.1);
}

.video-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(199, 84, 0, 0.8);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 5;
}

.program-card:hover .video-btn {
    background: var(--primary-color);
    transform: translate(-50%, -50%) scale(1.1);
}

.program-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.program-content h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.program-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    flex: 1;
}

.program-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: auto;
}

.btn-learn,
.btn-watch {
    flex: 1;
    padding: 0.6rem 1rem;
    border: none;
    border-radius: 0.375rem;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-learn {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-learn:hover {
    background: var(--primary-color);
    color: white;
}

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

.btn-watch:hover {
    background: var(--primary-dark);
}

.program-details {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: auto;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.detail-item i {
    color: var(--primary-color);
    width: 16px;
}

/* Moments of Encounter Section */
.services-category {
    margin-bottom: 4rem;
}

.services-category h3 {
    color: var(--text-primary);
    margin-bottom: 2rem;
    font-size: 1.75rem;
}

.encounter-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.encounter-row:hover {
    box-shadow: var(--shadow-lg);
}

.encounter-row.alternate {
    grid-template-columns: 1fr 1fr;
}

.encounter-row.alternate .encounter-image {
    order: 2;
}

.encounter-row.alternate .encounter-text {
    order: 1;
}

.encounter-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.encounter-thumbnail {
    width: 100%;
    height: 300px;
    background-size: cover;
    background-position: center;
    border-radius: 1rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.encounter-thumbnail .thumbnail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease;
}

.encounter-row:hover .encounter-thumbnail .thumbnail-overlay {
    background: rgba(199, 84, 0, 0.4);
}

.encounter-thumbnail .thumbnail-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 50px;
    height: 50px;
    background: rgba(199, 84, 0, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.encounter-row:hover .encounter-thumbnail .thumbnail-icon {
    background: var(--primary-color);
    transform: scale(1.1);
}

.encounter-text {
    padding: 1rem;
}

.encounter-text h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.encounter-text p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-times {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.service-times .time-slot {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #f9fafb;
    border-radius: 0.5rem;
}

.service-times .time-slot i {
    color: var(--primary-color);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.service-times .time {
    font-weight: 600;
    color: var(--text-primary);
    display: block;
}

.service-times .label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: block;
}

.schedule-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 1rem 0;
}

.schedule-info .schedule-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.schedule-info .schedule-item i {
    color: var(--primary-color);
    width: 18px;
}

.service-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.highlight-tag {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background: rgba(199, 84, 0, 0.1);
    color: var(--primary-color);
    border-radius: 0.25rem;
    font-size: 0.8rem;
    font-weight: 500;
}

.monthly-schedule {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Video Play Button */
.video-play-btn {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 60px;
    height: 60px;
    background: rgba(199, 84, 0, 0.9);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 8;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.video-play-btn:hover {
    background: var(--primary-color);
    transform: scale(1.15);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.video-play-btn:active {
    transform: scale(0.95);
}

/* Encounter Action Buttons */
.encounter-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.btn-watch,
.btn-youtube {
    flex: 1;
    padding: 0.7rem 1rem;
    border: none;
    border-radius: 0.375rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-watch {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-watch:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(199, 84, 0, 0.2);
}

.btn-youtube {
    background: #FF0000;
    color: white;
    border: none;
}

.btn-youtube:hover {
    background: #CC0000;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 0, 0, 0.3);
}

.btn-youtube i {
    font-size: 1rem;
}

/* What to Expect Section */
.expectations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.expectation-card {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

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

.expectation-thumbnail {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.expectation-number {
    width: 50px;
    height: 50px;
    background: rgba(199, 84, 0, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    position: absolute;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.expectation-card:hover .expectation-number {
    background: var(--primary-color);
    transform: scale(1.1);
}

.expectation-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.expectation-content h4 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.expectation-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Service Guidelines Section */
.guidelines-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.guidelines-text h2 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.guidelines-text p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1rem;
}

.guidelines-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.guideline-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.guideline-item i {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.guideline-item h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.guideline-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.guidelines-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.guidelines-thumbnail {
    width: 100%;
    height: 400px;
    background-size: cover;
    background-position: center;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

/* Are You New Here? Section */
.new-here-section {
    padding: 3rem 0;
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
}

.new-here-section .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-label {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

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

.new-here-card {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 1rem;
    padding: 2.5rem;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.new-here-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(199, 84, 0, 0.15);
}

.new-here-card .card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: rgba(199, 84, 0, 0.2);
    border-radius: 50%;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: var(--primary-color);
}

.new-here-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

.new-here-card p {
    color: #d1d5db;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.card-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
}

.card-button:hover {
    background-color: transparent;
    color: var(--primary-color);
    transform: translateX(4px);
}

.card-button i {
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .guidelines-content {
        grid-template-columns: 1fr;
    }

    .encounter-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .encounter-row.alternate .encounter-image {
        order: 1;
    }

    .encounter-row.alternate .encounter-text {
        order: 2;
    }

    .encounter-thumbnail {
        height: 250px;
    }

    .services-category h3 {
        font-size: 1.5rem;
    }

    .encounter-text h4 {
        font-size: 1.25rem;
    }

    .video-play-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        bottom: 10px;
        right: 10px;
    }

    .encounter-actions {
        gap: 0.5rem;
    }

    .btn-watch,
    .btn-youtube {
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .programs-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .expectations-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

    .guidelines-thumbnail {
        height: 250px;
    }

    .encounter-row {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .encounter-row.alternate .encounter-image {
        order: 1;
    }

    .encounter-row.alternate .encounter-text {
        order: 2;
    }

    .encounter-image {
        width: 100%;
    }

    .encounter-thumbnail {
        height: 180px;
        width: 100%;
    }

    .encounter-text {
        padding: 0.5rem;
    }

    .encounter-text h4 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }

    .encounter-text p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .service-times {
        gap: 0.5rem;
    }

    .service-times .time-slot {
        padding: 0.5rem;
        font-size: 0.85rem;
    }

    .service-times .time {
        font-size: 0.85rem;
    }

    .service-times .label {
        font-size: 0.75rem;
    }

    .schedule-info {
        gap: 0.25rem;
        margin: 0.75rem 0;
    }

    .schedule-info .schedule-item {
        font-size: 0.8rem;
    }

    .service-highlights {
        gap: 0.4rem;
        margin-top: 0.75rem;
    }

    .highlight-tag {
        padding: 0.3rem 0.6rem;
        font-size: 0.7rem;
    }

    .services-category {
        margin-bottom: 2rem;
    }

    .services-category h3 {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
    }

    .new-here-section {
        padding: 2rem 0;
    }

    .new-here-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .new-here-card {
        padding: 1.5rem;
    }

    .new-here-card h3 {
        font-size: 1.1rem;
    }

    .section-label {
        font-size: 0.7rem;
        padding: 0.3rem 1rem;
    }

    .program-thumbnail {
        height: 180px;
    }

    .expectation-thumbnail {
        height: 150px;
    }

    .expectation-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .expectation-content h4 {
        font-size: 1rem;
    }

    .expectation-content p {
        font-size: 0.85rem;
    }

    .video-play-btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
        bottom: 8px;
        right: 8px;
    }

    .encounter-actions {
        gap: 0.4rem;
        margin-top: 1rem;
    }

    .btn-watch,
    .btn-youtube {
        padding: 0.5rem 0.6rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

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

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

    .encounter-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .encounter-thumbnail {
        height: 150px;
    }

    .encounter-text h4 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .encounter-text p {
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
    }

    .service-times .time-slot {
        padding: 0.4rem;
        font-size: 0.8rem;
    }

    .service-times .time {
        font-size: 0.8rem;
    }

    .service-times .label {
        font-size: 0.7rem;
    }

    .schedule-info .schedule-item {
        font-size: 0.75rem;
    }

    .highlight-tag {
        padding: 0.25rem 0.5rem;
        font-size: 0.65rem;
    }

    .services-category h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .section-header p {
        font-size: 0.9rem;
    }

    .program-thumbnail {
        height: 150px;
    }

    .expectation-thumbnail {
        height: 120px;
    }

    .expectation-number {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .expectation-content h4 {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }

    .expectation-content p {
        font-size: 0.8rem;
        line-height: 1.4;
    }

    .guidelines-thumbnail {
        height: 200px;
    }

    .guidelines-text h2 {
        font-size: 1.3rem;
    }

    .guidelines-text p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .guideline-item i {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .guideline-item h4 {
        font-size: 0.95rem;
    }

    .guideline-item p {
        font-size: 0.8rem;
    }

    .new-here-card {
        padding: 1rem;
    }

    .new-here-card h3 {
        font-size: 1rem;
    }

    .new-here-card p {
        font-size: 0.85rem;
    }

    .video-play-btn {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
        bottom: 6px;
        right: 6px;
    }

    .encounter-actions {
        flex-direction: column;
        gap: 0.5rem;
        margin-top: 0.75rem;
    }

    .btn-watch,
    .btn-youtube {
        padding: 0.5rem 0.5rem;
        font-size: 0.75rem;
        width: 100%;
    }
}

/* Utility Classes */
.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.grid { display: grid; }

/* ===== EVENTS PAGE STYLES ===== */

/* Featured Events Section */
.featured-events {
    padding: 5rem 0;
    background-color: var(--bg-primary);
}

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

.featured-events-single {
    display: flex;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
}

.featured-event-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
}

.featured-event-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.event-image-large {
    position: relative;
    height: 100%;
    min-height: 500px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    grid-row: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.event-image {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    font-size: 4rem;
}

.event-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-color);
    color: var(--secondary-color);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.event-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.event-content-compact {
    padding: 2.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.event-content h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.event-content-compact h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
    font-weight: 700;
}

.event-tagline {
    color: var(--primary-color);
    font-style: italic;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.event-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.event-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.event-details-compact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 1.5rem 0;
    padding: 1.5rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.detail-item i {
    color: var(--primary-color);
    width: 18px;
}

.event-highlights {
    margin-bottom: 1.5rem;
}

.event-highlights h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.event-highlights ul {
    list-style: none;
    padding: 0;
}

.event-highlights li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

.event-highlights li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
    flex-shrink: 0;
}

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

.event-actions .btn {
    flex: 1;
    text-align: center;
}

/* Recent Events Section */
.recent-events {
    padding: 5rem 0;
    background-color: var(--bg-secondary);
}

.recent-events-timeline {
    position: relative;
    padding: 2rem 0;
}

.recent-events-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
    transform: translateX(-50%);
}

.timeline-item {
    margin-bottom: 3rem;
    position: relative;
}

.timeline-date {
    position: absolute;
    left: 0;
    top: 0;
    color: var(--text-light);
    font-size: 0.875rem;
    font-weight: 500;
    width: calc(50% - 40px);
    text-align: right;
    padding-right: 2rem;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    border: 3px solid var(--bg-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.5rem;
    z-index: 10;
}

.timeline-content {
    margin-left: 50%;
    padding-left: 3rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.event-image-timeline {
    width: 140px;
    height: 140px;
    flex-shrink: 0;
    border-radius: 0.75rem;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

.event-image-timeline .image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    opacity: 0.9;
}

.event-details-timeline {
    flex: 1;
    padding-top: 0.5rem;
}

.event-details-timeline h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.15rem;
    font-weight: 600;
}

.event-description-timeline {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.catch-up-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.catch-up-link:hover {
    color: var(--primary-dark);
    transform: translateX(4px);
}

/* Upcoming Events Timeline */
.upcoming-events {
    padding: 5rem 0;
    background-color: var(--bg-secondary);
}

.events-timeline {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.event-item {
    display: grid;
    grid-template-columns: 150px 1fr auto;
    gap: 2rem;
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    align-items: center;
}

.event-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    text-align: center;
}

.event-date .month {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    opacity: 0.9;
}

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

.event-date .year {
    font-size: 0.85rem;
    opacity: 0.9;
}

.event-info h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.event-info p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.event-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.event-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.event-meta i {
    color: var(--primary-color);
}

.event-status {
    text-align: center;
}

.status-badge {
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.upcoming {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.status-badge.special {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.status-badge.featured {
    background: linear-gradient(135deg, rgba(184, 134, 11, 0.2), rgba(95, 4, 4, 0.2));
    color: var(--primary-color);
    border: 1px solid rgba(184, 134, 11, 0.3);
}

.status-badge.mission {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.status-badge.youth {
    background: rgba(168, 85, 247, 0.1);
    color: #a855f7;
}

.status-badge.conference {
    background: rgba(251, 146, 60, 0.1);
    color: #fb923c;
}

.event-item.featured {
    background: linear-gradient(135deg, rgba(184, 134, 11, 0.05), rgba(95, 4, 4, 0.05));
    border: 2px solid rgba(184, 134, 11, 0.2);
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1rem 0;
}

.event-item.featured .event-date {
    background: var(--primary-color);
    color: white;
}

/* Event Categories */
.event-categories {
    padding: 5rem 0;
    background-color: var(--bg-primary);
}

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

.category-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.category-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.category-card h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.category-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    line-height: 1.6;
}

.category-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.category-card li {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.category-card li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Success Stories */
.success-stories {
    padding: 5rem 0;
    background-color: var(--bg-secondary);
}

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

.story-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    text-align: center;
}

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

.story-stats {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 2rem;
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.story-card h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.story-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Success Stories Compact */
.success-stories-compact {
    padding: 3rem 0;
    background-color: var(--bg-secondary);
}

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

.section-header-compact h2 {
    font-size: 1.75rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.section-header-compact p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

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

.story-card-compact {
    background: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    text-align: center;
}

.story-card-compact:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.story-stats-compact {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 1.25rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.stat-number-compact {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label-compact {
    font-size: 0.8rem;
    opacity: 0.9;
}

.story-card-compact h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.story-card-compact p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.5;
}

/* Event Registration */
.event-registration {
    padding: 5rem 0;
    background-color: var(--bg-primary);
}

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

.registration-info h2 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.registration-info p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.registration-benefits h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.registration-benefits ul {
    list-style: none;
    padding: 0;
}

.registration-benefits li {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.registration-benefits i {
    color: var(--primary-color);
    font-size: 1.25rem;
}

.registration-form {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

.registration-form h3 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

/* Responsive Design for Events */
@media (max-width: 768px) {
    .featured-events-grid {
        grid-template-columns: 1fr;
    }

    .featured-events-single {
        max-width: 100%;
    }

    .featured-event-card {
        grid-template-columns: 1fr;
    }

    .event-image-large {
        min-height: 300px;
        grid-row: auto;
    }

    .event-content-compact {
        padding: 1.5rem;
    }

    .recent-events-timeline::before {
        left: 20px;
    }

    .timeline-date {
        position: static;
        width: 100%;
        text-align: left;
        padding: 0 0 0.5rem 0;
        margin-bottom: 0.5rem;
        color: var(--text-light);
    }

    .timeline-marker {
        left: 20px;
        top: 30px;
    }

    .timeline-content {
        margin-left: 0;
        padding-left: 60px;
        flex-direction: column;
    }

    .event-image-timeline {
        width: 100%;
        height: 180px;
    }

    .event-image-timeline .image-placeholder {
        font-size: 2.5rem;
    }

    .event-item {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .event-date {
        flex-direction: row;
        gap: 1rem;
    }

    .event-date .day {
        font-size: 1.5rem;
    }

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

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

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

    .event-actions {
        flex-direction: column;
    }

    .event-actions .btn {
        width: 100%;
    }
}

/* ===== RESOURCES PAGE STYLES ===== */

/* Resource Categories Navigation */
.resource-categories {
    padding: 2rem 0;
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.resource-nav {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.resource-nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.resource-nav-link:hover,
.resource-nav-link.active {
    color: var(--primary-color);
    background-color: rgba(199, 84, 0, 0.1);
    border-color: var(--primary-color);
}

.resource-nav-link i {
    font-size: 1.25rem;
}

/* Resource Sections */
.resource-section {
    padding: 5rem 0;
}

.sermons-section {
    background-color: var(--bg-primary);
}

.books-section {
    background-color: var(--bg-secondary);
}

.devotionals-section {
    background-color: var(--bg-primary);
}

.gallery-section {
    background-color: var(--bg-secondary);
}

/* Featured Sermon */
.featured-sermon {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-bottom: 3rem;
}

.sermon-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.sermon-info {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sermon-badge {
    display: inline-block;
    background: var(--accent-color);
    color: var(--secondary-color);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
    width: fit-content;
    margin-bottom: 1rem;
}

.sermon-info h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

.sermon-speaker {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.sermon-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.sermon-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.sermon-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.sermon-meta i {
    color: var(--primary-color);
}

.sermon-player {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 350px;
}

.player-placeholder {
    text-align: center;
    color: white;
}

.player-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.player-placeholder p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.play-btn {
    background: white;
    color: var(--primary-color);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Sermon Series */
.sermon-series {
    margin-bottom: 3rem;
}

.sermon-series h3 {
    color: var(--text-primary);
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

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

.sermon-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

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

.sermon-thumbnail {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    overflow: hidden;
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sermon-card:hover .play-overlay {
    opacity: 1;
}

.play-overlay i {
    font-size: 2.5rem;
    color: white;
}

.sermon-details {
    padding: 1.5rem;
}

.sermon-details h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.sermon-details .speaker {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.sermon-details .date {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.sermon-actions {
    display: flex;
    gap: 0.75rem;
}

.action-btn {
    flex: 1;
    padding: 0.5rem;
    border: 1px solid var(--border-color);
    background: white;
    border-radius: 0.375rem;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.action-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.action-btn.play {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.action-btn.play:hover {
    background: var(--primary-dark);
}

/* Recent Sermons */
.recent-sermons {
    margin-bottom: 2rem;
}

.recent-sermons h3 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.sermons-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.sermon-list-item {
    display: grid;
    grid-template-columns: 60px 1fr 80px auto;
    gap: 1.5rem;
    align-items: center;
    background: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.sermon-list-item:hover {
    box-shadow: var(--shadow-md);
}

.sermon-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.sermon-info h4 {
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

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

.sermon-duration {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.action-btn-small {
    width: 36px;
    height: 36px;
    border: 1px solid var(--border-color);
    background: white;
    border-radius: 0.375rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.action-btn-small:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.view-more {
    text-align: center;
}

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

.book-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.book-cover {
    height: 280px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

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

.cover-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.cover-placeholder p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    margin-top: 0.5rem;
}

.book-info {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.book-info h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.book-info .author {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.book-info .description {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
}

.book-price {
    color: var(--primary-color);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.book-actions {
    display: flex;
    gap: 0.75rem;
}

.book-actions .btn {
    flex: 1;
    padding: 0.6rem 0.75rem;
    font-size: 0.85rem;
}

/* Devotionals */
.devotionals-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.current-devotional {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

.devotional-header {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.devotional-date {
    display: inline-block;
    background: var(--accent-color);
    color: var(--secondary-color);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.devotional-header h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.devotional-verse {
    color: var(--primary-color);
    font-style: italic;
    font-weight: 500;
    line-height: 1.7;
}

.devotional-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.devotional-reflection,
.devotional-prayer {
    margin-bottom: 1.5rem;
}

.devotional-reflection h4,
.devotional-prayer h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.devotional-reflection ul {
    list-style: none;
    padding: 0;
}

.devotional-reflection li {
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.devotional-reflection li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.devotional-prayer p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-style: italic;
}

/* Devotional Archive */
.devotional-archive {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
}

.devotional-archive h3 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.devotional-list {
    flex: 1;
    margin-bottom: 2rem;
}

.devotional-item {
    display: grid;
    grid-template-columns: 70px 1fr auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.devotional-item:last-child {
    border-bottom: none;
}

.devotional-item:hover {
    background: var(--bg-secondary);
    border-radius: 0.5rem;
}

.devotional-date-small {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 0.75rem;
    border-radius: 0.5rem;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.devotional-info h4 {
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.devotional-info p {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.read-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.read-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Devotional Subscription */
.devotional-subscription {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid var(--border-color);
}

.devotional-subscription h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.devotional-subscription p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.subscription-form {
    display: flex;
    gap: 0.75rem;
}

.subscription-form input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 0.375rem;
    font-size: 0.9rem;
}

.subscription-form button {
    padding: 0.75rem 1.5rem;
}

/* Gallery */
.gallery-categories {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.gallery-filter {
    background: white;
    border: 2px solid var(--border-color);
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    color: var(--text-secondary);
}

.gallery-filter:hover,
.gallery-filter.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.gallery-item {
    position: relative;
    height: 250px;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

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

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.view-btn {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.view-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.gallery-load-more {
    text-align: center;
}

/* Responsive Design for Resources */
@media (max-width: 768px) {
    .resource-nav {
        gap: 1rem;
    }

    .resource-nav-link {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .resource-nav-link i {
        display: none;
    }

    .sermon-content {
        grid-template-columns: 1fr;
    }

    .sermon-player {
        min-height: 250px;
    }

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

    .sermon-list-item {
        grid-template-columns: 50px 1fr auto;
        gap: 1rem;
    }

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

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

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
    }

    .gallery-item {
        height: 150px;
    }

    .subscription-form {
        flex-direction: column;
    }

    .subscription-form input,
    .subscription-form button {
        width: 100%;
    }
}

/* ===== BLOG PAGE STYLES ===== */

/* Blog Categories */
.blog-categories {
    padding: 2rem 0;
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.category-filters {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.category-filter {
    background: white;
    border: 2px solid var(--border-color);
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    color: var(--text-secondary);
}

.category-filter:hover,
.category-filter.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Featured Post */
.featured-post {
    padding: 5rem 0;
    background-color: var(--bg-primary);
}

.featured-post-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.featured-image {
    position: relative;
    height: 100%;
    min-height: 400px;
    overflow: hidden;
}

.featured-blog-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-badge {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: var(--accent-color);
    color: var(--secondary-color);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.featured-content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-content h2 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.featured-content .excerpt {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1rem;
}

.post-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.post-meta span {
    display: inline-block;
    font-size: 0.85rem;
}

.post-meta .category {
    background: rgba(199, 84, 0, 0.1);
    color: var(--primary-color);
    padding: 0.4rem 0.8rem;
    border-radius: 0.25rem;
    font-weight: 600;
}

.post-meta .date,
.post-meta .author {
    color: var(--text-secondary);
}

.post-stats {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.post-stats span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.post-stats i {
    color: var(--primary-color);
}

/* Blog Posts Section */
.blog-posts {
    padding: 5rem 0;
    background-color: var(--bg-secondary);
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
}

.blog-main {
    display: flex;
    flex-direction: column;
}

.posts-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
}

.blog-post {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 0;
}

.blog-post:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.post-image {
    height: 100%;
    min-height: 250px;
    overflow: hidden;
}

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

.blog-post:hover .blog-post-image {
    transform: scale(1.05);
}

.post-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.post-content h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.post-content .excerpt {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.read-more:hover {
    gap: 0.75rem;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.page-btn {
    background: white;
    border: 1px solid var(--border-color);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.page-btn:hover:not(:disabled) {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-numbers {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.page-number {
    width: 40px;
    height: 40px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    color: var(--text-secondary);
}

.page-number:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.page-number.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.page-dots {
    color: var(--text-secondary);
}

/* Blog Sidebar */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-widget {
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

.sidebar-widget h3 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Recent Posts Widget */
.recent-posts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.recent-post-item {
    display: flex;
    gap: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.recent-post-item:hover {
    opacity: 0.8;
}

.recent-post-thumb {
    width: 80px;
    height: 80px;
    border-radius: 0.5rem;
    object-fit: cover;
    flex-shrink: 0;
}

.recent-post-content h4 {
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
    line-height: 1.4;
}

.recent-date {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

/* Categories Widget */
.category-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.category-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: var(--bg-secondary);
    border-radius: 0.5rem;
    text-decoration: none;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.category-item:hover {
    background: rgba(199, 84, 0, 0.1);
    color: var(--primary-color);
}

.category-item .count {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Newsletter Widget */
.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.newsletter-form input {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 0.9rem;
}

.newsletter-form button {
    width: 100%;
}

/* Newsletter Signup Section */
.newsletter-signup {
    padding: 5rem 0;
    color: white;
    position: relative;
}

.newsletter-signup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 0;
}

.newsletter-signup .container {
    position: relative;
    z-index: 1;
}

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

.newsletter-info h2 {
    color: white;
    margin-bottom: 1rem;
}

.newsletter-info p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.newsletter-benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.benefit-item i {
    color: var(--accent-color);
    font-size: 1.25rem;
}

.newsletter-form-container {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
}

.newsletter-signup-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.newsletter-signup-form .form-group {
    margin-bottom: 0;
}

.newsletter-signup-form input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 0.9rem;
}

.newsletter-signup-form button {
    width: 100%;
    margin-top: 0.5rem;
}

/* Responsive Design for Blog */
@media (max-width: 768px) {
    .featured-post-card {
        grid-template-columns: 1fr;
    }

    .featured-image {
        min-height: 250px;
    }

    .featured-content {
        padding: 2rem;
    }

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

    .blog-post {
        grid-template-columns: 1fr;
    }

    .post-image {
        min-height: 200px;
    }

    .post-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .pagination {
        flex-wrap: wrap;
    }

    .page-numbers {
        order: 3;
        width: 100%;
        justify-content: center;
    }

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

    .category-filters {
        gap: 0.5rem;
    }

    .category-filter {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
}

/* ===== CONTACT PAGE STYLES ===== */

/* Branch Contact Cards */
.branches-contact {
    padding: 5rem 0;
    background-color: var(--bg-primary);
}

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

.branch-contact-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-color);
}

.branch-contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.branch-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.branch-header i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.branch-header h4 {
    color: var(--text-primary);
    margin: 0;
    font-size: 1.1rem;
    flex: 1;
}

.branch-badge {
    background: var(--accent-color);
    color: var(--secondary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 2rem;
    font-size: 0.7rem;
    font-weight: 600;
}

.branch-contact-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.branch-contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.branch-contact-info p {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0;
    font-size: 0.9rem;
}

.branch-contact-info i {
    color: var(--primary-color);
    width: 20px;
    text-align: center;
}

/* Responsive Design for Contact */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .map-container {
        grid-template-columns: 1fr;
    }

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

    .branch-header {
        flex-wrap: wrap;
    }

    .branch-badge {
        order: 3;
        width: 100%;
    }
}

/* ===== SUPPORT PAGE STYLES ===== */

/* Support Overview */
.support-overview {
    padding: 5rem 0;
    background-color: var(--bg-secondary);
}

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

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

.overview-text p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.impact-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.impact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    color: var(--text-secondary);
}

.impact-item i {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.overview-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.5rem;
}

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

/* Giving Options */
.giving-options {
    padding: 5rem 0;
    background-color: var(--bg-primary);
}

.giving-tabs {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.giving-tab {
    background: white;
    border: 2px solid var(--border-color);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    color: var(--text-secondary);
}

.giving-tab:hover,
.giving-tab.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.giving-content {
    display: none;
    animation: fadeInUp 0.3s ease;
}

.giving-content.active {
    display: block;
}

.giving-form-container {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    max-width: 600px;
    margin: 0 auto;
}

.giving-form-header h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.giving-form-header p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.giving-form h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.giving-type,
.amount-selection,
.frequency-selection,
.donor-info,
.payment-options {
    margin-bottom: 2rem;
}

.type-options,
.frequency-options,
.payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.type-option,
.frequency-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
}

.type-option input,
.frequency-option input {
    width: auto;
}

.option-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
}

.option-content i {
    color: var(--primary-color);
    font-size: 1.25rem;
}

.amount-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.amount-btn {
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    background: white;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    color: var(--text-secondary);
}

.amount-btn:hover,
.amount-btn.active {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(199, 84, 0, 0.05);
}

.custom-amount {
    display: none;
}

.custom-amount.active {
    display: block;
}

.custom-amount input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
}

.payment-methods {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.payment-method {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border: 2px solid var(--border-color);
    background: white;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-secondary);
}

.payment-method:hover,
.payment-method.active {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(199, 84, 0, 0.05);
}

.payment-method i {
    font-size: 1.5rem;
}

.security-note {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.security-note i {
    color: var(--primary-color);
}

.btn-large {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
}

/* Event Thumbnails */
.event-thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    margin-right: 1rem;
    flex-shrink: 0;
}

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

.event-item:hover .event-thumb-image {
    transform: scale(1.05);
}

/* Responsive Event Thumbnails */
@media (max-width: 768px) {
    .event-thumbnail {
        width: 60px;
        height: 60px;
        margin-right: 0.75rem;
    }
}

@media (max-width: 480px) {
    .event-thumbnail {
        width: 50px;
        height: 50px;
        margin-right: 0.5rem;
    }
}
.mobile-money-info,
.bank-info,
.other-methods {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

.mobile-money-info h3,
.bank-info h3,
.other-methods h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.mobile-money-info > p,
.bank-info > p,
.other-methods > p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

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

.mobile-service {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
}

.service-logo {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
}

.mobile-service h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.service-number {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.service-name {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.mobile-instructions,
.bank-instructions {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: 0.75rem;
    margin-top: 2rem;
}

.mobile-instructions h4,
.bank-instructions h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.mobile-instructions ol,
.bank-instructions ul {
    margin-left: 1.5rem;
    color: var(--text-secondary);
}

.mobile-instructions li,
.bank-instructions li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.note {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 1rem;
}

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

.bank-account {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: 0.75rem;
}

.bank-account h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.account-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.detail-item .label {
    color: var(--text-secondary);
    font-weight: 500;
}

.detail-item .value {
    color: var(--text-primary);
    font-weight: 600;
    font-family: monospace;
}

/* Other Methods */
.other-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.other-option {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.other-option:hover {
    transform: translateY(-3px);
}

.option-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.75rem;
}

.other-option h4 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.other-option p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.contact-giving {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 1rem;
    margin-top: 2rem;
}

.contact-giving h4 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.contact-giving p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.contact-options {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.contact-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: white;
    border-radius: 0.5rem;
    text-decoration: none;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.contact-option:hover {
    color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.contact-option i {
    color: var(--primary-color);
}

/* Impact Stories */
.impact-stories {
    padding: 5rem 0;
    background-color: var(--bg-secondary);
}

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

.story-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

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

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

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

.story-card:hover .impact-image {
    transform: scale(1.05);
}

.story-content {
    padding: 1.5rem;
}

.story-content h4 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.story-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.story-impact {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.impact-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

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

/* Partnership Levels */
.partnership-levels {
    padding: 5rem 0;
    background-color: var(--bg-primary);
}

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

.level-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

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

.level-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.level-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.level-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-color);
    color: var(--secondary-color);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.level-header {
    padding: 1.5rem;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.level-header h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.level-amount {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
}

.level-benefits {
    padding: 1.5rem;
    flex: 1;
}

.level-benefits ul {
    list-style: none;
    padding: 0;
}

.level-benefits li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.level-benefits i {
    color: var(--primary-color);
}

.level-card .btn {
    margin: 1.5rem;
    width: calc(100% - 3rem);
}

/* Responsive Design for Support */
@media (max-width: 768px) {
    .overview-content {
        grid-template-columns: 1fr;
    }

    .overview-stats {
        grid-template-columns: 1fr;
    }

    .giving-tabs {
        gap: 0.5rem;
    }

    .giving-tab {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .type-options,
    .frequency-options,
    .payment-methods {
        grid-template-columns: 1fr;
    }

    .amount-buttons {
        grid-template-columns: repeat(3, 1fr);
    }

    .mobile-services {
        grid-template-columns: 1fr;
    }

    .bank-accounts {
        grid-template-columns: 1fr;
    }

    .other-options {
        grid-template-columns: 1fr;
    }

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

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

    .level-card.featured {
        transform: scale(1);
    }

    .contact-options {
        flex-direction: column;
    }

    .contact-option {
        width: 100%;
    }
}

/* ===== MINISTRIES PAGE STYLES ===== */

/* Ministry Overview */
.ministry-overview {
    padding: 3rem 0;
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.ministry-nav {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.ministry-nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 600;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.ministry-nav-link:hover,
.ministry-nav-link.active {
    color: var(--primary-color);
    background-color: rgba(199, 84, 0, 0.1);
    border-color: var(--primary-color);
}

.ministry-nav-link i {
    font-size: 1.75rem;
}

/* Ministry Sections */
.ministry-section {
    padding: 5rem 0;
}

.ministry-header {
    text-align: center;
    margin-bottom: 3rem;
}

.ministry-icon-large {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2.5rem;
}

.ministry-header h2 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.ministry-header h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0;
    font-weight: 600;
}

.ministry-tagline {
    color: var(--text-secondary);
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 0;
    margin-top: -0.2rem;
}

.ministry-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ministry-description {
    background: var(--bg-secondary);
    padding: 1rem;
    border-radius: 1rem;
    border-left: 4px solid var(--primary-color);
}

.ministry-description p {
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 0.25rem;
}

.ministry-description p:last-child {
    margin-bottom: 0;
}

/* Branches Section */
.branches-section h4,
.specialized-ministries h4,
.educational-features h4,
.social-services h4,
.target-groups h4,
.economic-focus h4,
.economic-impact h4 {
    color: var(--text-primary);
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

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

.branch-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

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

.branch-thumbnail {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.thumbnail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
}

.branch-card:hover .thumbnail-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.thumbnail-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.branch-card:hover .thumbnail-icon {
    opacity: 1;
}

.branch-content {
    padding: 1.5rem;
}

.branch-content h5 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.branch-status {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

.branch-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.branch-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.branch-info p {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0;
}

.branch-info i {
    color: var(--primary-color);
    width: 18px;
}

.map-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.map-link:hover {
    gap: 0.75rem;
}

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

.specialized-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    display: flex;
}

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

.specialized-thumbnail {
    width: px;
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
    flex-shrink: 0;
}

.specialized-card:hover .thumbnail-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.specialized-card:hover .thumbnail-icon {
    opacity: 1;
}

.specialized-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.specialized-content h5 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.specialized-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Features Grid */
.features-grid,
.services-grid,
.focus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card,
.service-card,
.focus-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.feature-card:hover,
.service-card:hover,
.focus-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-thumbnail,
.service-thumbnail,
.focus-thumbnail {
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.feature-card:hover .thumbnail-overlay,
.service-card:hover .thumbnail-overlay,
.focus-card:hover .thumbnail-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.feature-card:hover .thumbnail-icon,
.service-card:hover .thumbnail-icon,
.focus-card:hover .thumbnail-icon {
    opacity: 1;
}

.feature-content,
.service-content,
.focus-content {
    padding: 1.5rem;
}

.feature-content h5,
.service-content h5,
.focus-content h5 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
}

.feature-content p,
.service-content p,
.focus-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Admission Info */
.admission-info {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 1rem;
    border-left: 4px solid var(--primary-color);
}

.admission-info h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.admission-info p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.admission-contact {
    background: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    margin-top: 1rem;
}

.admission-contact p {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.admission-contact i {
    color: var(--primary-color);
}

/* Target Groups */
.groups-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.group-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 0.75rem;
    border-left: 4px solid var(--primary-color);
    color: var(--text-secondary);
}

.group-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* Economic Impact */
.impact-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.impact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 0.75rem;
    border-left: 4px solid var(--primary-color);
    color: var(--text-secondary);
}

.impact-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* Responsive Design for Ministries */
@media (max-width: 768px) {
    .ministry-nav {
        gap: 0.75rem;
    }

    .ministry-nav-link {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }

    .ministry-nav-link i {
        font-size: 1.25rem;
    }

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

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

    .specialized-card {
        flex-direction: column;
    }

    .specialized-thumbnail {
        width: 100%;
        height: 200px;
    }

    .features-grid,
    .services-grid,
    .focus-grid {
        grid-template-columns: 1fr;
    }

    .groups-list,
    .impact-list {
        grid-template-columns: 1fr;
    }
}

/* ===== SERVICES PAGE STYLES ===== */

/* Services Main */
.services-main {
    padding: 5rem 0;
    background-color: var(--bg-primary);
}

.services-category {
    margin-bottom: 4rem;
}

.services-category h3 {
    color: var(--text-primary);
    margin-bottom: 2rem;
    font-size: 1.75rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

/* Encounter Row */
.encounter-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3rem;
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.encounter-row:hover {
    box-shadow: var(--shadow-lg);
}

.encounter-row.alternate {
    grid-template-columns: 1fr 1fr;
}

.encounter-row.alternate .encounter-image {
    order: 2;
}

.encounter-row.alternate .encounter-text {
    order: 1;
}

.encounter-image {
    height: 100%;
    min-height: 350px;
}

.encounter-thumbnail {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.encounter-thumbnail .thumbnail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease;
}

.encounter-row:hover .encounter-thumbnail .thumbnail-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.encounter-thumbnail .thumbnail-icon {
    position: absolute;
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.encounter-row:hover .encounter-thumbnail .thumbnail-icon {
    opacity: 1;
}

.video-play-btn {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
}

.encounter-row:hover .video-play-btn {
    opacity: 1;
}

.video-play-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.encounter-text {
    padding: 2.5rem;
}

.encounter-text h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.encounter-text p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.monthly-schedule {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem !important;
}

.service-times {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.time-slot {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.time-slot i {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.time-slot .time {
    display: block;
    color: var(--text-primary);
    font-weight: 600;
}

.time-slot .label {
    display: block;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.schedule-info {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.schedule-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
}

.schedule-item i {
    color: var(--primary-color);
}

.service-highlights {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.highlight-tag {
    background: rgba(199, 84, 0, 0.1);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.encounter-actions {
    display: flex;
    gap: 1rem;
}

.btn-watch,
.btn-youtube {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.btn-watch:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-youtube {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-youtube:hover {
    background: rgba(199, 84, 0, 0.05);
}

/* Special Programs */
.special-programs {
    padding: 5rem 0;
    background-color: var(--bg-secondary);
}

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

.program-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.program-thumbnail {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.program-thumbnail .thumbnail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease;
}

.program-card:hover .program-thumbnail .thumbnail-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.program-thumbnail .thumbnail-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.program-card:hover .program-thumbnail .thumbnail-icon {
    opacity: 1;
}

.video-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s ease;
}

.program-card:hover .video-btn {
    opacity: 1;
}

.video-btn:hover {
    background: var(--primary-dark);
    transform: translate(-50%, -50%) scale(1.1);
}

.program-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.program-content h4 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.program-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    flex: 1;
}

.program-actions {
    display: flex;
    gap: 0.75rem;
}

.btn-learn {
    flex: 1;
    padding: 0.6rem 0.75rem;
    background: white;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 0.375rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.btn-learn:hover {
    background: var(--primary-color);
    color: white;
}

.btn-watch {
    flex: 1;
    padding: 0.6rem 0.75rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.btn-watch:hover {
    background: var(--primary-dark);
}

/* What to Expect */
.what-to-expect {
    padding: 5rem 0;
    background-color: var(--bg-primary);
}

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

.expectation-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

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

.expectation-thumbnail {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.expectation-thumbnail .thumbnail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.expectation-number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
}

.expectation-content {
    padding: 1.5rem;
}

.expectation-content h4 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.expectation-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Service Guidelines */
.service-guidelines {
    padding: 5rem 0;
    background-color: var(--bg-secondary);
}

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

.guidelines-text h2 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.guidelines-text > p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.guidelines-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.guideline-item {
    display: flex;
    gap: 1.5rem;
    background: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    border-left: 4px solid var(--primary-color);
}

.guideline-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.guideline-item h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.guideline-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.guidelines-image {
    height: 400px;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.guidelines-thumbnail {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.guidelines-thumbnail .thumbnail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
}

/* Responsive Design for Services */
@media (max-width: 768px) {
    .encounter-row {
        grid-template-columns: 1fr;
    }

    .encounter-row.alternate {
        grid-template-columns: 1fr;
    }

    .encounter-row.alternate .encounter-image {
        order: 0;
    }

    .encounter-row.alternate .encounter-text {
        order: 0;
    }

    .encounter-image {
        min-height: 250px;
    }

    .encounter-text {
        padding: 1.5rem;
    }

    .service-times {
        gap: 0.75rem;
    }

    .schedule-info {
        gap: 1rem;
    }

    .encounter-actions {
        flex-direction: column;
    }

    .btn-watch,
    .btn-youtube {
        width: 100%;
        justify-content: center;
    }

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

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

    .guidelines-content {
        grid-template-columns: 1fr;
    }

    .guidelines-image {
        height: 300px;
    }

    .program-actions {
        flex-direction: column;
    }

    .btn-learn,
    .btn-watch {
        width: 100%;
    }
}

/* ===== BRANCH CONTACT CARD ENHANCEMENTS ===== */

/* Branch Thumbnail */
.branch-thumbnail {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    border-radius: 1rem 1rem 0 0;
}

.branch-contact-card {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.branch-contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.branch-thumbnail .thumbnail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease;
}

.branch-contact-card:hover .branch-thumbnail .thumbnail-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.branch-thumbnail .thumbnail-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.branch-contact-card:hover .branch-thumbnail .thumbnail-icon {
    opacity: 1;
}

/* Branch Card Content */
.branch-contact-card .branch-header {
    padding: 1.5rem 1.5rem 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.branch-contact-card .branch-header i {
    color: var(--primary-color);
    font-size: 1.25rem;
}

.branch-contact-card .branch-header h4 {
    color: var(--text-primary);
    margin: 0;
    flex: 1;
}

.branch-contact-card .branch-badge {
    background: var(--accent-color);
    color: var(--secondary-color);
    padding: 0.35rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.7rem;
    font-weight: 600;
    white-space: nowrap;
}

.branch-contact-card > p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding: 0 1.5rem;
    margin: 0.5rem 0;
}

.branch-contact-info {
    padding: 0 1.5rem;
    margin: 1rem 0;
    flex: 1;
}

.branch-contact-info p {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.branch-contact-info i {
    color: var(--primary-color);
    width: 18px;
}

/* Branch Actions */
.branch-actions {
    display: flex;
    gap: 0.75rem;
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.btn-location,
.btn-contact {
    flex: 1;
    padding: 0.65rem 1rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

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

.btn-location:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-contact {
    background: rgba(199, 84, 0, 0.1);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-contact:hover {
    background: var(--primary-color);
    color: white;
}

/* Responsive Branch Cards */
@media (max-width: 768px) {
    .branch-thumbnail {
        height: 150px;
    }

    .branch-actions {
        flex-direction: column;
        gap: 0.5rem;
    }

    .btn-location,
    .btn-contact {
        width: 100%;
    }
}

/* ===== PREMIUM ANIMATIONS ===== */

/* Smooth Fade In Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Bounce Scale Animation */
@keyframes bounceScale {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    50% {
        transform: scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Slide In From Left */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Slide In From Right */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Rotate In */
@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-10deg) scale(0.9);
    }
    to {
        opacity: 1;
        transform: rotate(0) scale(1);
    }
}

/* Pulse Animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Glow Animation */
@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(199, 84, 0, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(199, 84, 0, 0.6);
    }
}

/* Float Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Shimmer Animation */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

/* Typing Cursor */
@keyframes typing-cursor {
    0%, 49%, 100% {
        border-right-color: var(--primary-color);
    }
    50%, 99% {
        border-right-color: transparent;
    }
}

/* Apply animations to elements */
.animate-in {
    animation: bounceScale 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* Page Header Animation */
.page-header h1 {
    animation: slideInLeft 0.8s ease-out;
}

.page-header p {
    animation: slideInRight 0.8s ease-out 0.2s both;
}

/* Section Headers */
.section-header h2 {
    animation: fadeInUp 0.6s ease-out;
}

.section-header p {
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

/* Card Animations */
.vision-card,
.ministry-card,
.schedule-card,
.leader-card,
.branch-card,
.program-card,
.story-card,
.level-card,
.expectation-card,
.service-card,
.feature-card,
.focus-card,
.specialized-card,
.branch-contact-card,
.stat-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Button Animations */
.btn {
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.btn:hover {
    animation: pulse 0.5s ease-in-out;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:active::before {
    width: 300px;
    height: 300px;
}

/* Icon Animations */
.btn i,
.contact-icon i,
.branch-header i {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn:hover i,
.contact-item:hover .contact-icon i,
.branch-contact-card:hover .branch-header i {
    transform: scale(1.2) rotate(5deg);
}

/* Heading Typing Animation */
.typing-animated {
    border-right: 3px solid var(--primary-color);
    animation: typing-cursor 0.7s infinite;
    padding-right: 5px;
}

/* Hover Lift Effect */
.vision-card:hover,
.ministry-card:hover,
.schedule-card:hover,
.leader-card:hover,
.branch-card:hover,
.program-card:hover,
.story-card:hover,
.level-card:hover,
.expectation-card:hover,
.service-card:hover,
.feature-card:hover,
.focus-card:hover,
.specialized-card:hover,
.branch-contact-card:hover,
.stat-card:hover {
    animation: float 0.6s ease-in-out infinite;
}

/* Encounter Row Animation */
.encounter-row {
    animation: fadeInUp 0.6s ease-out;
}

/* Form Input Animation */
input:focus,
textarea:focus,
select:focus {
    animation: glow 0.5s ease-in-out;
}

/* Image Hover Zoom */
.branch-thumbnail,
.program-thumbnail,
.expectation-thumbnail,
.encounter-thumbnail,
.guidelines-thumbnail {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.branch-contact-card:hover .branch-thumbnail,
.program-card:hover .program-thumbnail,
.expectation-card:hover .expectation-thumbnail,
.encounter-row:hover .encounter-thumbnail,
.service-guidelines:hover .guidelines-thumbnail {
    transform: scale(1.05);
}

/* Staggered List Animation */
.guidelines-list .guideline-item {
    animation: slideInLeft 0.5s ease-out backwards;
}

.guidelines-list .guideline-item:nth-child(1) { animation-delay: 0.1s; }
.guidelines-list .guideline-item:nth-child(2) { animation-delay: 0.2s; }
.guidelines-list .guideline-item:nth-child(3) { animation-delay: 0.3s; }
.guidelines-list .guideline-item:nth-child(4) { animation-delay: 0.4s; }
.guidelines-list .guideline-item:nth-child(5) { animation-delay: 0.5s; }
.guidelines-list .guideline-item:nth-child(6) { animation-delay: 0.6s; }

/* Contact Item Animation */
.contact-item {
    animation: fadeInUp 0.6s ease-out backwards;
}

.contact-item:nth-child(1) { animation-delay: 0.1s; }
.contact-item:nth-child(2) { animation-delay: 0.2s; }
.contact-item:nth-child(3) { animation-delay: 0.3s; }
.contact-item:nth-child(4) { animation-delay: 0.4s; }

/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* TV & Radio Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal.show {
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.modal-content {
    background-color: var(--bg-primary);
    margin: 2rem;
    padding: 0;
    border-radius: 1rem;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    animation: slideUp 0.3s ease;
}

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

.modal-header {
    background: linear-gradient(135deg, var(--streaming-color), var(--streaming-hover));
    color: white;
    padding: 1.5rem;
    border-radius: 1rem 1rem 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.close-modal {
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    color: white;
    background: none;
    border: none;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.close-modal:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.modal-body {
    padding: 2rem;
}

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

.streaming-card {
    background: var(--bg-secondary);
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.streaming-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--streaming-color), var(--streaming-hover));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
}

.streaming-card h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.streaming-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.streaming-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.stream-btn {
    padding: 0.75rem 1.25rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.stream-btn.primary {
    background: linear-gradient(135deg, var(--streaming-color), var(--streaming-hover));
    color: white;
}

.stream-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(220, 38, 38, 0.3);
}

.stream-btn.secondary {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.stream-btn.secondary:hover {
    background-color: var(--bg-secondary);
    border-color: var(--primary-color);
}

.stream-info {
    padding: 0.75rem;
    background-color: var(--bg-primary);
    border-radius: 0.5rem;
    border: 1px solid var(--border-color);
}

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

.streaming-schedule {
    background-color: var(--bg-secondary);
    border-radius: 0.75rem;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
}

.streaming-schedule h3 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.schedule-grid {
    display: grid;
    gap: 1rem;
}

.schedule-item {
    display: grid;
    grid-template-columns: 150px 1fr 120px;
    gap: 1rem;
    padding: 1rem;
    background-color: var(--bg-primary);
    border-radius: 0.5rem;
    border: 1px solid var(--border-color);
    align-items: center;
    transition: transform 0.2s ease;
}

.schedule-item:hover {
    transform: translateX(5px);
    border-color: var(--primary-color);
}

.schedule-time {
    font-weight: 600;
    color: var(--streaming-color);
    font-size: 0.9rem;
}

.schedule-service {
    color: var(--text-primary);
    font-weight: 500;
}

.schedule-type {
    background: linear-gradient(135deg, var(--streaming-color), var(--streaming-hover));
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .modal-content {
        margin: 1rem;
        max-height: 95vh;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .streaming-options {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .streaming-actions {
        flex-direction: column;
    }
    
    .schedule-item {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        text-align: center;
    }
    
    .schedule-type {
        justify-self: center;
    }
}

/* Text Selection Animation */
::selection {
    background: var(--primary-color);
    color: white;
    animation: fadeInUp 0.3s ease-out;
}

/* Loading Animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading {
    animation: spin 1s linear infinite;
}

/* Fade In Animation for Images */
img {
    animation: fadeInUp 0.6s ease-out;
}

/* Premium Transition for All Interactive Elements */
a, button, input, textarea, select {
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Smooth Color Transitions */
.btn-primary:hover,
.btn-secondary:hover,
.btn-location:hover,
.btn-contact:hover {
    animation: glow 0.4s ease-in-out;
}

/* ========================================
   RAPHA KIDS PAGE STYLES
   ======================================== */
.kids-page {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* ========================================
   AGE GROUPS SECTION
   ======================================== */
.kids-page .groups-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.kids-page .group-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    height: 320px;
}

.kids-page .group-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(199, 84, 0, 0.2);
}

.kids-page .group-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.kids-page .thumbnail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(199, 83, 0, 0.144), rgba(139, 58, 0, 0));
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.kids-page .group-card:hover .thumbnail-overlay {
    opacity: 0.7;
}

.kids-page .thumbnail-icon {
    color: white;
    font-size: 2.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.kids-page .group-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 1.5rem 1.5rem;
    z-index: 2;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

.kids-page .group-content h3 {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.kids-page .age-range {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.kids-page .group-content p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* ========================================
   CORE ACTIVITIES SECTION
   ======================================== */
.kids-page .activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.kids-page .activity-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    height: 300px;
}

.kids-page .activity-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(199, 84, 0, 0.2);
}

.kids-page .activity-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.kids-page .activity-thumbnail .thumbnail-overlay {
    background: linear-gradient(135deg, rgba(199, 83, 0, 0.256), rgba(139, 58, 0, 0));
}

.kids-page .activity-thumbnail .thumbnail-icon {
    font-size: 2rem;
}

.kids-page .activity-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 1.5rem 1.5rem;
    z-index: 2;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

.kids-page .activity-content h4 {
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.kids-page .activity-content p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* ========================================
   PROGRAM THUMBNAIL STYLES
   ======================================== */
.program-thumbnail {
    position: relative;
    width: 100%;
    height: 280px;
    background-size: cover;
    background-position: center;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.program-thumbnail:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(199, 84, 0, 0.25);
}

.program-thumbnail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(199, 84, 0, 0.1), rgba(139, 58, 0, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.program-thumbnail:hover::before {
    opacity: 1;
}

.program-thumbnail .program-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 1.5rem 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    z-index: 2;
}

.program-thumbnail .program-title {
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.program-thumbnail .program-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.5;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.program-thumbnail .program-icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: white;
    font-size: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    z-index: 3;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablet Responsive */
@media (max-width: 768px) {
    .kids-page .groups-grid,
    .kids-page .activities-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .kids-page .group-card {
        height: 280px;
    }
    
    .kids-page .activity-card {
        height: 260px;
    }
    
    .program-thumbnail {
        height: 220px;
    }
    
    .kids-page .thumbnail-icon {
        font-size: 2rem;
    }
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .kids-page .group-content,
    .kids-page .activity-content {
        padding: 1.5rem 1rem 1rem;
    }
    
    .kids-page .group-content h3 {
        font-size: 1.25rem;
        text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
    }
    
    .kids-page .activity-content h4 {
        font-size: 1.1rem;
        text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
    }
    
    .kids-page .group-card {
        height: 240px;
    }
    
    .kids-page .activity-card {
        height: 220px;
    }
    
    /* Make background images more visible on mobile */
    .kids-page .group-content {
        background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
    }
    
    .kids-page .activity-content {
        background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
    }
    
    /* Enhance text contrast for mobile readability */
    .kids-page .group-content h3,
    .kids-page .activity-content h4 {
        color: white;
        font-weight: 700;
    }
    
    .kids-page .group-content p,
    .kids-page .activity-content p {
        color: rgba(255, 255, 255, 0.95);
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
        font-weight: 500;
    }
    
    .kids-page .age-range {
        color: rgba(255, 255, 255, 0.95);
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
        font-weight: 600;
    }
    
    /* Program thumbnail mobile responsive */
    .program-thumbnail {
        height: 180px;
    }
    
    .program-thumbnail .program-overlay {
        padding: 1.5rem 1rem 1rem;
    }
    
    .program-thumbnail .program-title {
        font-size: 1.1rem;
    }
    
    .program-thumbnail .program-description {
        font-size: 0.9rem;
    }
    
    .program-thumbnail .program-icon {
        font-size: 1.2rem;
    }
    
    /* Responsive thumbnails for other cards */
    .ministry-thumbnail,
    .branch-thumbnail,
    .specialized-thumbnail,
    .program-thumbnail {
        height: 180px;
    }
}
