/* ============================================
   FILENAME: styles.css (MOBILE RESPONSIVE)
   PURPOSE: All styling for the church website
   DESCRIPTION: Fixed text overflow and mobile responsiveness
   ============================================ */

/* ============================================
   RESET AND BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* ============================================
   NAVIGATION BAR STYLES
   ============================================ */
nav {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

nav .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex !important;
    justify-content: space-between;
    align-items: center;
}

nav .logo {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: none;
    font-family: 'Georgia', serif;
    letter-spacing: 0.5px;
}

nav .logo img {
    display: none;
}

nav ul,
nav ul#navMenu {
    list-style: none !important;
    display: flex !important;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

nav ul li {
    display: inline-block;
    list-style: none;
}

nav a {
    color: white;
    text-decoration: none;
    transition: all 0.3s;
    white-space: nowrap;
    font-weight: 500;
}

nav a:hover {
    color: #fbbf24;
}

.mobile-menu {
    display: none;
    background: white;
    color: #1e3a8a;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

/* ============================================
   HERO SECTION - Modern Centered Design
   ============================================ */
.hero {
    background: linear-gradient(180deg, #4a90a4 0%, #2563eb 50%, #1e3a8a 100%);
    color: white;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 20;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: -0.5px;
    color: white;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    font-weight: 400;
    opacity: 0.95;
    color: white;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.action-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.95);
    color: #1e3a8a;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.action-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    background: white;
}

.hero-tagline {
    font-size: 1.1rem;
    font-weight: 500;
    color: #fbbf24;
    opacity: 0.9;
    margin-top: 2rem;
    letter-spacing: 1px;
}

.hero img,
.hero .btn {
    display: none;
}

.hero p {
    display: block !important;
}

/* ============================================
   BUTTON STYLES
   ============================================ */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: white;
    color: #1e3a8a;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: transform 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: #1e3a8a;
    color: white;
}

/* ============================================
   CONTAINER
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ============================================
   SECTION STYLES
   ============================================ */
section {
    padding: 4rem 2rem;
}

section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1e3a8a;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* ============================================
   MORNING DEVOTION STYLES
   ============================================ */
#devotion {
    position: relative;
    overflow: hidden;
    color: white;
    background: linear-gradient(rgba(102, 126, 234, 0.85), rgba(118, 75, 162, 0.85)), 
                url('https://images.unsplash.com/photo-1439066615861-d1af74d74000?w=1600&q=80') center/cover;
    background-attachment: fixed;
    padding: 4rem 2rem;
}

#devotion h2 {
    color: white !important;
}

#devotion::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255,255,255,0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(255,255,255,0.06) 0%, transparent 50%);
    animation: waterFlow 15s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

#devotion::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, white, transparent),
        radial-gradient(2px 2px at 60% 70%, white, transparent),
        radial-gradient(1px 1px at 50% 50%, white, transparent),
        radial-gradient(1px 1px at 80% 10%, white, transparent),
        radial-gradient(2px 2px at 90% 60%, white, transparent),
        radial-gradient(1px 1px at 33% 80%, white, transparent),
        radial-gradient(1px 1px at 15% 60%, white, transparent);
    background-size: 200% 200%;
    animation: floatingParticles 20s linear infinite;
    opacity: 0.3;
    pointer-events: none;
    z-index: 0;
}

@keyframes waterFlow {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    25% {
        transform: translate(-5%, 5%) scale(1.1);
        opacity: 0.4;
    }
    50% {
        transform: translate(5%, -5%) scale(1.05);
        opacity: 0.35;
    }
    75% {
        transform: translate(-3%, 3%) scale(1.08);
        opacity: 0.4;
    }
}

@keyframes floatingParticles {
    0% {
        background-position: 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%;
    }
    100% {
        background-position: 100% 100%, -100% 100%, 50% -50%, 100% 50%, -50% -50%, 80% 100%, 20% -100%;
    }
}

#devotion .container {
    position: relative;
    z-index: 10;
}

.devotion-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.devotion-card {
    background: white;
    color: #333;
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.devotion-date {
    text-align: center;
    font-size: 1rem;
    color: #1e3a8a;
    font-weight: bold;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.devotion-verse {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    border-left: 5px solid #1e3a8a;
    word-wrap: break-word;
    overflow-wrap: break-word;
    overflow: hidden;
}

.verse-text {
    font-size: 1.3rem;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 1rem;
    color: #333;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: pre-wrap;
}

.verse-reference {
    text-align: right;
    font-weight: bold;
    color: #1e3a8a;
    font-size: 1.1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.devotion-message h3 {
    color: #1e3a8a;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.devotion-message p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #555;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: pre-wrap;
}

/* ============================================
   DEVOTION ENGAGEMENT (Comments & Likes)
   ============================================ */
.devotion-engagement {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #e0e0e0;
}

.devotion-stats {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.like-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.5rem;
    background: white;
    border: 2px solid #1e3a8a;
    color: #1e3a8a;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 1rem;
}

.like-btn:hover {
    background: #f0f0ff;
    transform: scale(1.05);
}

.like-btn.liked {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    border-color: #e74c3c;
}

.comment-count {
    color: #1e3a8a;
    font-weight: 600;
    font-size: 1rem;
}

.comments-section {
    margin-top: 2rem;
}

.comments-section h4 {
    color: #1e3a8a;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.comment-form {
    background: #f9f9ff;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.comment-form input {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.comment-form textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    margin-bottom: 0.5rem;
    resize: vertical;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: #1e3a8a;
}

.comment-form .btn {
    width: 100%;
    margin-top: 0.5rem;
}

.comments-list {
    margin-top: 2rem;
}

.comment-item {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    border-left: 4px solid #1e3a8a;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.comment-header strong {
    color: #1e3a8a;
    font-size: 1rem;
}

.comment-time {
    color: #999;
    font-size: 0.85rem;
}

.comment-text {
    color: #555;
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: pre-wrap;
}

/* ============================================
   EVENTS GRID
   ============================================ */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.event-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.event-card:hover {
    transform: translateY(-5px);
}

.event-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.event-card-content {
    padding: 1.5rem;
}

.event-card h3 {
    color: #1e3a8a;
    margin-bottom: 0.5rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.event-card p {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.event-date {
    color: #2563eb;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

/* ============================================
   GALLERY GRID
   ============================================ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    aspect-ratio: 1;
}

.gallery-item img, 
.gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-item:hover img, 
.gallery-item:hover video {
    transform: scale(1.1);
}

.gallery-item .play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #1e3a8a;
}

/* ============================================
   PRAYER REQUEST SECTION STYLES
   ============================================ */
#prayers {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 30%);
}

.prayer-submit-card {
    max-width: 800px;
    margin: 0 auto 4rem;
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-top: 4px solid #1e3a8a;
}

.prayer-submit-card h3 {
    color: #1e3a8a;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.prayer-submit-card select {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    background: white;
    cursor: pointer;
}

.prayer-submit-card select:focus {
    outline: none;
    border-color: #1e3a8a;
}

.prayer-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.6rem 1.5rem;
    background: white;
    border: 2px solid #1e3a8a;
    color: #1e3a8a;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.filter-btn:hover {
    background: #f0f0ff;
    transform: translateY(-2px);
}

.filter-btn.active {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    color: white;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.prayer-wall {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.prayer-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s;
    border-left: 5px solid #1e3a8a;
    word-wrap: break-word;
    overflow-wrap: break-word;
    overflow: hidden;
}

.prayer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.prayer-card.answered {
    border-left-color: #27ae60;
    background: linear-gradient(to bottom, #f0fff4 0%, white 100%);
}

.prayer-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.prayer-meta {
    flex: 1;
    min-width: 0;
}

.prayer-author {
    font-weight: bold;
    color: #333;
    font-size: 1rem;
    margin-bottom: 0.3rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.prayer-time {
    color: #999;
    font-size: 0.85rem;
}

.prayer-category {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    color: white;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.prayer-title {
    color: #1e3a8a;
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.4;
}

.prayer-description {
    color: #555;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: pre-wrap;
}

.answered-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    border-radius: 20px;
    font-weight: bold;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.answered-testimony {
    background: #f0fff4;
    padding: 1rem;
    border-radius: 10px;
    border-left: 3px solid #27ae60;
    font-style: italic;
    color: #27ae60;
    margin-bottom: 1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: pre-wrap;
}

.prayer-counter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
    gap: 1rem;
    flex-wrap: wrap;
}

.pray-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.5rem;
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.pray-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.pray-btn:active {
    transform: scale(0.98);
}

.pray-btn.prayed {
    background: #e0e0e0;
    color: #666;
    cursor: default;
}

.pray-btn.prayed:hover {
    transform: none;
    box-shadow: none;
}

.prayer-count {
    color: #1e3a8a;
    font-weight: bold;
    font-size: 1rem;
}

.anonymous-badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    background: #f0f0f0;
    color: #666;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

.mark-answered-btn {
    width: 100%;
    margin-top: 1rem;
    padding: 0.7rem 1.5rem;
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.mark-answered-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.4);
}

.prayer-wall .empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    color: #999;
    font-style: italic;
    font-size: 1.1rem;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.8;
}

.about-content p {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* ============================================
   CONTACT FORM STYLES
   ============================================ */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #1e3a8a;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #1e3a8a;
}

.form-group small {
    display: block;
    margin-top: 0.3rem;
    color: #999;
    font-size: 0.85rem;
}

/* ============================================
   FOOTER STYLES
   ============================================ */
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 2rem;
}

footer p {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* ============================================
   MODAL STYLES
   ============================================ */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
}

.modal-content img,
.modal-content video {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 10px;
}

.close-modal {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 3rem;
    color: white;
    cursor: pointer;
}

/* ============================================
   RESPONSIVE DESIGN - MOBILE
   ============================================ */
@media (max-width: 768px) {
    /* Navigation */
    nav .logo {
        font-size: 1rem;
        max-width: 250px;
    }

    nav ul {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    /* Hero Section - Modern Mobile */
    .hero {
        min-height: 100vh;
        padding: 3rem 1.5rem;
    }

    .hero h1 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .action-buttons {
        flex-direction: column;
        gap: 0.8rem;
        width: 100%;
        max-width: 350px;
        margin: 0 auto 2rem;
    }

    .action-btn {
        width: 100%;
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
    }

    .hero-tagline {
        font-size: 0.95rem;
    }

    .btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }

    .btn-primary {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }

    /* Section Headings */
    section {
        padding: 3rem 1rem;
    }

    section h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    /* Devotion Section */
    .devotion-card {
        padding: 1.5rem;
    }

    .devotion-date {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }

    .devotion-verse {
        padding: 1.5rem;
    }

    .verse-text {
        font-size: 1rem;
        line-height: 1.6;
    }

    .verse-reference {
        font-size: 0.9rem;
    }

    .devotion-message h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .devotion-message p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    /* Comments & Likes - Mobile */
    .devotion-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .like-btn {
        font-size: 0.9rem;
        padding: 0.6rem 1.2rem;
    }

    .comment-count {
        font-size: 0.9rem;
    }

    .comments-section h4 {
        font-size: 1.2rem;
    }

    .comment-form {
        padding: 1rem;
    }

    .comment-form input,
    .comment-form textarea {
        font-size: 0.9rem;
        padding: 0.7rem;
    }

    .comment-item {
        padding: 1rem;
    }

    .comment-header strong {
        font-size: 0.9rem;
    }

    .comment-text {
        font-size: 0.9rem;
    }

    /* Events Grid */
    .events-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .event-card h3 {
        font-size: 1.2rem;
    }

    .event-card p {
        font-size: 0.9rem;
    }

    /* Gallery Grid */
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 0.5rem;
    }

    /* Prayer Wall */
    .prayer-wall {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .prayer-card {
        padding: 1.5rem;
    }

    .prayer-title {
        font-size: 1.1rem;
    }

    .prayer-description {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .prayer-category {
        font-size: 0.7rem;
        padding: 0.25rem 0.6rem;
    }

    .pray-btn {
        font-size: 0.85rem;
        padding: 0.6rem 1.2rem;
    }

    .prayer-count {
        font-size: 0.85rem;
    }

    .pray-btn {
        font-size: 0.8rem;
        padding: 0.6rem 1rem;
    }

    .prayer-count {
        font-size: 0.85rem;
    }

    .mark-answered-btn {
        font-size: 0.8rem;
        padding: 0.6rem 1rem;
    }

    .prayer-filters {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-btn {
        width: 100%;
        font-size: 0.85rem;
        padding: 0.6rem 1.2rem;
    }

    .prayer-submit-card {
        padding: 1.5rem;
    }

    .prayer-submit-card h3 {
        font-size: 1.4rem;
    }

    /* About Section */
    .about-content {
        font-size: 0.95rem;
    }

    /* Contact Form */
    .form-group label {
        font-size: 0.9rem;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 0.9rem;
        padding: 0.7rem;
    }

    /* Footer */
    footer {
        padding: 1.5rem;
        font-size: 0.85rem;
    }

    /* Modal */
    .close-modal {
        font-size: 2rem;
        top: 1rem;
        right: 1rem;
    }

    /* Container */
    .container {
        padding: 0 1rem;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    nav .logo {
        font-size: 0.85rem;
        max-width: 200px;
    }

    .hero {
        min-height: 100vh;
        padding: 2rem 1rem;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .action-btn {
        font-size: 0.85rem;
        padding: 0.8rem 1.2rem;
    }

    .hero-tagline {
        font-size: 0.85rem;
    }

    section h2 {
        font-size: 1.5rem;
    }

    .devotion-card {
        padding: 1rem;
    }

    .verse-text {
        font-size: 0.9rem;
    }

    .devotion-message h3 {
        font-size: 1.1rem;
    }

    .devotion-message p {
        font-size: 0.85rem;
    }

    .prayer-title {
        font-size: 1rem;
    }

    .prayer-description {
        font-size: 0.85rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }

    .btn {
        padding: 0.5rem 0.9rem;
        font-size: 0.75rem;
    }

    .pray-btn {
        font-size: 0.7rem;
        padding: 0.5rem 0.8rem;
    }

    .mark-answered-btn {
        font-size: 0.7rem;
        padding: 0.5rem 0.8rem;
    }

    .filter-btn {
        font-size: 0.75rem;
        padding: 0.5rem 1rem;
    }

    /* Comments - Extra Small */
    .like-btn {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }

    .comment-count {
        font-size: 0.8rem;
    }

    .comments-section h4 {
        font-size: 1.1rem;
    }

    .comment-form input,
    .comment-form textarea {
        font-size: 0.85rem;
    }

    .comment-text {
        font-size: 0.85rem;
    }
}

/* ============================================
   PRAYER TEASER SECTION - Royal Blue Theme
   ============================================ */
.prayer-teaser {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    color: white;
    padding: 5rem 2rem;
    text-align: center;
}

.prayer-teaser h2 {
    color: white !important;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.prayer-teaser p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.btn-prayer {
    background: #fbbf24 !important;
    color: #1e3a8a !important;
    padding: 1.2rem 3rem !important;
    font-size: 1.1rem !important;
    box-shadow: 0 5px 20px rgba(251, 191, 36, 0.3);
}

.btn-prayer:hover {
    background: #f59e0b !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(251, 191, 36, 0.5);
}

/* ============================================
   HERO ANIMATIONS - Modern & Elegant
   ============================================ */

/* Fade in animation for hero content */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

.hero h1 {
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-subtitle {
    animation: fadeInUp 1s ease-out 0.4s both;
}

.action-buttons {
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-tagline {
    animation: fadeInUp 1s ease-out 0.8s both;
}

/* Floating particles background animation */
        radial-gradient(2px 2px at 15% 60%, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(3px 3px at 70% 85%, rgba(251, 191, 36, 0.6), transparent);
    background-size: 200% 200%;
    animation: freedomParticles 4s ease-out 2.5s forwards, floatingFreedom 20s linear 4s infinite;
    opacity: 0;
    pointer-events: none;
    z-index: 2;
}

@keyframes freedomParticles {
    0% {
        opacity: 0;
        background-size: 100% 100%;
    }
    50% {
        opacity: 1;
        background-size: 150% 150%;
    }
    100% {
        opacity: 0.5;
        background-size: 200% 200%;
    }
}

@keyframes floatingFreedom {
    0% {
        background-position: 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%;
    }
    100% {
        background-position: 100% 100%, -100% 100%, 50% -50%, 100% 50%, -50% -50%, 80% 100%, 20% -100%, 60% -80%;
    }
}


/* Button pulse animation */
@keyframes buttonPulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }
    50% {
        box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
    }
}

.action-btn {
    animation: buttonPulse 3s ease-in-out infinite;
}

.action-btn:hover {
    animation: none;
}

/* Tagline glow animation */
@keyframes goldGlow {
    0%, 100% {
        text-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
    }
    50% {
        text-shadow: 0 0 20px rgba(251, 191, 36, 0.8), 0 0 30px rgba(251, 191, 36, 0.4);
    }
}

.hero-tagline {
    animation: fadeInUp 1s ease-out 0.8s both, goldGlow 4s ease-in-out infinite;
}

/* ============================================
   CONTINUOUS HERO ANIMATIONS
   ============================================ */


}


/* Working Raindrop Animation - Multiple Layers */
.raindrop-layer-1,
.raindrop-layer-2,
.raindrop-layer-3 {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 3;
}

.raindrop-layer-1::before,
.raindrop-layer-1::after,
.raindrop-layer-2::before,
.raindrop-layer-2::after,
.raindrop-layer-3::before,
.raindrop-layer-3::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, transparent 100%);
    border-radius: 50%;
    animation: raindropFall 4s linear infinite;
}

/* Raindrop Layer 1 - Left Side */
.raindrop-layer-1::before {
    left: 15%;
    animation-delay: 0s;
}

.raindrop-layer-1::after {
    left: 28%;
    animation-delay: 0.5s;
}

/* Raindrop Layer 2 - Center */
.raindrop-layer-2::before {
    left: 45%;
    animation-delay: 1s;
}

.raindrop-layer-2::after {
    left: 58%;
    animation-delay: 1.5s;
}

/* Raindrop Layer 3 - Right Side */
.raindrop-layer-3::before {
    left: 72%;
    animation-delay: 2s;
}

.raindrop-layer-3::after {
    left: 85%;
    animation-delay: 2.5s;
}

@keyframes raindropFall {
    0% {
        top: -10%;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        top: 110%;
        opacity: 0;
    }
}

/* Lightning Strike 1 - Top Left Corner */
.lightning-1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 40%;
    height: 50%;
    background: radial-gradient(ellipse at 30% 20%, 
                rgba(251, 191, 36, 0.5) 0%, 
                transparent 60%);
    animation: flash1 7s ease-in-out infinite;
    pointer-events: none;
    z-index: 4;
    opacity: 0;
}

@keyframes flash1 {
    0%, 100% { opacity: 0; }
    10% { opacity: 1; }
    10.2% { opacity: 0; }
    10.5% { opacity: 0.7; }
    11% { opacity: 0; }
}

/* Lightning Strike 2 - Top Right Corner */
.lightning-2 {
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 50%;
    background: radial-gradient(ellipse at 70% 25%, 
                rgba(251, 191, 36, 0.6) 0%, 
                transparent 65%);
    animation: flash2 8s ease-in-out 2s infinite;
    pointer-events: none;
    z-index: 4;
    opacity: 0;
}

@keyframes flash2 {
    0%, 100% { opacity: 0; }
    12% { opacity: 1; }
    12.3% { opacity: 0; }
    12.7% { opacity: 0.8; }
    13% { opacity: 0; }
}

/* Lightning Strike 3 - Top Center */
.lightning-3 {
    position: absolute;
    top: 0;
    left: 25%;
    width: 50%;
    height: 60%;
    background: radial-gradient(ellipse at 50% 15%, 
                rgba(251, 191, 36, 0.55) 0%, 
                transparent 70%);
    animation: flash3 9s ease-in-out 4s infinite;
    pointer-events: none;
    z-index: 4;
    opacity: 0;
}

@keyframes flash3 {
    0%, 100% { opacity: 0; }
    11% { opacity: 1; }
    11.2% { opacity: 0; }
    11.5% { opacity: 1; }
    11.7% { opacity: 0; }
    12% { opacity: 0.9; }
    12.5% { opacity: 0; }
}

/* Lightning Strike 4 - Diagonal from Left */
.lightning-4 {
    position: absolute;
    top: 10%;
    left: 0;
    width: 50%;
    height: 40%;
    background: linear-gradient(135deg, 
                rgba(251, 191, 36, 0.4) 0%, 
                transparent 50%);
    animation: flash4 10s ease-in-out 5.5s infinite;
    pointer-events: none;
    z-index: 4;
    opacity: 0;
}

@keyframes flash4 {
    0%, 100% { opacity: 0; }
    10% { opacity: 1; }
    10.4% { opacity: 0; }
    11% { opacity: 0.6; }
    11.5% { opacity: 0; }
}


/* ============================================
   FOOTER SOCIAL MEDIA ICONS - HIGH VISIBILITY
   ============================================ */
.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer-social {
    margin-bottom: 2rem;
}

.footer-social p {
    color: white;
    font-size: 1.1rem;
}

.social-icons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    color: #333;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.social-icons a:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Individual platform colors on hover */
.social-icons a:nth-child(1):hover {
    background: #ff0000;
    color: white;
}

.social-icons a:nth-child(2):hover {
    background: #1877f2;
    color: white;
}

.social-icons a:nth-child(3):hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.social-icons a:nth-child(4):hover {
    background: #000000;
    color: white;
}

.social-icons svg {
    width: 28px;
    height: 28px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .social-icons {
        gap: 1rem;
    }
    
    .social-icons a {
        width: 45px;
        height: 45px;
    }
    
    .social-icons svg {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 480px) {
    .social-icons a {
        width: 40px;
        height: 40px;
    }
    
    .social-icons svg {
        width: 20px;
        height: 20px;
    }
}