/* Global Settings */
body {
    background-color: #f8f9fa;
    font-family: 'Arial', sans-serif;
}

section, .container {
    margin-bottom: 3rem;
}

/* Section Style */
section {
    padding: 80px 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: white;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/hero_bg1.png') no-repeat center center/cover;
    background-size: cover;
    background-position: center;
    color: white;
    position: relative;
    padding: 6rem 0;
}

.hero-section h1 {
    font-size: 4rem;
    font-weight: 700;
    color: white !important;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
}

.hero-section p {
    font-size: 1.5rem;
    color: white !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 0 0 15px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
    font-weight: 500;
}

.hero-section .lead {
    color: white !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 0 0 15px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
    font-weight: 500;
}

.hero-section .display-1,
.hero-section .display-2,
.hero-section .display-3,
.hero-section .display-4,
.hero-section .display-5,
.hero-section .display-6 {
    color: white !important;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
}

/* Ensure all text elements in hero sections are visible */
.hero-section * {
    color: white !important;
}

.hero-section .btn {
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.875rem 2rem;
    border-radius: 30px;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-section .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

/* Specific styling for hero section buttons */
.hero-section .btn-light {
    background: rgba(255, 255, 255, 0.95) !important;
    color: var(--deep-navy) !important;
    border: 2px solid rgba(255, 255, 255, 0.8);
    font-weight: 700;
}

.hero-section .btn-light:hover {
    background: white !important;
    color: var(--deep-navy) !important;
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
}

.hero-section .btn-outline-light {
    background: transparent !important;
    color: white !important;
    border: 2px solid rgba(255, 255, 255, 0.9);
    font-weight: 700;
}

.hero-section .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.95) !important;
    color: var(--deep-navy) !important;
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
}

/* Hero buttons container styling */
.hero-section .hero-buttons {
    position: relative;
    z-index: 2;
    margin-top: 2rem;
}

.hero-section .hero-buttons .btn {
    margin: 0.5rem;
    min-width: 160px;
}

/* Enhanced button focus states */
.hero-section .btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.5), 0 4px 15px rgba(0, 0, 0, 0.5);
}

.hero-section .btn:active {
    transform: translateY(-1px);
}

/* Hero section overlay for better text contrast */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5));
    z-index: 1;
}

/* Additional text elements in hero sections */
.hero-section small,
.hero-section .small {
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    font-weight: 500;
}

.hero-section .text-muted {
    color: rgba(255, 255, 255, 0.8) !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.hero-section .badge {
    position: relative;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Ensure all headings in hero sections are visible */
.hero-section h1, .hero-section h2, .hero-section h3, 
.hero-section h4, .hero-section h5, .hero-section h6 {
    color: white !important;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
}

/* Mission Section */
#mission {
    background: url('path_to_mission_image1.jpg') no-repeat center center/cover;
    color: white;
}

#mission .card-title {
    background: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border-radius: 8px;
    text-align: center;
}

/* Vision Section */
#vision {
    background: url('path_to_vision_image2.jpg') no-repeat center center/cover;
    color: white;
}

#vision .card-title {
    background: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border-radius: 8px;
    text-align: center;
}

/* About Us Section */
#about {
    background: linear-gradient(135deg, #ff9a8b, #ff6a88);
    color: white;
}

/* News Section */
#news {
    background: #f1f1f1;
}

#news .card-title {
    background: #e0e0e0;
    padding: 10px;
    border-radius: 8px;
}

/* Gallery Section */
#gallery {
    background: url('path_to_gallery_image.jpg') no-repeat center center/cover;
    color: white;
}

/* Sermons Section */
#sermons {
    background: url('path_to_sermon_image.jpg') no-repeat center center/cover;
    color: white;
}

/* Online Radio Section */
#radio {
    background: url('path_to_radio_image.jpg') no-repeat center center/cover;
    color: white;
}

#radio h2 {
    font-size: 2.5rem;
}

/* Subscription Section */
#subscription {
    background: linear-gradient(135deg, #e0f7fa, #ffffff);
    border-radius: 12px;
    padding: 3rem 2rem;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

/* Contact Section */
#contact {
    background: #f1f1f1;
}

/* About Us Page Styles */
.about-content {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    overflow: hidden;
}

.content-card {
    background: linear-gradient(135deg, var(--warm-cream) 0%, white 100%);
}

.about-icon-wrapper {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--light-gold), var(--primary-gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: var(--deep-navy);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.value-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.value-icon {
    color: var(--navy-blue);
}

.cta-wrapper {
    background: linear-gradient(135deg, var(--deep-navy) 0%, var(--navy-blue) 100%);
    color: white;
}

.cta-wrapper .btn-outline-primary {
    color: white;
    border-color: white;
}

.cta-wrapper .btn-outline-primary:hover {
    background-color: white;
    color: var(--deep-navy);
}

/* Mission Page Styles */
.mission-content {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    overflow: hidden;
}

.mission-icon-wrapper {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--light-gold), var(--primary-gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: var(--deep-navy);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.mission-text-card {
    background: linear-gradient(135deg, var(--warm-cream) 0%, white 100%);
    border-radius: 15px;
}

.mission-quote {
    border-left: none;
    position: relative;
}

.mission-quote::before {
    content: '\"\'';
    font-size: 4rem;
    color: var(--primary-gold);
    position: absolute;
    top: -20px;
    left: -20px;
    font-family: serif;
}

.pillar-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.pillar-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.pillar-icon {
    color: var(--navy-blue);
}

.action-icon {
    width: 50px;
    text-align: center;
    color: var(--navy-blue);
}

.mission-image-wrapper {
    background: var(--warm-cream);
    padding: 2rem;
    border-radius: 20px;
}

.mission-image-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

/* Vision Page Styles */
.vision-content {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    overflow: hidden;
}

.vision-icon-wrapper {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--light-gold), var(--primary-gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: var(--deep-navy);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.vision-text-card {
    background: linear-gradient(135deg, var(--warm-cream) 0%, white 100%);
    border-radius: 15px;
}

.vision-quote {
    border-left: none;
    position: relative;
}

.vision-quote::before {
    content: '\"\'';
    font-size: 4rem;
    color: var(--primary-gold);
    position: absolute;
    top: -20px;
    left: -20px;
    font-family: serif;
}

.goal-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-gold);
}

.goal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.goal-icon {
    color: var(--navy-blue);
}

.timeline-wrapper {
    background: var(--warm-cream);
    padding: 3rem;
    border-radius: 20px;
}

.timeline-item {
    padding: 2rem 1rem;
}

.timeline-icon {
    color: var(--navy-blue);
}

.action-icon {
    width: 50px;
    text-align: center;
    color: var(--navy-blue);
}

.vision-image-wrapper {
    background: var(--warm-cream);
    padding: 2rem;
    border-radius: 20px;
}

.vision-image-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.cta-wrapper {
    background: linear-gradient(135deg, var(--deep-navy) 0%, var(--navy-blue) 100%);
    color: white;
}

.cta-wrapper .btn-outline-light {
    color: white;
    border-color: white;
}

.cta-wrapper .btn-outline-light:hover {
    background-color: white;
    color: var(--deep-navy);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 4rem 0;
    }
    
    .hero-section h1 {
        font-size: 3rem;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9), 0 0 15px rgba(0, 0, 0, 0.6);
    }
    
    .hero-section p {
        font-size: 1.2rem;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.9), 0 0 10px rgba(0, 0, 0, 0.6);
    }
    
    .hero-section .lead {
        font-size: 1.1rem;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.9), 0 0 10px rgba(0, 0, 0, 0.6);
    }
    
    .hero-section .display-1,
    .hero-section .display-2,
    .hero-section .display-3,
    .hero-section .display-4,
    .hero-section .display-5,
    .hero-section .display-6 {
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9), 0 0 15px rgba(0, 0, 0, 0.6);
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 3rem 0;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.95), 0 0 12px rgba(0, 0, 0, 0.7);
    }
    
    .hero-section p {
        font-size: 1.1rem;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.95), 0 0 8px rgba(0, 0, 0, 0.7);
    }
    
    .hero-section .lead {
        font-size: 1rem;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.95), 0 0 8px rgba(0, 0, 0, 0.7);
    }
    
    .hero-section .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
        min-width: 140px;
    }
    
    .hero-section .hero-buttons .btn {
        margin: 0.25rem;
        min-width: 140px;
    }

    .cta-buttons .btn {
        display: block;
        width: 100%;
        margin: 0.5rem 0;
    }
    
    .about-content {
        margin: 0 1rem;
    }
    
    .content-card {
        padding: 2rem 1.5rem;
    }
    
    .about-icon-wrapper {
        width: 100px;
        height: 100px;
    }

    .mission-content {
        margin: 0 1rem;
    }
    
    .mission-text-card {
        padding: 2rem 1.5rem;
    }
    
    .mission-icon-wrapper {
        width: 100px;
        height: 100px;
    }
    
    .mission-quote::before {
        display: none;
    }

    .vision-content {
        margin: 0 1rem;
    }
    
    .vision-text-card {
        padding: 2rem 1.5rem;
    }
    
    .vision-icon-wrapper {
        width: 100px;
        height: 100px;
    }
    
    .schedule-wrapper {
        padding: 2rem 1rem;
    }
}

/* Contact Page Styles */
.contact-form-wrapper {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.contact-info-wrapper {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.contact-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--warm-cream);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-icon-wrapper {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--light-gold), var(--primary-gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: var(--deep-navy);
}

.form-floating > .form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
}

.form-floating > .form-control:focus {
    border-color: var(--navy-blue);
    box-shadow: 0 0 0 0.2rem rgba(44, 90, 160, 0.25);
}

.form-floating > textarea.form-control {
    height: 120px;
}

.social-links {
    text-align: center;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--navy-blue);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-gold);
    color: var(--deep-navy);
    transform: translateY(-3px);
}

.map-wrapper {
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    height: 100%;
}

.faq-item h5 {
    color: var(--deep-navy);
}

.messages-wrapper .alert {
    border-radius: 15px;
    border: none;
}

@media (max-width: 768px) {
    .contact-form-wrapper,
    .contact-info-wrapper {
        padding: 2rem;
    }
    
    .contact-info-wrapper {
        position: static;
        margin-top: 2rem;
    }
}

/* Online Radio Page Styles */
.radio-player-wrapper {
    background: var(--warm-cream);
    padding: 2rem;
    border-radius: 20px;
}

.radio-player-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.radio-icon {
    color: var(--navy-blue);
}

.custom-audio-player {
    width: 100%;
    max-width: 500px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
}

.radio-stats {
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: var(--warm-cream);
    border-radius: 15px;
    min-width: 100px;
}

.stat-number {
    font-weight: bold;
    color: var(--deep-navy);
    font-size: 1.1rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.feature-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.feature-icon {
    color: var(--navy-blue);
}

.schedule-wrapper {
    background: var(--warm-cream);
    padding: 3rem;
    border-radius: 20px;
}

.schedule-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    height: 100%;
}

.schedule-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.schedule-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
    color: var(--text-muted);
}

.schedule-list li:last-child {
    border-bottom: none;
}

@media (max-width: 768px) {
    .radio-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .stat-item {
        margin-bottom: 1rem;
    }
    
    .schedule-wrapper {
        padding: 2rem 1rem;
    }
}

/* Media Library Page Styles */
.section-header {
    margin-bottom: 3rem;
}

.section-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--light-gold), var(--primary-gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: var(--deep-navy);
}

.music-card, .video-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    overflow: hidden;
    height: 100%;
}

.music-card:hover, .video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.music-header, .video-header {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, var(--warm-cream) 0%, white 100%);
    transition: all 0.3s ease;
}

.music-header:hover, .video-header:hover {
    background: linear-gradient(135deg, var(--light-gold) 0%, var(--warm-cream) 100%);
}

.music-title, .video-title {
    color: var(--deep-navy);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.music-artist {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0;
    font-style: italic;
}

.video-description {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0;
    line-height: 1.4;
}

.music-controls, .video-controls {
    flex-shrink: 0;
}

.music-player, .video-player {
    padding: 1.5rem;
    background: white;
    border-top: 1px solid #e9ecef;
}

.player-wrapper {
    text-align: center;
}

.album-image, .thumbnail-image {
    max-width: 200px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.custom-audio-player, .custom-video-player {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.empty-state {
    background: var(--warm-cream);
    border-radius: 20px;
    border: 2px dashed var(--text-muted);
}

@media (max-width: 768px) {
    .music-header, .video-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .music-controls, .video-controls {
        margin-top: 0.5rem;
    }
    
    .album-image, .thumbnail-image {
        max-width: 150px;
    }
}

/* News List Page Styles */
.search-wrapper {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.search-form .form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(44, 90, 160, 0.25);
    border-color: var(--navy-blue);
}

.news-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    overflow: hidden;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.news-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.news-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-image {
    transform: scale(1.05);
}

.news-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(27, 54, 93, 0.8), rgba(44, 90, 160, 0.8));
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 20px;
}

.news-card:hover .news-overlay {
    opacity: 1;
}

.news-title a {
    color: var(--deep-navy);
    transition: color 0.3s ease;
}

.news-title a:hover {
    color: var(--navy-blue);
}

.news-excerpt {
    line-height: 1.6;
}

.pagination .page-link {
    color: var(--navy-blue);
    border-color: #e9ecef;
    margin: 0 2px;
    border-radius: 10px;
}

.pagination .page-item.active .page-link {
    background-color: var(--navy-blue);
    border-color: var(--navy-blue);
}

.pagination .page-link:hover {
    background-color: var(--light-gold);
    border-color: var(--primary-gold);
    color: var(--deep-navy);
}

.empty-state {
    background: var(--warm-cream);
    border-radius: 20px;
    border: 2px dashed var(--text-muted);
}

.newsletter-wrapper {
    background: linear-gradient(135deg, var(--deep-navy) 0%, var(--navy-blue) 100%);
    color: white;
}

.search-results-info {
    background: var(--light-gold);
    padding: 1rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-gold);
}

@media (max-width: 768px) {
    .search-wrapper {
        padding: 1.5rem;
    }
    
    .news-image-wrapper {
        height: 180px;
    }
}

/* Sermons List Page Styles */
.search-wrapper {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.search-form .form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(44, 90, 160, 0.25);
    border-color: var(--navy-blue);
}

.sermon-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    overflow: hidden;
}

.sermon-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.sermon-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.sermon-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.sermon-card:hover .sermon-image {
    transform: scale(1.05);
}

.sermon-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(27, 54, 93, 0.9), rgba(44, 90, 160, 0.9));
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
}

.sermon-card:hover .sermon-overlay {
    opacity: 1;
}

.sermon-category {
    display: flex;
    justify-content: flex-start;
}

.sermon-actions {
    display: flex;
    justify-content: center;
}

.sermon-title a {
    color: var(--deep-navy);
    transition: color 0.3s ease;
}

.sermon-title a:hover {
    color: var(--navy-blue);
}

.sermon-excerpt {
    line-height: 1.6;
    font-size: 0.95rem;
}

.sermon-meta {
    font-size: 0.9rem;
}

.category-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.category-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.category-icon {
    color: var(--navy-blue);
}

.empty-state {
    background: var(--warm-cream);
    border-radius: 20px;
    border: 2px dashed var(--text-muted);
}

.sermons-stats {
    background: var(--warm-cream);
    padding: 2rem;
    border-radius: 20px;
    border-left: 4px solid var(--primary-gold);
}

.search-results-info {
    background: var(--light-gold);
    padding: 1rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-gold);
}

@media (max-width: 768px) {
    .search-wrapper {
        padding: 1.5rem;
    }
    
    .sermon-image-wrapper {
        height: 180px;
    }
}

/* Gallery Page Styles */
.filter-wrapper {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.filter-form .form-select:focus {
    border-color: var(--navy-blue);
    box-shadow: 0 0 0 0.2rem rgba(44, 90, 160, 0.25);
}

.filter-info .badge {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

.gallery-item {
    background: white;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    overflow: hidden;
    height: 100%;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.gallery-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.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: linear-gradient(135deg, rgba(27, 54, 93, 0.9), rgba(44, 90, 160, 0.9));
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-actions {
    display: flex;
    justify-content: flex-end;
}

.gallery-info {
    text-align: center;
}

.gallery-title {
    color: var(--deep-navy);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.gallery-description {
    line-height: 1.5;
    font-size: 0.9rem;
}

.gallery-meta {
    font-size: 0.85rem;
}

.category-info-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.category-info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.category-icon {
    color: var(--navy-blue);
}

.empty-state {
    background: var(--warm-cream);
    border-radius: 20px;
    border: 2px dashed var(--text-muted);
}

.gallery-stats {
    background: var(--warm-cream);
    padding: 2rem;
    border-radius: 20px;
    border-left: 4px solid var(--primary-gold);
}

@media (max-width: 768px) {
    .filter-wrapper {
        padding: 1.5rem;
    }
    
    .gallery-image-wrapper {
        height: 200px;
    }
    
    .filter-form .row {
        text-align: center;
    }
}

/* News Detail Page Styles */
.news-detail-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    padding: 3rem;
    margin-bottom: 2rem;
}

.news-header {
    text-align: center;
}

.news-meta {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.news-date, .news-time {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: var(--warm-cream);
    border-radius: 25px;
    font-weight: 500;
}

.news-title {
    color: var(--deep-navy);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.news-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-gold), var(--secondary-gold));
    margin: 0 auto;
    border-radius: 2px;
}

.news-image-wrapper {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    background-color: #f8f9fa;
    padding: 1rem;
}

.news-featured-image {
    width: 100%;
    max-height: 300px;
    height: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.news-image-wrapper:hover .news-featured-image {
    transform: scale(1.02);
}

.news-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    padding: 1rem;
    color: white;
}

.news-image-caption {
    font-size: 0.9rem;
    opacity: 0.9;
}

.news-content {
    margin-top: 2rem;
}

.news-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    text-align: justify;
}

.news-footer {
    border-top: 1px solid #e9ecef;
    padding-top: 2rem;
}

.news-actions {
    flex-wrap: wrap;
    gap: 1rem;
}

.share-label {
    font-weight: 600;
    color: var(--text-dark);
}

.news-share .btn {
    border-radius: 25px;
    padding: 0.5rem 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.news-share .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.related-news-title {
    color: var(--deep-navy);
    font-weight: 600;
    font-family: 'Playfair Display', serif;
}

.related-news-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-gold);
}

.related-news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.related-news-content h5 {
    color: var(--deep-navy);
    font-weight: 600;
    margin-bottom: 1rem;
}

.related-news-content p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Sermons Detail Page Styles */
.sermon-detail-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    padding: 3rem;
    margin-bottom: 2rem;
}

.sermon-header {
    text-align: center;
}

.sermon-meta {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.sermon-date, .sermon-category {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: var(--warm-cream);
    border-radius: 25px;
    font-weight: 500;
}

.sermon-category {
    background: linear-gradient(135deg, var(--light-gold), var(--primary-gold));
    color: var(--deep-navy);
}

.sermon-title {
    color: var(--deep-navy);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.sermon-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-gold), var(--secondary-gold));
    margin: 0 auto;
    border-radius: 2px;
}

.sermon-image-wrapper {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.sermon-featured-image {
    width: 100%;
    max-height: 300px;
    height: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.sermon-image-wrapper:hover .sermon-featured-image {
    transform: scale(1.02);
}

.sermon-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    padding: 1rem;
    color: white;
}

.sermon-image-caption {
    font-size: 0.9rem;
    opacity: 0.9;
}

.sermon-content {
    margin-top: 2rem;
}

.sermon-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    text-align: justify;
}

/* Video Section Styles */
.sermon-video-section {
    background: var(--warm-cream);
    border-radius: 15px;
    padding: 2rem;
    border-left: 4px solid var(--primary-gold);
}

.section-header {
    text-align: center;
}

.section-title {
    color: var(--deep-navy);
    font-weight: 600;
    font-family: 'Playfair Display', serif;
    margin-bottom: 0.5rem;
}

.section-description {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.video-container {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
}

.sermon-video-frame {
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.video-info {
    text-align: center;
}

.video-meta span {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: var(--warm-cream);
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0 0.5rem;
}

/* Audio Section Styles */
.sermon-audio-section {
    background: var(--warm-cream);
    border-radius: 15px;
    padding: 2rem;
    border-left: 4px solid var(--primary-gold);
}

.audio-container {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
}

.custom-audio-player-wrapper {
    text-align: center;
}

.custom-audio-player {
    width: 100%;
    max-width: 600px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.audio-controls {
    text-align: center;
}

.audio-info {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.audio-format {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: var(--warm-cream);
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.audio-download .btn {
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.audio-download .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.sermon-footer {
    border-top: 1px solid #e9ecef;
    padding-top: 2rem;
}

.sermon-actions {
    flex-wrap: wrap;
    gap: 1rem;
}

.sermon-share .btn {
    border-radius: 25px;
    padding: 0.5rem 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.sermon-share .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Related Content Section */
.related-content-title {
    color: var(--deep-navy);
    font-weight: 600;
    font-family: 'Playfair Display', serif;
}

.related-content-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-gold);
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.related-content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.related-content-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--light-gold), var(--primary-gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--deep-navy);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.related-content-body h5 {
    color: var(--deep-navy);
    font-weight: 600;
    margin-bottom: 1rem;
}

.related-content-body p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Call to Action Section */
.cta-section {
    margin-top: 3rem;
}

.cta-card {
    background: linear-gradient(135deg, var(--deep-navy) 0%, var(--navy-blue) 100%);
    border-radius: 20px;
    padding: 3rem;
    color: white;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.cta-content h4 {
    font-weight: 600;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-content .btn {
    border-radius: 30px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.cta-content .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

/* Breadcrumb Styles */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb-item a {
    color: var(--navy-blue);
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: var(--primary-gold);
}

.breadcrumb-item.active {
    color: var(--text-muted);
}

/* Responsive Design for Detail Pages */
@media (max-width: 768px) {
    .news-detail-card,
    .sermon-detail-card {
        padding: 2rem 1.5rem;
        margin: 0 1rem 2rem 1rem;
    }
    
    .news-title,
    .sermon-title {
        font-size: 2rem;
    }
    
    .news-actions,
    .sermon-actions {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .news-share,
    .sermon-share {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .related-news-card,
    .related-content-card {
        margin-bottom: 1rem;
    }
    
    .related-content-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .cta-card {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .video-container,
    .audio-container {
        padding: 1rem;
    }
    
    .audio-info {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 576px) {
    .news-title,
    .sermon-title {
        font-size: 1.75rem;
    }
    
    .news-meta,
    .sermon-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .news-date,
    .news-time,
    .sermon-date,
    .sermon-category {
        margin: 0.25rem 0;
    }
}

/* Subscription Page Styles */
.subscription-title {
    color: var(--deep-navy);
    font-size: 3rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    margin-bottom: 1rem;
}

.subscription-subtitle {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.subscription-divider {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-gold), var(--secondary-gold));
    margin: 0 auto;
    border-radius: 2px;
}

.subscription-form-wrapper {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    padding: 3rem;
    height: 100%;
}

.form-title {
    color: var(--deep-navy);
    font-weight: 600;
    font-family: 'Playfair Display', serif;
}

.subscription-form .form-floating > .form-control {
    border: 2px solid #e9ecef;
    border-radius: 15px;
    height: 60px;
    font-size: 1rem;
}

.subscription-form .form-floating > .form-control:focus {
    border-color: var(--navy-blue);
    box-shadow: 0 0 0 0.2rem rgba(44, 90, 160, 0.25);
}

.subscription-form .form-floating > label {
    padding-left: 1rem;
    color: var(--text-muted);
}

.notification-options {
    background: var(--warm-cream);
    border-radius: 15px;
    padding: 1.5rem;
}

.notification-options .form-check {
    margin-bottom: 1rem;
    padding-left: 2.5rem;
}

.notification-options .form-check:last-child {
    margin-bottom: 0;
}

.notification-options .form-check-input {
    width: 1.2rem;
    height: 1.2rem;
    border: 2px solid var(--navy-blue);
    border-radius: 4px;
}

.notification-options .form-check-input:checked {
    background-color: var(--navy-blue);
    border-color: var(--navy-blue);
}

.notification-options .form-check-label {
    color: var(--text-dark);
    font-weight: 500;
    cursor: pointer;
}

.subscription-btn {
    border-radius: 30px;
    padding: 1rem 3rem;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, var(--navy-blue) 0%, var(--deep-navy) 100%);
    border: none;
}

.subscription-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    background: linear-gradient(135deg, var(--deep-navy) 0%, var(--navy-blue) 100%);
}

.subscription-btn:disabled {
    opacity: 0.7;
    transform: none;
    box-shadow: none;
}

/* Benefits Section */
.subscription-benefits {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    padding: 2rem;
    height: 100%;
}

.benefits-title {
    color: var(--deep-navy);
    font-weight: 600;
    font-family: 'Playfair Display', serif;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--warm-cream);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.benefit-item:last-child {
    margin-bottom: 0;
}

.benefit-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--light-gold), var(--primary-gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--deep-navy);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.benefit-content h6 {
    color: var(--deep-navy);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.benefit-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0;
}

/* Contact Information Card */
.contact-info-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    padding: 2rem;
    border-left: 4px solid var(--primary-gold);
}

.contact-title {
    color: var(--deep-navy);
    font-weight: 600;
    margin-bottom: 1rem;
}

.contact-info-card p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    background: var(--warm-cream);
    border-radius: 10px;
    color: var(--text-dark);
    font-weight: 500;
}

.contact-item i {
    color: var(--navy-blue);
    margin-right: 0.75rem;
}

/* Success Modal Styles */
.modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.modal-header {
    padding: 1.5rem 1.5rem 0;
}

.modal-body {
    padding: 2rem 1.5rem;
}

.modal-footer {
    padding: 0 1.5rem 1.5rem;
}

.success-icon {
    font-size: 4rem;
    color: var(--success-green);
}

.modal-title {
    color: var(--deep-navy);
    font-weight: 600;
    font-family: 'Playfair Display', serif;
}

.modal-text {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Fullscreen Image Modal Styles */
.fullscreen-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.fullscreen-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.fullscreen-image {
    max-width: 95%;
    max-height: 95%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.fullscreen-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.fullscreen-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.fullscreen-info {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    padding: 1rem 2rem;
    border-radius: 25px;
    font-size: 0.9rem;
}

/* Alert Styles */
.alert {
    border-radius: 15px;
    border: none;
    font-weight: 500;
}

.alert-danger {
    background: linear-gradient(135deg, #ffebee, #ffcdd2);
    color: #c62828;
}

.alert-success {
    background: linear-gradient(135deg, #e8f5e8, #c8e6c9);
    color: #2e7d32;
}

/* Responsive Design for Subscription Page */
@media (max-width: 768px) {
    .subscription-title {
        font-size: 2.5rem;
    }
    
    .subscription-form-wrapper {
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
    }
    
    .subscription-benefits {
        padding: 1.5rem;
    }
    
    .benefit-item {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .benefit-icon {
        margin: 0 auto;
    }
    
    .contact-info-card {
        padding: 1.5rem;
    }
    
    .subscription-btn {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
    
    /* News and Sermon Image Responsive Adjustments */
    .news-featured-image,
    .sermon-featured-image {
        max-height: 250px;
    }
}

@media (max-width: 576px) {
    .subscription-title {
        font-size: 2rem;
    }
    
    .subscription-subtitle {
        font-size: 1rem;
    }
    
    .subscription-form-wrapper {
        padding: 1.5rem 1rem;
    }
    
    .notification-options {
        padding: 1rem;
    }
    
    .benefit-item {
        padding: 0.75rem;
    }
    
    /* News and Sermon Image Responsive Adjustments */
    .news-featured-image,
    .sermon-featured-image {
        max-height: 200px;
    }
    
    .news-image-wrapper,
    .sermon-image-wrapper {
        padding: 0.5rem;
    }
}

/* Pastor Section Styles */
.pastor-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid rgba(0, 123, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pastor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.pastor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 123, 255, 0.15) !important;
}

.pastor-avatar-wrapper {
    position: relative;
}

.pastor-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white !important;
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.3);
    transition: all 0.3s ease;
}

.pastor-avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 123, 255, 0.4);
}

.pastor-info .info-item {
    padding: 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.pastor-info .info-item:hover {
    background: rgba(0, 123, 255, 0.05);
    border-left-color: var(--primary-color);
    transform: translateX(5px);
}

.info-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.1), rgba(0, 123, 255, 0.05));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color) !important;
    transition: all 0.3s ease;
}

.info-item:hover .info-icon {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.2), rgba(0, 123, 255, 0.1));
    transform: scale(1.1);
}

.pastor-info h6 {
    color: var(--deep-navy);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.pastor-info p {
    line-height: 1.6;
    color: #6c757d;
}

.pastor-description {
    border-left: 4px solid var(--primary-color);
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.05), rgba(0, 123, 255, 0.02)) !important;
    transition: all 0.3s ease;
}

.pastor-description:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.1);
}

.pastor-description p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #495057 !important;
}

.pastor-description .fa-quote-left,
.pastor-description .fa-quote-right {
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Responsive adjustments for pastor section */
@media (max-width: 768px) {
    .pastor-card {
        padding: 2rem !important;
    }
    
    .pastor-avatar {
        width: 100px;
        height: 100px;
    }
    
    .pastor-avatar i {
        font-size: 3rem !important;
    }
    
    .info-icon {
        width: 40px;
        height: 40px;
    }
    
    .info-icon i {
        font-size: 1.5rem !important;
    }
    
    .pastor-info .info-item {
        padding: 0.75rem;
    }
}

@media (max-width: 576px) {
    .pastor-card {
        padding: 1.5rem !important;
    }
    
    .pastor-avatar {
        width: 80px;
        height: 80px;
    }
    
    .pastor-avatar i {
        font-size: 2.5rem !important;
    }
    
    .info-icon {
        width: 35px;
        height: 35px;
    }
    
    .info-icon i {
        font-size: 1.25rem !important;
    }
}

.pastor-avatar {
    display: flex;
    justify-content: center;
    align-items: center;
}

.pastor-img {
    width: 150px;        /* adjust for smaller size */
    height: 150px;
    object-fit: cover;   /* keeps aspect ratio while filling */
    border: 5px solid #f8f9fa; /* white border */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pastor-img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Make navbar smaller on mobile */
@media (max-width: 768px) {
    .navbar {
      padding: 0.25rem 0 !important; /* less vertical padding */
    }
    .navbar-brand {
      font-size: 1rem !important; /* smaller brand text */
      padding: 0.25rem 0;
    }
    .navbar-toggler {
      padding: 0.25rem 0.5rem;
      font-size: 0.9rem;
    }
  }

  .navbar {
    transition: top 0.4s ease-in-out; /* smooth slide */
    height: auto;
  }
  
  .navbar.navbar-hidden {
    top: -100px !important; /* enough to fully hide */
  }

/* Ministry Links Section */
.ministry-links-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 123, 255, 0.1);
}

.ministry-links-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 123, 255, 0.15) !important;
}

.social-media-section .social-link {
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-media-section .social-link:hover {
    transform: scale(1.1);
}

.social-media-section .social-link .rounded-circle {
    transition: all 0.3s ease;
}

.social-media-section .social-link:hover .rounded-circle {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Footer Social Links Enhancement
footer .social-links a {
    transition: all 0.3s ease;
    display: inline-block;
}

footer .social-links a:hover {
    transform: translateY(-3px);
    color: var(--primary-gold) !important;
} */

footer .ministry-links a {
    transition: all 0.3s ease;
}

footer .ministry-links a:hover {
    color: var(--primary-gold) !important;
    transform: translateX(5px);
}